time-machine
JSON →time-machine is a Python library that enables 'time travel' in your tests by mocking Python's standard library functions that return the current date or datetime. It achieves this efficiently using C extensions, providing a fast and robust solution for time-dependent testing. The library is actively maintained, with version 3.2.0 released in December 2025.
Traffic · last 30 days
total hits 13
actors 4 distinct systems
last hit 5d ago AhrefsBot
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany · 🇧🇷 Brazil
Resources
API endpoints
full doc /v1/registry/time-machine
compatibility /v1/registry/time-machine/compatibility