R2D2
"Rust Reliable Device Drivers"
r2d2-pal (R2D2 Protocol Abstraction Layer) is a module to define Rust bindings for Python of the linux_embedded_hal crate.
Installation
pip install -U r2d2-pal
Usage
Serial example:
import r2d2
bus = r2d2.SerialBus(
port_name=port_name,
baud_rate=baud_rate,
byte_size=byte_size,
parity=str(parity),
stop_bits=stop_bits,
)
bus.write(b"Hello, World!")
data = bus.read(13, 10.0)
Metadata
Release files for r2d2-pal 0.1.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| r2d2_pal-0.1.11.tar.gz | 9.1 kB | Without provenance | Details for r2d2_pal-0.1.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| r2d2_pal-0.1.11-cp38-abi3-manylinux_2_34_x86_64.whl | CPython 3.8 | abi3 | Linux glibc 2.34+ x86-64 | Details for r2d2_pal-0.1.11-cp38-abi3-manylinux_2_34_x86_64.whl |
Total release size: 297.1 kB
Release files / r2d2_pal-0.1.11.tar.gz
| Download URL | r2d2_pal-0.1.11.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8467784a2085af4eacfd153ed6d1215acb5f722bfb9958df8c5d0e87be5bf8d
|
|
BLAKE2b-256 checksum How to use checksums |
1bf3d5f575961089d8b7ecae93b0fcf43d3e45fd4b3d8d5663a3467943b7c8c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.7.4
|
Release files / r2d2_pal-0.1.11-cp38-abi3-manylinux_2_34_x86_64.whl
| Download URL | r2d2_pal-0.1.11-cp38-abi3-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 288.0 kB |
| Tags | CPython 3.8 Linux glibc 2.34+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
31431a95ff16741de74ed518e0d986fc66bf7022efd1f11dd715a1b857c8cadb
|
|
BLAKE2b-256 checksum How to use checksums |
ac6ceb076940fcb30710a64fc89f1cb8dce3dcc5677cbb5c1d20c4dc72a27546
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.7.4
|
Security for r2d2-pal 0.1.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.