Skip to main content

No project description provided

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 crate written for 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

py_serial_rs-0.1.3.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_serial_rs-0.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (608.8 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

File details

Details for the file py_serial_rs-0.1.3.tar.gz.

File metadata

  • Download URL: py_serial_rs-0.1.3.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.0.0

File hashes

Hashes for py_serial_rs-0.1.3.tar.gz
Algorithm Hash digest
SHA256 18b4adf33f6abd73df533e6ef8058bde2b35d0a8336df91a610d60225c0d7193
MD5 fdfe14311b4fbc6fdc13397b73c83710
BLAKE2b-256 6ed77f083ef390be9ab4d528b1f536d3a9911869275f97719fec549914843ac4

See more details on using hashes here.

File details

Details for the file py_serial_rs-0.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for py_serial_rs-0.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 64cad618c342abe54660f81b359fe3e0d333da9ac817d3c676d1cb6ceb5ef013
MD5 cd3ffc95efb26687c686ea953b6e13e2
BLAKE2b-256 d317c84c059998b71d065381512ddc26ced4f1919bbe3e24a62becda89a72b2d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page