FreezeGun
Python library that mocks the datetime module so tests can run as if at a chosen point in time.
FreezeGun is a Python library that mocks the datetime module, so that tests can run as if at a chosen point in time. It is a testing library, and its maintainer is Steve Pulec, who has published it on PyPI since 2012.
Worth knowing
The project has no website of its own. Its documentation is the README in the repository, and the PyPI documentation link points to the same file.
Sources
- 2026-11-08: links, Written in, GitHub stars
api.github.com/repos/spulec/freezegun - 2026-11-08: links, Categories
github.com/spulec/freezegun/blob/master/README.rst - 2026-11-08: Maintainer, First release, License
pypi.org/pypi/freezegun/json - 2026-11-08: Runtime, Minimum runtime
github.com/spulec/freezegun/blob/1.5.5/setup.cfg - 2026-11-08: Current major version, Last release
api.github.com/repos/spulec/freezegun/releases - 2026-11-08: Contributors
api.github.com/repos/spulec/freezegun/contributors - 2026-11-08: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/pypi.org/packages/freezegun