# FreezeGun

Python library that mocks the datetime module so tests can run as if at a chosen point in time.


Source: https://findsoftware.frbit.cloud/freezegun/
Last reviewed: 2026-11-08
Listed since: 2026-11-08

## Record

### Links

- repository: https://github.com/spulec/freezegun
- docs: https://github.com/spulec/freezegun/blob/master/README.rst

### Identity

- status: active
- maintainer: Steve Pulec
- maintainerType: individual
- parent: unknown
- firstRelease: 2012
- hqCountry: unknown

### Kind

- category: testing
- hosting: not applicable
- language: python
- runtime: python
- runtimeMin: python 3.8
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: unknown
- renderingModes: not applicable
- installMethod: unknown

### License

- licenseModel: open-source
- license: Apache-2.0

### Releases

- currentMajor: 1
- latestReleaseDate: 2025-08-09

### Adoption

- githubStargazers: 4534
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 107
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 8345
- dependentPackages: 398

### Sources

- urls: https://api.github.com/repos/spulec/freezegun (read 2026-11-08)
- urls: https://github.com/spulec/freezegun/blob/master/README.rst (read 2026-11-08)
- maintainer: https://pypi.org/pypi/freezegun/json (read 2026-11-08)
- firstRelease: https://pypi.org/pypi/freezegun/json (read 2026-11-08)
- category: https://github.com/spulec/freezegun/blob/master/README.rst (read 2026-11-08)
- language: https://api.github.com/repos/spulec/freezegun (read 2026-11-08)
- runtime: https://github.com/spulec/freezegun/blob/1.5.5/setup.cfg (read 2026-11-08)
- runtimeMin: https://github.com/spulec/freezegun/blob/1.5.5/setup.cfg (read 2026-11-08)
- license: https://pypi.org/pypi/freezegun/json (read 2026-11-08)
- currentMajor: https://api.github.com/repos/spulec/freezegun/releases (read 2026-11-08)
- latestReleaseDate: https://api.github.com/repos/spulec/freezegun/releases (read 2026-11-08)
- githubStargazers: https://api.github.com/repos/spulec/freezegun (read 2026-11-08)
- contributors: https://api.github.com/repos/spulec/freezegun/contributors (read 2026-11-08)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/freezegun (read 2026-11-08)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/freezegun (read 2026-11-08)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
