freezegun

JSON →
library 1.5.5 ·python
verified Jun 9, 2026 install

freezegun is a Python library (currently at version 1.5.5) that enables your tests to 'travel through time' by mocking the `datetime`, `date`, `time`, and `pendulum` modules. It simplifies testing time-sensitive code by allowing developers to freeze the current time or simulate its passage, ensuring deterministic and reliable test execution. The project maintains a regular release cadence, with frequent patch and minor updates.

total hits 17
actors 5 distinct systems
last hit 1h ago ClaudeBot
GPTBot
4
MetaBot
4
Script
2
ClaudeBot
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇬🇧 United Kingdom · 🇫🇷 France