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.1a4-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.1a4-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.1a4-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.1a4-cp311-cp311-manylinux_2_28_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1a080d69f74f481484c89ad9abf16f032f389f71dcbbe00cc11acfc5d9198247
MD5 c95a60f2c333cfea52d2fd7b8d0e93cf
BLAKE2b-256 b223f12becb01c7b3d02dacdb2a2411811613789fa228940155bad215ca2b127

See more details on using hashes here.

File details

Details for the file odyssey_posbus_client-0.0.1a4-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.1a4-cp310-cp310-manylinux_2_28_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 cc1fd1ab440c4ae66053ad4bdb3cafd9ee14a6138dec10e24f87b492ff969e71
MD5 20f9f36166a55697ae4fe50e3813f720
BLAKE2b-256 e3be1b8cd78092f5073f546990823b39d76fda7aba75827dfb0e3fe4c323fd21

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