freezegun VS responses

Compare freezegun vs responses and see what are their differences.

freezegun

Let your Python tests travel through time (by spulec)

responses

A utility for mocking out the Python Requests library. (by getsentry)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
freezegun responses
9 12
3,970 4,042
- 0.6%
6.7 8.0
5 days ago 2 months ago
Python Python
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

freezegun

Posts with mentions or reviews of freezegun. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-19.

responses

Posts with mentions or reviews of responses. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-16.

What are some alternatives?

When comparing freezegun and responses you can also consider the following projects:

time-machine - Travel through time in your tests.

httpretty - Intercept HTTP requests at the Python socket level. Fakes the whole socket module

python-libfaketime - A fast time mocking alternative to freezegun that wraps libfaketime.

VCR.py - Automatically mock your HTTP interactions to simplify and speed up testing

Moto - A library that allows you to easily mock out tests based on AWS infrastructure.

httmock - A mocking library for requests

Selenium Wire - Extends Selenium's Python bindings to give you the ability to inspect requests made by the browser.

pytest-recording - A pytest plugin that allows recording network interactions via VCR.py

mock - The Python mock library