Comparison
libfaketime vs time-machine
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A fast alternative to freezegun that wraps libfaketime.
Maintained. Last release 3 months ago. Weaker on release cadence.
$
pip install libfaketimeTravel through time in your tests.
Actively maintained. Last release 5 weeks ago, commits in 14 of the last 26 weeks. A safe choice.
$
pip install time-machineIn short
- time-machine is the most used: 22.6M downloads a month, 271× more than libfaketime.
- time-machine also has the best Pythie’s Index (84).
- libfaketime is growing fastest: downloads +90% over the last month.
- Safe default for a new project: time-machine.
Side by side
| Metric | libfaketime | time-machine |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 64 | 84 |