Skip to content

mimickerhq/mimicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Mimicker logo

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

mimicker demo

Mimicker Tests PyPI Version Downloads Last Commit 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