Proof of concept Axia Pathfinder API/SDK.
Project description
axia-pathfinder-client
This is an early start at writing a python client/sdk for the the telnet based API on Axia Pathfinder software/appliances from the Telos Alliance.
Currently it is more a proof of concept rather than anything ready for production. We have plans to integrate it with our current songticker glue code.
Please raise an issue if you would like to collaborate with Radio Bern RaBe on this python/pathfinder integration effort. We plan on primarily focusing this library on our needs but contributions are always welcome and we would be happy to accomodate you!
Features
- partially implements the "SAPv2" protocol as described in the pathfinder manual
- only "LOGIN", "GET" and "SUB" operators are currently supported
- "INDI" responses to "GET" requests get parsed and returned in a timeout governed timeout fashion
- Also works with xNode Telnet interfaces
- GPO responses to "GPO" requests are currently parsed
- Uses a PEG-style parser-combinator based on parsy to parse responses from the telnet interfaces
Contributing
Please let us know what you would like to contribute before you get invested! This is really a proof of concept at this stage.
Development
python -mvenv venv
. venv/bin/activate
pip install poetry
poetry install
pre-commit hook
pip install pre-commit
pre-commit run -a
Testing
poetry run pytest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for axia_pathfinder_client-0.2.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78804c7a5b1e50708765f6aa5e82996438171595eb0d29bd057ee81d0fac906d |
|
MD5 | ddbb4eb09fd0bc62f44008324c3898ea |
|
BLAKE2b-256 | b47e12a03e2bf3b2ba36cd6b95a36b7e5b2fde16a74a845d6e0287e865b73d97 |
Hashes for axia_pathfinder_client-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bf177dc0c59ed1efbf937cf66a191e5fdd981203d4976487e8e3eb83f074490 |
|
MD5 | 3fb510608e0a73c54455df0015f8490f |
|
BLAKE2b-256 | fecc4c24aa0bc43be55a30ce5befe66f65c25f1538fa86c7c008e871b3bfd723 |