Skip to main content

USBSerial_Python-library

USBSerial_Python-library

https://pypi.org/project/USBSerial

Getting Started

Installation

$ pip install USBSerial

Usage

Import

from usbserial import USBSerial

Examples

from usbserial import USBSerial
device = USBSerial(port = 'ttyUSB0', baudrate = 115200, timeout = 3, open = True)
print(device.readline())
print(device.read(size = 1))

Dev

Build

$ python3 -m build

Local test

$ pip install -e .

Build and Local test

$ python3 -m build && pip install -e . && python

Release

$ python -m twine upload dist/*

Metadata

Release files for USBSerial 1.1.0

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

Source distribution (sdist)

Source distribution for USBSerial 1.1.0
File Size Uploaded Provenance Actions
USBSerial-1.1.0.tar.gz 2.5 kB Without provenance Details for USBSerial-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for USBSerial 1.1.0
File Interpreter ABI Platform Actions
USBSerial-1.1.0-py3-none-any.whl Python 3 none any Details for USBSerial-1.1.0-py3-none-any.whl

Total release size: 17.2 kB

Release files / USBSerial-1.1.0.tar.gz

Download URL USBSerial-1.1.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e09e689b691ab92d29a1b79bbbf4b9ba1c5a66fdc68e1403d743fcac875e9a1d
BLAKE2b-256 checksum
How to use checksums
29b42743e8a57af9acaeb62502adc24c1480351fa64564a06b9da5f409ab5109
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

Release files / USBSerial-1.1.0-py3-none-any.whl

Download URL USBSerial-1.1.0-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9670e7d44801ae85f2a2640f974ce25bc5447c7402df833718a67fde6328e744
BLAKE2b-256 checksum
How to use checksums
6b8b3e1399ff621824088b5b1095f72e139565cea6474a39e71be08117c22d3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

Security for USBSerial 1.1.0

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