10

8

6

4

2


8.5

9.5

7.3

6.6

7.0

4.5

6.4

5.4

6.3

6.8

3.8

3.1

14 Mock packages and projects

  • Moto

    8.5 9.5 Python
    A library that allows you to easily mock out tests based on AWS infrastructure.
  • responses

    7.3 6.6 L4 Python
    A utility library for mocking out the requests Python library.
  • Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
    Sponsored scoutapm.com
  • freezegun

    7.0 4.5 L4 Python
    Travel through time by mocking the datetime module.
  • VCR.py

    6.4 5.4 L4 Python
    Record and replay HTTP interactions on your tests.
  • httpretty

    6.3 6.8 L4 Python
    HTTP request mock tool for Python.
  • mock

    3.8 3.1 L2 Python
    (Python standard library) A mocking and patching library.
  • betamax

    3.5 0.0 Python
    A VCR imitation designed only for python-requests.
  • httmock

    3.3 2.6 L4 Python
    A mocking library for requests for Python 2.6+ and 3.2+.
  • Mocket

    2.7 6.0 Python
    Socket Mock Framework plus HTTP[S]/asyncio/gevent mocking library with recording/replaying capability.
  • time-machine

    2.0 8.1 Python
    Travel through time in your tests.
  • python-libfaketime

    1.5 0.9 Python
    A fast time mocking alternative to freezegun that wraps libfaketime.
  • doublex

    0.9 -
    Powerful test doubles framework for Python.
  • Mock Generator

    0.8 1.4 Python
    A tool to auto generate the basic mocks and asserts for faster unit testing
  • pymox

    0.7 0.0 Python
    Pymox is an open source mock object framework for Python, fork of Google Mox.

Add another 'Mock' Package