Timerit

Latest version: v1.1.0

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.1.0

Added
* added `Timerit.reset`

0.0.2

Added
* Added unit keyword arg to Timerit. This forces a Timerit objects to report
time per loop in a particular unit. The default of None chooses a unit.
* The timer returned by Timerit.__iter__ now contains an attribute
called `parent` that references the original timer object.
* Renamed global private attribute `default_timer` to `default_time`
* Timer now uses a `self._time` instead of globally calling `default_time`.
This is mainly to make testing easier.
* Timerit now uses `self._timer_cls` instead of `Timer` for internal timers,
again mainly for testing reasons.
* Add internals to force ascii chars for tests

0.0.1

Added
* Initial port from ubelt

Page 2 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.