Python bindings for SafeSerial SDK
Project description
SafeSerial SDK Python Bindings
Python bindings for the C++ SafeSerial SDK.
Installation
Development install using uv:
uv sync
uv pip install -e .
Usage
import safeserial
# High-Level Reliable Bridge (ARQ)
bridge = safeserial.DataBridge()
def on_data(data):
print(f"Received: {data}")
# Open connection (Auto-reconnect enabled by default)
if bridge.open("/dev/ttyUSB0", 115200, on_data):
print("Connected!")
# Check stats
print(bridge.stats)
# Send reliable message
bridge.send(b"Hello World")
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
safeserial-0.1.0.tar.gz
(28.7 kB
view details)
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 safeserial-0.1.0.tar.gz.
File metadata
- Download URL: safeserial-0.1.0.tar.gz
- Upload date:
- Size: 28.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb1a0702b52802ecd9fe76b823eabafcbcdd7625cc02a31051cfa0967cb48991
|
|
| MD5 |
21c13aa245ddbfe54ac473682a421b9a
|
|
| BLAKE2b-256 |
d0757f2d861177320cf08451045c0408d01a453005cccd3c3cd006d8af976016
|
File details
Details for the file safeserial-0.1.0-cp39-cp39-macosx_26_0_arm64.whl.
File metadata
- Download URL: safeserial-0.1.0-cp39-cp39-macosx_26_0_arm64.whl
- Upload date:
- Size: 121.1 kB
- Tags: CPython 3.9, macOS 26.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4138f831142c0048932bfaa5be64cfdbb9857670a9f05a6cff5f676ae0d12d41
|
|
| MD5 |
d40d406c37af55fea5e48142c88f510c
|
|
| BLAKE2b-256 |
8648635d5c1218119d1a8ea9eff289a7a76a8241678c13000f96ea8a3aa065a6
|