Read and write data over the serial ports
Project description
The goal of this package is to provide a fast and reliable interface to the serial ports.
Instead of implementing the logic in Python, this package builds around serialport written in Rust. This package supports threading.
Installation
PyO3 (with maturin) will build a pip package for you. For this, make sure that you are able to build rust packages with cargo. Create a virtual environment and install the required pip packages with
pip install -r requirements.txt
The pip package can then easily be build with
maturin build --release
Voilà, a pip package to be used in your code!
Demo Scripts
Demo scripts are located in /python:
demo.py shows a simple direct communication via the serial connection
demo_threads.py demonstrates how this package can be used with threads
Documentation
Link to the documentation: https://py-serial-rs.readthedocs.io/
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
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 py_serial_rs-0.1.4.tar.gz.
File metadata
- Download URL: py_serial_rs-0.1.4.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1645ccb6acea3d6b06240e4af2c31193dc7dfbaa7bd63555b2286df84760440
|
|
| MD5 |
61e51b47509990efe37f56f0c4ab8042
|
|
| BLAKE2b-256 |
a94da3148bd38f9ff71c8136aac9123d98c3f7852b949a0c376b968c4b6e61f8
|
File details
Details for the file py_serial_rs-0.1.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: py_serial_rs-0.1.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 608.8 kB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b1cb5da82f9814b0a4f2b0d515d41504b55b965a1262c1f096cf5d4639edb81
|
|
| MD5 |
d215ccf1722f9ac1a5fe48cbf27c4087
|
|
| BLAKE2b-256 |
49355860dd98ebe86234e5b22db3f961bb9dba341a949aca97bf5042eec5321c
|