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
Metadata
Release files for mimicker 2.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mimicker-2.2.3.tar.gz | 18.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mimicker-2.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.0 kB
Release files / mimicker-2.2.3.tar.gz
| Download URL | mimicker-2.2.3.tar.gz |
|---|---|
| Size | 18.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0bbf77bd48596fb2736fc9947caf52002cabfd8800b83fc147e3d5a9da6820da
|
|
BLAKE2b-256 checksum How to use checksums |
8cfb152616826b0820d842bd5a7ca715777ce3c851426e580daf7fac6e7aceec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / mimicker-2.2.3-py3-none-any.whl
| Download URL | mimicker-2.2.3-py3-none-any.whl |
|---|---|
| Size | 22.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76b7b56d28d99b82b85412ca7dfff72b461b8194b653d5d952b266f45ddf2b14
|
|
BLAKE2b-256 checksum How to use checksums |
52eb369b3415bc87b8d1b0c39c18eb0e0f1c3f00ee72efda6ab5813f4d6464f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|