OSUSat messaging library (Python bindings)
Project description
messaging
Messaging standards and protocols for OSUSat/SCRT
Messaging Spec
- The messaging specification can be found in spec/SPEC.md
- The current revision of the messaging specification implementation is located at spec/messages.yml
Code Generation
- A simple code generation pipeline is found in generator/gen.py
- It outputs C, C++, and Python headers/codecs for messages and encoding/decoding functionality
Project Integration
C/CPP integration
- Add this repository as a subdirectory of your project
- git submodule add https://github.com/osusat/messaging.git lib/
- Use one of the example CMakeLists.txt files to link the C/CPP libraries
- You may need to modify the subdirectory that CMake targets for the library files. Change
add_subdirectory(../../ ...->add_subdirectory(lib/messaging ..., for example.- Make sure it targets the submodule you added
- You may need to modify the subdirectory that CMake targets for the library files. Change
Python Integration
- Install the package via PyPi:
pip install osusat-messaging
Examples
- Example codec/packet usage can be found under the
examplesdirectory
Developing
Development with UNIX/Windows systems
# Generator Development
cd generator
python -m venv .venv/ # create a python virtual environment for package isolation
source .venv/bin/activate # activate the virtual environment you just created
pip install -r requirements.txt # install generator dependencies
# C/CPP Codec Development
mkdir build && cd build
cmake ..
make
Development with NixOS systems
nix-shell # good to go :)
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 Distribution
Built Distribution
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 osusat_messaging-1.0.1.tar.gz.
File metadata
- Download URL: osusat_messaging-1.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c25cadc19b2a05ac61614f70fe639088fea61af69ff45d6662248b67df93d8a
|
|
| MD5 |
f3dd49ddd6f8a3082d656ae862c469c0
|
|
| BLAKE2b-256 |
2c72e418d125458a0963bfbcc7bd8c1fa716094aac61cf13168606caa7fb1efc
|
File details
Details for the file osusat_messaging-1.0.1-py3-none-any.whl.
File metadata
- Download URL: osusat_messaging-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5f3f2f7b3d97880e17456beb2f1e8af1518116019400c88cbba9819bbfa62d5
|
|
| MD5 |
33e1e76c1d67d7f0caf6f9e191827a8f
|
|
| BLAKE2b-256 |
997ab7173f8dc725d2ecded9278e683e1e7d26574f1e0be9cbdc0a79f2848e43
|