# pyserial/pyserial

Python serial port access library

Repository: https://github.com/pyserial/pyserial
Canonical: https://ross.abutalabs.com/products/pyserial
Homepage: http://pyserial.readthedocs.io/en/latest/
Language: Python
License: NOASSERTION
License Family: other
Topics: python, serial
Last push: 2026-05-19T21:16:00+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 83, release rhythm 25, longevity 100
- inputs: {"age_days": 4049, "days_push": 106, "days_rel": 287, "gap_med": null, "n_releases_24m": 1}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3565, forks 1164 (observed 2026-08-28T04:08:09.934997+00:00)

## What it is
pySerial is a Python library that encapsulates serial port access, providing backends for Windows, macOS, Linux, and BSD. It offers a unified API for reading from and writing to serial ports across platforms.

## Use cases
- communicate with arduino over serial from python
- read data from a serial port device
- send commands to hardware via rs232
- talk to embedded device over uart in python
- cross-platform serial port access

## When to choose
- you need serial port communication in Python on Windows, macOS, or Linux
- you want a mature, well-documented library with a consistent cross-platform API

## When to avoid
- you need high-level protocol support rather than raw serial byte streams
- your project is not in Python

## Facets
- artifact type: library
- maturity: stable
- function: sdk, developer-tools
- domain: developer-tools, hardware, embedded-systems, cross-platform
- platform: python, windows, bsd, cross-platform
- tags: serial-port, rs232, hardware-communication, uart, linux, macos

## Member repositories
- pyserial/pyserial (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:09.934997+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:34:10.645182+00:00, confidence not recorded.
  - readme: https://github.com/pyserial/pyserial (fetched 2026-08-28T04:08:09.934997+00:00, sha 54156e21d604)
  - registry_pypi: https://pypi.org/pypi/pyserial/json (fetched 2026-08-29T09:28:20.304879+00:00, sha 02913e94a674)
- Data as of 2026-08-30T08:39:29.467469+00:00.
