Changelog
Release 3.1
Added
py.typed
file to mark full type checking compliance.Created manually triggered release pipeline to Test PyPi.
Release 3.0
Implemented support for async context manage usage using
contextvars.ContextVar
.Context manager now returns
pytimers.clock.Clock
to exposepytimers.clock.Clock.duration()
andpytimers.clock.Clock.current_duration()
.Logging moved outside of the
pytimers.Timer
class and implemented as a separate trigger.Deprecating
pytimers.Timer.named()
forpytimers.Timer.label()
.Sphinx documentation added.