A lightweight HTTP mocking server for Python
Project description
Mimicker – Your lightweight, Python-native HTTP mocking server.
Mimicker is a Python-native HTTP mocking server — no third-party runtime dependencies, ideal for integration tests and CI.
Quick example
from mimicker.mimicker import mimicker, get
mimicker(8080).routes(
get("/hello").status(200).body({"message": "Hello, World!"})
)
Or use a YAML config file — no Python needed:
routes:
- method: GET
path: /hello
status: 200
body:
message: Hello, World!
mimicker serve --config stubs.yaml
Install
pip install mimicker
Documentation
Full docs at mimickerhq.github.io/mimicker
- Quickstart
- Stubbing Guide — YAML, Python, and CLI side-by-side
- Path & Query Params
- Dynamic Responses
- Docker
- GitHub Actions
- CLI Reference
- Python API
Community
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mimicker-2.2.3.tar.gz.
File metadata
- Download URL: mimicker-2.2.3.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bbf77bd48596fb2736fc9947caf52002cabfd8800b83fc147e3d5a9da6820da
|
|
| MD5 |
df7b3fece4aa3df09adcacc46ebe7bf2
|
|
| BLAKE2b-256 |
8cfb152616826b0820d842bd5a7ca715777ce3c851426e580daf7fac6e7aceec
|
File details
Details for the file mimicker-2.2.3-py3-none-any.whl.
File metadata
- Download URL: mimicker-2.2.3-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76b7b56d28d99b82b85412ca7dfff72b461b8194b653d5d952b266f45ddf2b14
|
|
| MD5 |
9174147e2135772eaf028099b1c5e22e
|
|
| BLAKE2b-256 |
52eb369b3415bc87b8d1b0c39c18eb0e0f1c3f00ee72efda6ab5813f4d6464f6
|