Fake MESH
A lightweight implementation of NHS Digital's MESH API, for testing purposes.
Installing
pip install fake_mesh
Usage
Start a server with:
python -m fake_mesh.server
This will start a fake MESH instance on port 8829, using the client, server and
CA certificates that are in this repo. If you need to use the Java MESH client,
there is also an example keystore and config (mockMesh.jks and
meshclient.cfg) in the repo.
You can see the options available:
$ python -m fake_mesh.server -h
usage: server.py [-h] [--dir DIR] [--ca-cert CA_CERT] [--cert CERT]
[--key KEY] [-p PORT] [-i HOST] [-d] [--no-log]
[--log-file [LOG_FILE]]
Run a fake MESH server
optional arguments:
-h, --help show this help message and exit
--dir DIR Where to store the application data
--ca-cert CA_CERT CA certificate to validate incoming connections
against
--cert CERT SSL certificate for this server
--key KEY SSL private key for this server
-p PORT, --port PORT Port to listen on
-i HOST, --host HOST Host interface to bind to
-d, --debug Print data sent and received to stderr
--no-log Disable all logging
--log-file [LOG_FILE]
File to use for logging - use stderr if not specified
Metadata
Release files for Fake-Mesh 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Fake Mesh-0.4.0.tar.gz | 31.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Fake_Mesh-0.4.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 51.1 kB
Release files / Fake Mesh-0.4.0.tar.gz
| Download URL | Fake Mesh-0.4.0.tar.gz |
|---|---|
| Size | 31.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3598cff751cc398ba709cabf9a199e15ad919ac254bb21fe8943392ccdde8e4f
|
|
BLAKE2b-256 checksum How to use checksums |
61e7db84c3a9342b3e8b6606fa29ec167859e14c9f050bd98920a63571ff1425
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.9
|
Release files / Fake_Mesh-0.4.0-py2.py3-none-any.whl
| Download URL | Fake_Mesh-0.4.0-py2.py3-none-any.whl |
|---|---|
| Size | 19.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7b41d352d345f0d4fef26f93ba44fc45605d61f9ec71dd04bb3933f9787e035e
|
|
BLAKE2b-256 checksum How to use checksums |
ecd489ccbffd18c1976b7c6b4d03a43bf76490b9187f16ec7bd3afdce8ce0024
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.9
|