Skip to main content

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

axia_pathfinder_client-0.2.3.tar.gz (15.6 kB view hashes)

Uploaded Source

Built Distribution

axia_pathfinder_client-0.2.3-py3-none-any.whl (17.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page