Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Echod is a mock server and a callback recorder.

Project Description

Echod is a fully configurable mock server and an HTTP callback recorder. It is perfect to test external services.

It is easy to controlling Echod on the fly from your code or using your testing framework setup mechanism.

The main part of Echod is an HTTP server with an REST API, the Echo HTTP server have a lot of flexibility and support many start up methods.

Echod server can be run as:

  • A standalone using echod command line tool.
  • A WSGI HTTP Server application.
  • A Docker instance container.


import echod

mock_response = {
    'status_code': 200,
    'body': {...},

request_contain = {
    'body': {...}

expectation = {
    'method': 'POST',
    'path': '/v1/users/',
    'request': request_contain,
    'response': mock_response,

with echod.mock(**expectation) as client:
    response =
    response.status_code == 200


import requests

with echod.callback() as webhook:
    settings.callback_url = webhook.url
    webhook.wait_callback(timeout=10) == {...}
Release History

Release History

This version
History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
echod-0.1.0-py3-none-any.whl (7.6 kB) Copy SHA256 Checksum SHA256 py3 Wheel Aug 21, 2015
echod-0.1.0.tar.gz (5.4 kB) Copy SHA256 Checksum SHA256 Source Aug 21, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting