A simple library for scheduling periodic tasks using decorators. Current version: 1.0.2. Low release cadence; last update in 2021.
pip install timeloopNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: create a Timeloop instance, decorate a function with @tl.job, and start the loop.
Use tl.start(block=False) and keep the main thread alive manually, or run in a separate thread.
Consider alternatives like `schedule`, `apscheduler`, or use a fork with fixes.
Wrap job body in try/except or use a custom error handler via `tl._handle_exception`.
Use `from timeloop import Timeloop`.
Instantiate with `tl = Timeloop()`.
No dependency data recorded yet.