Tango Device Server for the MC-MAX project
This tango device server connects to an mqtt broker using the paho-mqtt library and upon success reads the esp-32 self description topic, and starts a tango device with dynamic attributes and commands.
One device serves one microcontroller. The attributes and commands are not
declared here: they are built at runtime from the JSON self-description the
microcontroller publishes, so a firmware change is enough to change the Tango
interface. See specs/README.md for the MQTT contract.
Properties
| Name | Description |
|---|---|
broker |
A string, URI of the mqtt broker |
username |
The username for the mqtt broker connection |
password |
The password for the mqtt broker connection |
mqtt_name |
The name of the microcontroller in the mqtt topic tree. Usually it's the hostname of the microcontroller (without domain). |
Development
python -m venv .venv
.venv/bin/pip install -e ".[test]"
.venv/bin/pytest --cov=mcmax --cov-report=term-missing
Style and typing are enforced by pre-commit (ruff and mypy); CI runs the same hooks:
pre-commit install
pre-commit run --all
Metadata
Release files for tangods-mcmax 1.1.1
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 |
|---|---|---|---|---|
| tangods_mcmax-1.1.1.tar.gz | 38.8 kB | Without provenance | Details for tangods_mcmax-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tangods_mcmax-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for tangods_mcmax-1.1.1-py3-none-any.whl |
Total release size: 58.6 kB
Release files / tangods_mcmax-1.1.1.tar.gz
| Download URL | tangods_mcmax-1.1.1.tar.gz |
|---|---|
| Size | 38.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6431f3b0afe9842d007ac201707e43322996ed9b0fc5b235e9c4f751578b02bc
|
|
BLAKE2b-256 checksum How to use checksums |
14f0e4567b0754ea73ce0b30c9ffc47e0211eb9184e7009da3f3c8282799bf55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Release files / tangods_mcmax-1.1.1-py3-none-any.whl
| Download URL | tangods_mcmax-1.1.1-py3-none-any.whl |
|---|---|
| Size | 19.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b93bd3606504b42b166e6d41e0d301f8f4d36207e92e735c3a955fe2ef925f58
|
|
BLAKE2b-256 checksum How to use checksums |
5e96790c18f330d0d17cd0f4940fff0580e9c8078f217674fb64afbd64660259
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Security for tangods-mcmax 1.1.1
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.