Preparing for system design interviews?  Try bugzed.com →

time-machine

JSON →
library 3.2.0 ·python
verified Jun 28, 2026 install

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.

total hits 12
actors 3 distinct systems
last hit 8d ago AhrefsBot
ClaudeBot
5
GPTBot
4

top countries 🇺🇸 United States · 🇨🇦 Canada