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.
kevin1024
vcrpy

Automatically mock your HTTP interactions to simplify and speed up testing

18.1M 3K 427
pnuckowski
aioresponses

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

13.1M 556 101
mongomock
mongomock

Small library for mocking pymongo collection objects for testing purposes

8.6M 1K 358
pytest-dev
pyfakefs

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

4.6M 747 100
gabrielfalcao
httpretty

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

1.8M 2K 279
h2non
pook

HTTP traffic mocking and testing made easy in Python

261K 373 49
mindflayer
mocket

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

227K 309 51
stphivos
django-mock-queries

A library for mocking django queryset functions in memory for testing

192K 324 56
Xion
callee

Argument matchers for unittest.mock

167K 90 12
rajivsarvepalli
mock-alchemy

SQLAlchemy mock helpers.

130K 80 11
flexmock
flexmock

Mock/stub/spy library for Python

129K 65 17
matthewdeanmartin
openmock

Python Opensearch Mock for test purposes (fork of elasticmock)

70K 20 18
mdomke
pytest-mongodb

pytest plugin for mocking MongoDB with fixtures

44K 66 19
kajaste
pychoir

A Simple Unit Test Matcher Library for Python 3.6+

30K 22 2
davidlatwe
montydb

Monty, Mongo tinified. MongoDB implemented in Python !

28K 618 37
ivancrneto
pymox

Pymox - Python mocking on steroids

16K 14 6
zhukovgreen
pytest-when

Pytest plugin for more readable mocking

14K 25 2
eerimoq
nala

🦁 Nala - A delightful test framework for C projects.

7K 69 6
dmayo3
mocksafe

Type-safe mocking for Python.

6K 13 2
gurmeetsaran
mocksmith

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

5K 6 3
ollipa
chainmock

Mocking library for Python

4K 11 0
mimickerhq
mimicker

Your lightweight, Python-native HTTP mocking server

2K 14 4
leynos
cmd-mox

Python-native command mocking

2K 0 0
beyhangl
evalcraft

Generate deterministic pytest tests for your AI agents from one real run, then replay them in CI for $0. Fast, flake-free agent testing.

2K 4 2
    • Data from PyPI, GitHub, ClickHouse, and BigQuery