qmetrics.net

pySerial

Python access layer for serial ports across operating systems

pySerial screenshot

pySerial provides a unified Python API for opening, configuring, and communicating over serial ports on Windows, macOS, Linux, and BSD.

Overview

pySerial encapsulates host serial port access for Python programs. The top-level serial module selects an appropriate platform backend automatically so application code can stay portable across operating environments.

The API covers opening ports, setting parameters after connect, read and write operations, timeouts, and utilities such as miniterm for interactive terminal sessions. Documentation describes threading support, asyncio integration, and URL-style handlers for special connection types including TCP bridges, loopback, and RFC 2217 remote serial.

Installation is typically via pip, with conda-forge builds for Linux, macOS, and Windows noted in project docs. Windows installer packages are also mentioned. Examples and unit tests ship with the package for reference implementations of common patterns.

The library targets developers building hardware interfaces, industrial equipment tools, embedded debug consoles, and serial-to-IP bridges without writing separate native code per platform.

Key features

  • Cross-platform serial backends
  • Port configuration and timeouts
  • threading support
  • asyncio integration
  • RFC 2217 and socket URLs
  • serial.tools.list_ports
  • miniterm interactive tool
  • pip and conda installation

Use cases

  • Microcontroller USB serial debug
  • Industrial device communication
  • Serial-to-TCP bridging
  • Hardware test automation
  • Interactive serial consoles

Tags

Similar software

LibrePods

AirPods control and features on Linux and Android

LibrePods reimplements Apple’s AirPods control protocol so non-Apple devices can change listening modes, read batteries, and use accessibility-oriented options.

★ 31k⟳ 1 month agoGPL-3.0

PyModbus

Python client, server, and simulator for Modbus

PyModbus implements the Modbus protocol with synchronous and asynchronous clients and servers, plus an HTML-based device simulator.

★ 2.8k⟳ 2 days agoBSD-2-Clause

Meshtastic Android

Android and desktop client for Meshtastic mesh radios

The Meshtastic client for Android and Compose Desktop connects to open-source mesh radios over BLE, USB, TCP, or WebSocket. It is the companion app for the broader Meshtastic off-grid mesh network.

★ 2k⟳ todayGPL-3.0

FreeDomain

Free domain registration with DNS learning resources

DigitalPlat FreeDomain lets people register free domains under several extensions, point custom nameservers at a DNS provider, and follow guides from setup through deployment.

★ 209.4k⟳ 3 months agoAGPL-3.0

Clash Verge Rev

Cross-platform Tauri desktop GUI for Clash Meta proxying

Clash Verge Rev is a desktop GUI for the Clash Meta proxy kernel on Windows, macOS, and Linux. It offers profile management, system proxy modes, and keeps configuration on your device.

★ 161.1k⟳ yesterdayGPL-3.0

v2rayN

Desktop GUI client for proxy cores

v2rayN is a graphical client for Windows, Linux, and macOS that works with Xray, sing-box, and related proxy stacks. Prebuilt packages ship for common CPU architectures.

★ 121.6k⟳ yesterdayGPL-3.0