4 .. image:: https://img.shields.io/pypi/v/bluepill.svg?maxAge=2592000
5 :target: https://pypi.python.org/pypi/bluepill
7 .. image:: https://img.shields.io/travis/SShrike/bluepill.svg?maxAge=2592000
8 :target: https://travis-ci.org/SShrike/bluepill
10 .. image:: https://img.shields.io/codecov/c/github/SShrike/bluepill.svg?maxAge=2592000
11 :target: https://codecov.io/gh/SShrike/bluepill
13 BluePill is a mock server intended for testing `Matrix <https://matrix.org>`__
16 Python 2.7+ and 3.4+ are supported.
31 git clone https://github.com/SShrike/bluepill.git
38 Either run the executable from the command line or use the Python API:
42 from bluepill.server import BackgroundServer
44 server = BackgroundServer()
45 server.start() # Starts the server in a background process.
46 server.stop() # Stops the server.