Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Mock Server Python Packages

Python packages with the GitHub topic mock-server. Sorted by monthly downloads, with stars and forks.
geigerzaehler
oidc-provider-mock

A mock OpenID Provider server to test and develop OpenID Connect authentication

150K 46 15
mock-server
mockserver-client

MockServer is an HTTP(S) mock server and proxy for testing that lets you mock APIs, inspect and modify live traffic, and inject failures. It supports HTTP/1.1, HTTP/2, gRPC, WebSockets, TCP and more on a single port, with additional support for HTTP/3, message brokers, and AI/LLM APIs.

23K 5K 1K
AndreyErmilov
pytest-mock-server

Mock server plugin for pytest

11K 27 4
shibbirweb
sendmock-testcontainers

Catch the email, SMS, push notifications, payments and webhooks your app sends while you develop and test, in a web UI on your machine.

9K 2 0
mock-server
testcontainers-mockserver

MockServer is an HTTP(S) mock server and proxy for testing that lets you mock APIs, inspect and modify live traffic, and inject failures. It supports HTTP/1.1, HTTP/2, gRPC, WebSockets, TCP and more on a single port, with additional support for HTTP/3, message brokers, and AI/LLM APIs.

6K 5K 1K
cdelmonte-zg
nanoidp

A test identity provider: real OAuth2/OIDC and SAML 2.0 for development and testing, with a web UI and an MCP server. Not for production.

5K 24 6
alexdlaird
hookee

Command line webhooks, on demand: see, answer, forward, and capture requests from your terminal

3K 10 1
lorien
test-server

Server to test HTTP clients

3K 3 3
andy-takker
asyncly

Typed aiohttp HTTP clients + pytest fixtures for realistic mock servers

3K 6 2
edu2105
imnot

Stateful API mock server for testing. YAML in --> mock server out.

2K 3 2
rapi-doc
rapidoc

RapiDoc: open-source tools for OpenAPI and Arazzo: the <rapi-doc> web component for interactive API references, a docs-as-code developer portal, a mock server, Arazzo workflows, PDFs and MCP

2K 2K 323
brekkylab
backlot

A local emulator for enterprise SaaS APIs — Slack, Gmail, Google Drive, GitHub, Jira, Notion, S3 and more — with the real response shapes, pagination, auth and per-document ACLs, over a corpus you supply.

2K 226 107
Gr1N
pytest-mockservers

A set of fixtures to test your requests to HTTP/UDP servers

2K 6 2
rseufert
mock-sap

A black-box mock SAP endpoint: OData V2, BAPI/RFC and IDoc shapes over SQLite, with zero dependencies.

2K 1 1
mimickerhq
mimicker

Your lightweight, Python-native HTTP mocking server

1K 15 4
JulienRabault
llmock

Local mock server for testing LLM retries, fallbacks, and provider failure handling without spending tokens.

798 1 1
dever-labs
mockly-driver

Python client for Mockly — start/stop servers and manage HTTP mocks in tests

782 2 0
leelaprasadv
robotframework-fasthttpmock

Robot Framework test library for mocking HTTP services

680 0 0
up9inc
mockintosh

The API mocking server for microservice environments

672 177 21
qisback
fakepve

A lightweight fake of the Proxmox VE API for testing Proxmox clients: every endpoint, real errors, fault injection.

530 1 0
dever-labs
mockly-testcontainers

Testcontainers module for Mockly — run Mockly as a Docker container in tests

509 2 0
truewire-dev
truewire

Typed clients, true to the wire: spec checks, an example-replaying HTTP+WebSocket mock server, and a Python client generator for any API.

493 0 0
1dg618
fakellm-recorder

A recording proxy that turns real LLM API traffic into fakellm test rules.

439 1 0
3735943886
tuyamock

Protocol-faithful mock of a Tuya local-protocol device, built on tinytuya primitives

438 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology