  Multiplicity-dependent measurements of identified particle production led to
the discovery of collective-like behavior in pp collisions at the LHC. Better
understanding of the effects attributed to well-understood physics, like
multiple hard scatterings, is required to establish whether this behaviour is
truly collective in origin. Experimentally, those effects can be controlled
using event shapes, like transverse spherocity, which allows the classification
of pp collisions either as jetty or isotropic events. The transverse momentum
($p_{\rm T}$) spectra of light-flavor hadrons in pp collisions measured over a
broad range provide important input to study particle production mechanisms in
the soft and hard scattering regimes of the QCD. In this work, they are used to
perform a comprehensive study as a function of the event multiplicity,
collision energy, and event shapes. The proton-to-pion and kaon-to-pion
particle ratios as a function of $p_{\rm T}$ are also reported and the results
compared to QCD-inspired models.
