PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

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.

13.4M 549 94
kevin1024
vcrpy

Automatically mock your HTTP interactions to simplify and speed up testing

12M 3K 424
mongomock
mongomock

Small library for mocking pymongo collection objects for testing purposes

7.7M 1K 358
pytest-dev
pyfakefs

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

6.2M 743 98
gabrielfalcao
httpretty

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

1.6M 2K 279
stphivos
django-mock-queries

A library for mocking django queryset functions in memory for testing

200K 324 56
rajivsarvepalli
mock-alchemy

SQLAlchemy mock helpers.

175K 80 11
h2non
pook

HTTP traffic mocking and testing made easy in Python

160K 373 49
Xion
callee

Argument matchers for unittest.mock

159K 90 11
flexmock
flexmock

Mock/stub/spy library for Python

123K 65 17
mindflayer
mocket

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

113K 308 51
matthewdeanmartin
openmock

Python Opensearch Mock for test purposes (fork of elasticmock)

63K 20 18
mdomke
pytest-mongodb

pytest plugin for mocking MongoDB with fixtures

44K 66 20
kajaste
pychoir

A Simple Unit Test Matcher Library for Python 3.6+

33K 22 2
davidlatwe
montydb

Monty, Mongo tinified. MongoDB implemented in Python !

22K 617 37
zhukovgreen
pytest-when

Pytest plugin for more readable mocking

18K 25 2
eerimoq
nala

🦁 Nala - A delightful test framework for C projects.

16K 69 6
gurmeetsaran
mocksmith

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

9K 6 3
dmayo3
mocksafe

Type-safe mocking for Python.

4K 13 2
ollipa
chainmock

Mocking library for Python

4K 11 0
leynos
cmd-mox

Python-native command mocking

3K 0 0
idlesign
pytest-responsemock

Simplified requests calls mocking for pytest

3K 27 1
axiomantic
bigfoot

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

3K 0 0
axiomantic
pytest-tripwire

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

3K 0 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery