Contents

pyserial 3.5

0

Python Serial Port Extension

Python Serial Port Extension

Stars: 3490, Watchers: 3490, Forks: 1156, Open Issues: 336

The pyserial/pyserial repo was created 10 years ago and the last code push was 2 weeks ago.
The project is very popular with an impressive 3490 github stars!

How to Install pyserial

You can install pyserial using pip

pip install pyserial

or add it to a project with poetry

poetry add pyserial

Package Details

Author
Chris Liechti
License
BSD
Homepage
https://github.com/pyserial/pyserial
PyPi:
https://pypi.org/project/pyserial/
GitHub Repo:
https://github.com/pyserial/pyserial

Classifiers

  • Communications
  • Software Development/Libraries
  • Software Development/Libraries/Python Modules
  • Terminals/Serial
No  pyserial  pypi packages just yet.

Errors

A list of common pyserial errors.

Code Examples

Here are some pyserial code examples and snippets.

GitHub Issues

The pyserial package has 336 open issues on GitHub

  • Bump urllib3 from 2.6.0 to 2.6.3 in /requirements/docs
  • Fix USB interface detection on macOS by using modern IOUSBHostInterfa…
  • Update the CHANGELOG
  • Simplify the code in test/test_iolib.py
  • Remove Python 2 compatibility code in serialutil.py
  • Thoroughly test the Timeout class
  • Recursively include Python test files in MANIFEST.in
  • Fixup test_readline.py
  • Remove time.sleep() calls from test_threaded.py
  • Begin testing sysfs port recognition
  • Fix for Interface always None on Windows
  • Set RTS and DTR lines at the same time when they are the same value
  • Windows: Get proper string description of usb serial port via DeviceIoControl.
  • tools/miniterm: add swap LF for CR option
  • list_ports: store USB product string descriptor

See more issues on GitHub