Comparison
freezegun vs libfaketime
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Let your Python tests travel through time
Low maintenance activity. Last release 16 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install freezegunA fast alternative to freezegun that wraps libfaketime.
Maintained. Last release 3 months ago. Weaker on release cadence.
$
pip install libfaketimeIn short
- freezegun is the most used: 40.5M downloads a month, 486× more than libfaketime.
- libfaketime is better maintained: Pythie’s Index 64 against 23.
- libfaketime is growing fastest: downloads +90% over the last month.
Side by side
| Metric | freezegun | libfaketime |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 23 | 64 |