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:
- Make
- Go 1.20+
- Hatch
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
- Download URL: odyssey_posbus_client-0.0.1a5-cp311-cp311-manylinux_2_28_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 5.9 MB
- Tags: CPython 3.11, manylinux: glibc 2.28+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f4cf4dfe948cf34f2e9082b7f2d8a38d62b20351422081ca2a13db360bb5bb2
|
|
| MD5 |
f13039265527f54801af796af28d5fc2
|
|
| BLAKE2b-256 |
bd236d8def618812e4492c0818acb2f9489abcf79755b0ed2e0595f348e77e66
|
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
- Download URL: odyssey_posbus_client-0.0.1a5-cp310-cp310-manylinux_2_28_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 5.9 MB
- Tags: CPython 3.10, manylinux: glibc 2.28+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2c4407abb796eaca415f36a63ddf514321b62955d9c63a4ec0dc11447ce6040
|
|
| MD5 |
be19ef22026918cc3e63c380bb34f478
|
|
| BLAKE2b-256 |
9b3155ab652307ecbae08ada0bd4a32a7a59d55e5b2ad94539aaf3d89dca4339
|