python-mirth-client
A basic async Python interface for Mirth Connect
Installation
pip install mirth-client
Usage example
Assuming running within IPython or as part of an async application with an event-loop set up.
from mirth_client import MirthAPI
from pprint import pprint
async with MirthAPI("https://mirth.domain.com/api") as api:
await api.login("****", "****")
# Check out list of channels
for channel in await api.channels():
metadata = await channel.get_info()
print(f"ID: {metadata.id}")
print(f"Name: {metadata.name}")
print("")
# Get stats for a channel
s = await api.channel("3cdefad2-bf10-49ee-81c9-8ac6fd2fed67").get_statistics()
pprint(s)
# Check channel for failed messages
e = await api.channel("3cdefad2-bf10-49ee-81c9-8ac6fd2fed67").get_messages(status="error")
pprint(e)
# Get 10 most recent events
e = await api.events(10)
pprint(e)
Metadata
Release files for mirth-client 5.0.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 | Provenance | Actions |
|---|---|---|---|---|
| mirth_client-5.0.0.tar.gz | 10.9 kB | Without provenance | Details for mirth_client-5.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mirth_client-5.0.0-py3-none-any.whl | Python 3 | none | any | Details for mirth_client-5.0.0-py3-none-any.whl |
Total release size: 23.3 kB
Release files / mirth_client-5.0.0.tar.gz
| Download URL | mirth_client-5.0.0.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
330a1b324a14ff9f354c30bbe7538aa862e3e40ab7ecb46f264d3dc3882beb77
|
|
BLAKE2b-256 checksum How to use checksums |
524029f409e95cd0f47f30d5df8552657e333b04820a2ef12b0961981f84a5f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.12.13 Linux/6.17.0-1020-azure
|
Release files / mirth_client-5.0.0-py3-none-any.whl
| Download URL | mirth_client-5.0.0-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
783ac63611b10eff2f2ef425edb169227cabfcc0b01a3909fdaf18136a2c82cb
|
|
BLAKE2b-256 checksum How to use checksums |
06239d415376ffc98ab038ad1aff1c292e11558d2eb6c53c61564f601706bfb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.12.13 Linux/6.17.0-1020-azure
|
Security for mirth-client 5.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.