PyPI Stats
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About
Home

Mocking Python Packages

Python packages with the GitHub topic mocking. Sorted by relevance, with stars and monthly downloads.
pnuckowski
aioresponses

Aioresponses is a helper for mock/fake web requests in python aiohttp package.

12.9M 549 93
kevin1024
vcrpy

Automatically mock your HTTP interactions to simplify and speed up testing

11M 3K 425
mongomock
mongomock

Small library for mocking pymongo collection objects for testing purposes

6.7M 1K 356
pytest-dev
pyfakefs

Provides a fake file system that mocks the Python file system modules.

6.7M 742 98
gabrielfalcao
httpretty

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

1.5M 2K 279
stphivos
django-mock-queries

A library for mocking django queryset functions in memory for testing

218K 324 56
h2non
pook

HTTP traffic mocking and testing made easy in Python

170K 372 48
rajivsarvepalli
mock-alchemy

SQLAlchemy mock helpers.

169K 80 11
Xion
callee

Argument matchers for unittest.mock

150K 90 11
flexmock
flexmock

Mock/stub/spy library for Python

136K 65 17
mindflayer
mocket

a socket mock framework - for all kinds of socket animals, web-clients included

104K 308 50
matthewdeanmartin
openmock

Python Opensearch Mock for test purposes (fork of elasticmock)

59K 20 18
mdomke
pytest-mongodb

pytest plugin for mocking MongoDB with fixtures

48K 66 20
kajaste
pychoir

A Simple Unit Test Matcher Library for Python 3.6+

34K 22 2
davidlatwe
montydb

Monty, Mongo tinified. MongoDB implemented in Python !

34K 617 36
zhukovgreen
pytest-when

Pytest plugin for more readable mocking

18K 25 2
eerimoq
nala

🦁 Nala - A delightful test framework for C projects.

17K 69 6
gurmeetsaran
mocksmith

Type-safe data validation and mocking for Python dataclasses and Pydantic models

6K 6 3
dmayo3
mocksafe

Type-safe mocking for Python.

5K 13 2
leynos
cmd-mox

Python-native command mocking

5K 0 0
axiomantic
bigfoot

Pytest plugin for full-certainty test mocking. Every recorded interaction must be explicitly asserted.

5K 0 0
ollipa
chainmock

Mocking library for Python

5K 11 0
bskinn
stdio-mgr

Context manager for mocking/wrapping stdin/stdout/stderr

3K 14 4
idlesign
pytest-responsemock

Simplified requests calls mocking for pytest

3K 27 1
    • Data from PyPI, GitHub, ClickHouse, and BigQuery