Skip to main content

gevent-serial

A python 3 gevent friendly access to the serial port.

Deeply inspired by pyserial. It tries to mimic its interface but it doesn't aim to garantee full API compatibility.

For now only Linux (and possibly any BSD or posix complient system) is supported.

Support for local serial port, RFC2217, and RS485 (untested).

Includes an optional serial to TCP bridge (experimental).

Installation

From within your favourite python environment:

$ pip install gevent-serial

Serial to TCP bridge

To be available, it requires you to install the optional server package with:

$ pip install gevent-serial[ser2tcp]

The ser2tcp server needs a configuration file written in YAML. It consists of a list of serial entries. Each entry describes the serial port address (url), the TCP port (listener) and optionally a TCP mode and other serial line options (baudrate, parity, byte size, etc.)

Here is an example:

- url: /dev/ttyS0
  baudrate: 9600
  listener: :2217   # listen on all network interfaces, TCP port 2217
  mode: rfc2217

- url: /dev/ttyS1
  baudrate: 115200
  mode: raw
  listener: :2218

- url: loop://
  listener: :2219
  baudrate: 115200
  mode: raw

- url: loop://
  listener: :2220
  baudrate: 9600
  mode: rfc2217

Metadata

Release files for gevent-serial 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gevent-serial 0.2.4
File Size Uploaded Provenance Actions
gevent-serial-0.2.4.tar.gz 30.3 kB Without provenance Details for gevent-serial-0.2.4.tar.gz

Release files / gevent-serial-0.2.4.tar.gz

Download URL gevent-serial-0.2.4.tar.gz
Size 30.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a3913e4bb4f7c3cf68647956ad7e4da8da54ba909250dee525f2f157b5bd2bdb
BLAKE2b-256 checksum
How to use checksums
5d5ae27778671183ffaea88c8850c1d991c4ef565ab6798f54464fdb8855fba0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191030 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5

Security for gevent-serial 0.2.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page