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

107K 45 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.

12K 5K 1K
rseufert
mock-sap

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

12K 1 2
AndreyErmilov
pytest-mock-server

Mock server plugin for pytest

10K 27 4
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.

6K 24 5
Gr1N
pytest-mockservers

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

4K 6 2
andy-takker
asyncly

Typed aiohttp HTTP clients + pytest fixtures for realistic mock servers

3K 6 2
lorien
test-server

Server to test HTTP clients

2K 3 3
truewire-dev
truewire

Typed clients, true to the wire. Generate typed, validated API clients (REST and WebSocket) from recorded wire examples. Python now, TypeScript next

2K 0 0
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 288 41
JulienRabault
llmock

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

1K 0 1
mimickerhq
mimicker

Your lightweight, Python-native HTTP mocking server

1K 15 4
dever-labs
mockly-driver

Cross-platform, multi-protocol mock server — HTTP, WebSocket, gRPC, GraphQL, TCP, Redis, SMTP, MQTT, NATS, SNMP, DNS, AMQP, Kafka, LDAP, IMAP, FTP, Memcached, STOMP, CoAP, and SIP — with a web UI, REST API, scenario system, and fault injection.

1K 2 0
truewire-dev
truewire-core

Typed clients, true to the wire. Generate typed, validated API clients (REST and WebSocket) from recorded wire examples. Python now, TypeScript next

1K 0 0
ivi-ru
proxy-mock

HTTP mock and proxy server for integration tests: mocks, response sequences, record/replay and traffic capture

1K 2 1
dever-labs
mockly-testcontainers

Cross-platform, multi-protocol mock server — HTTP, WebSocket, gRPC, GraphQL, TCP, Redis, SMTP, MQTT, NATS, SNMP, DNS, AMQP, Kafka, LDAP, IMAP, FTP, Memcached, STOMP, CoAP, and SIP — with a web UI, REST API, scenario system, and fault injection.

1K 2 0
KaRamHelal
sekmet-fhir

Micro hospital information system (HIS) for testing HIS/EHR/LIS FHIR R4 integrations end to end: ADT, orders & results, scheduling, pharmacy, billing workflows; lab/RIS/payer simulator; Subscriptions, Bulk Data, SMART, TestScript and load testing.

778 0 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.

730 5K 1K
edu2105
imnot

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

565 3 2
krylosov-aa
async-pytest-httpserver

Async mock HTTP server for pytest, built on top of aiohttp.

386 11 0
up9inc
mockintosh

Mocks for microservice environments

376 178 21
leelaprasadv
robotframework-fasthttpmock

Robot Framework test library for mocking HTTP services

301 0 0
Chisanan232
fake-api-server

🕸🤖👺 A Python tool to fake API server easily and humanly.

280 2 0
thomasjiangcy
django-rest-mock

Mock Express server generated based on your views, that can come in handy when developing REST APIs with Django

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