xmodem
XMODEM protocol implementation.
Decision gist · record as of 2026-08-14
Yes. xmodem is a stable, actively maintained, dependency-free implementation of a protocol you need if working with serial devices or legacy systems. MIT license, low install friction, and no known vulnerabilities make it a straightforward choice for projects requiring XMODEM support.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a communication channel (typically serial port) and external library to provide getc/putc callbacks for reading and writing character data.
- Low install friction with no runtime dependencies.
- Active maintenance as of 2026-03-04, with recent bug fixes and enhancements addressing timing and retry logic.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for commercial and proprietary projects.
last release 2026-03-04 (163 days) · last repo commit 2026-03-04 · 112 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 536,368 downloads/mo, #6,126 on PyPI
Alternatives
Verify before relying
from xmodem import XMODEM
def getc(size, timeout=1):
return data_source.read(size) or None
def putc(data, timeout=1):
return data_sink.write(data)
modem = XMODEM(getc, putc)
with open('file.bin', 'rb') as f:
modem.send(f)- Whether the package supports XMODEM-1K or only standard 128-byte blocks.
- Performance characteristics on high-speed or modern communication interfaces.
- Availability of active community support or response time for bug reports.
What it is and what it does
xmodem is a pure-Python implementation of the XMODEM file transfer protocol, a legacy standard for transferring binary files over serial connections and similar character-based channels. It provides a simple API: you supply callback functions to read from and write to your communication channel, then call send() or recv() to transfer a file. The protocol handles framing, checksums or CRC validation, retries, and flow control—all the low-level details of reliable block-based transfer.
The package has no external runtime dependencies and supports Python 3.6 and later. It is commonly used in embedded systems development, firmware updates, and legacy equipment integration where XMODEM remains the standard or only available transfer method. Recent versions have addressed timing issues and improved retry semantics.
Use it for
- Upload firmware or configuration files to embedded devices or microcontrollers that speak XMODEM.
- Download diagnostic logs or data from legacy industrial equipment over serial connections.
- Implement file transfer in Python-based device management or terminal tools.
- Test or validate XMODEM protocol implementations in other systems.
- Integrate file transfer capability into embedded projects without external runtime dependencies.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
xmodem is a stable, actively maintained, dependency-free implementation of a protocol you need if working with serial devices or legacy systems. MIT license, low install friction, and no known vulnerabilities make it a straightforward choice for projects requiring XMODEM support.
Install
xmodem on PyPI
Before you install
Low install friction with no runtime dependencies. Active maintenance as of 2026-03-04, with recent bug fixes and enhancements addressing timing and retry logic.
Requires a communication channel (typically serial port) and external library to provide getc/putc callbacks for reading and writing character data.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for commercial and proprietary projects.
Quickstart
from xmodem import XMODEM
def getc(size, timeout=1):
return data_source.read(size) or None
def putc(data, timeout=1):
return data_sink.write(data)
modem = XMODEM(getc, putc)
with open('file.bin', 'rb') as f:
modem.send(f)
Verify before relying
- Whether the package supports XMODEM-1K or only standard 128-byte blocks.
- Performance characteristics on high-speed or modern communication interfaces.
- Availability of active community support or response time for bug reports.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 163 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 536,368 / month, #6,126 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: xmodem-0.5.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “xmodem file transfer”
- xmodemImplements the XMODEM file transfer protocol for sending and…
- universal-silabs-flasherFlashes firmware onto Silicon Labs radios (EmberZNet, CPC, Spinel) by…
- genie.libs.filetransferutilsProvides utility functions for transferring files to and from servers…
Give your agent the search over MCP, or paste the wish link into any chat.
More Networking packages
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
uvloop is a drop-in replacement for Python's built-in asyncio event loop, implemented in Cython and using libuv, that accelerates async I/O operations.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.
See also pexpect-serial · PyLink · serialx · magic-wormhole · scp · pysftp · pyaehw4a1 · pyftdi · minimalmodbus · pymodbus