Skip to main content

Odyssey posbus client

Project description

Python client

Python library to connect to Momentum websocket backend.

The Momentum backend exposes a websocket with a custom binary protocol. This library is for client to connect and talk the custom protocol.

** This a low level library wrapping the Go client code, not for direct usage. **

Requirements

  • Python 3.10 or 3.11
  • Currently Linux x86_64 platform, else you have to build the client library yourself.

To build:

Build

For a local development build, run make from the project top level dir:

make py

This will generate a python package inside py/odyssey_posbus_client and a wheel package in py/dist.

Distribute

To build official wheel packages, cibuildwheel is required.

make python_wheels

Release

Releases are done automatically based on git tags. Create a git tag like py@1.2.3 to trigger CI/CD workflow.

Implementation

This auto generates python bindings for the Go client code. By first generating a C library with cgo and then generating python bindings for that. Because of limitations of the generation tool a custom Go package is used to create a simplified interface.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

odyssey_posbus_client-0.0.1a5-cp311-cp311-manylinux_2_28_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

odyssey_posbus_client-0.0.1a5-cp310-cp310-manylinux_2_28_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

File details

Details for the file odyssey_posbus_client-0.0.1a5-cp311-cp311-manylinux_2_28_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for odyssey_posbus_client-0.0.1a5-cp311-cp311-manylinux_2_28_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9f4cf4dfe948cf34f2e9082b7f2d8a38d62b20351422081ca2a13db360bb5bb2
MD5 f13039265527f54801af796af28d5fc2
BLAKE2b-256 bd236d8def618812e4492c0818acb2f9489abcf79755b0ed2e0595f348e77e66

See more details on using hashes here.

File details

Details for the file odyssey_posbus_client-0.0.1a5-cp310-cp310-manylinux_2_28_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for odyssey_posbus_client-0.0.1a5-cp310-cp310-manylinux_2_28_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c2c4407abb796eaca415f36a63ddf514321b62955d9c63a4ec0dc11447ce6040
MD5 be19ef22026918cc3e63c380bb34f478
BLAKE2b-256 9b3155ab652307ecbae08ada0bd4a32a7a59d55e5b2ad94539aaf3d89dca4339

See more details on using hashes here.

Supported by

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