Skip to main content

Mimicker logo

Mimicker – Your lightweight, Python-native HTTP mocking server.

Mimicker Tests PyPI Version Downloads Last Commit Codecov Coverage License Poetry


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

Community

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mimicker-2.2.3.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mimicker-2.2.3-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

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

Hashes for mimicker-2.2.3.tar.gz
Algorithm Hash digest
SHA256 0bbf77bd48596fb2736fc9947caf52002cabfd8800b83fc147e3d5a9da6820da
MD5 df7b3fece4aa3df09adcacc46ebe7bf2
BLAKE2b-256 8cfb152616826b0820d842bd5a7ca715777ce3c851426e580daf7fac6e7aceec

See more details on using hashes here.

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

Hashes for mimicker-2.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 76b7b56d28d99b82b85412ca7dfff72b461b8194b653d5d952b266f45ddf2b14
MD5 9174147e2135772eaf028099b1c5e22e
BLAKE2b-256 52eb369b3415bc87b8d1b0c39c18eb0e0f1c3f00ee72efda6ab5813f4d6464f6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.2.3 This release

2 files

2.1.3

2 files

2.1.2

2 files

2.1.1

2 files

2.1.0

2 files

2.0.3

2 files

2.0.2

2 files

2.0.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page