$npx skillfedfor your agent

telnetlib3

Python Telnet server and client CLI and Protocol library

Worth itPyPI InternetReleased Aug 20261.7M downloads / moISCPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — telnetlib3-5.0.0-py3-none-any.whl
v5.0.0 · released 2026-08-07 · Python >=3.9 · 2 runtime deps: blessed, wcwidth

Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It fills a genuine gap left by the removal of telnetlib in Python 3.13 and provides a modern, well-specified implementation for telnet server/client work. Install it if you need telnet support, are migrating from the standard library, or are building MUD/BBS infrastructure.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or newer; asyncio event loop required for async API.
  • Low friction: pure Python wheel with only two runtime dependencies (blessed, wcwidth).
  • Actively maintained with a release 7 days ago.

License · maintenance · safety

ISC (permissive) — ISC license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.

last release 2026-08-07 (7 days) · last repo commit 2026-08-07 · 173 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,686,695 downloads/mo, #3,651 on PyPI

Verify before relying

import asyncio
import telnetlib3

async def shell(reader, writer):
    writer.write('Hello\r\n')
    await writer.drain()
    writer.close()

async def main():
    server = await telnetlib3.create_server(port=6023, shell=shell)
    await server.wait_closed()

asyncio.run(main())
  • Whether the blocking API is feature-complete relative to the asyncio interface
  • Performance characteristics under high concurrency or large message volumes
  • Compatibility with non-standard telnet implementations beyond the RFC specifications listed
Same gist for agents: .md · .json

What it is and what it does

Telnetlib3 is a feature-rich Telnet implementation that provides both asyncio-based and synchronous blocking APIs for building telnet servers and clients. It implements RFC specifications for telnet protocol negotiation, including support for binary transmission, character encoding negotiation, compression (MCCP2/MCCP3), terminal type detection, and window size reporting. The library includes command-line utilities (telnetlib3-client, telnetlib3-server) for quick telnet connections and hosting, plus fingerprinting tools. For Python 3.13+, it provides a drop-in shim for the removed standard telnetlib module, allowing existing code to continue working unchanged.

The package is designed for developers building MUD (Multi-User Dungeon) and BBS (Bulletin Board System) servers, retro computing applications, and other telnet-based systems. It handles encoding negotiation automatically when possible, supports raw mode for non-compliant servers, and can host external programs via pseudo-terminal (PTY) execution. Dependencies are minimal (blessed for terminal handling, wcwidth for character width calculation), and the codebase is actively maintained with broad Python version support.

Use it for

  • Build a telnet server for a MUD or interactive game with custom shell logic and protocol negotiation
  • Connect to legacy BBS systems or telnet servers with automatic or manual encoding handling (cp437, big5bbs, ATASCII)
  • Host a CLI/TUI program (e.g., bash, bc) as a telnet service with optional linemode or raw mode
  • Migrate Python 3.13+ code that relied on the standard telnetlib module by installing telnetlib3 as a drop-in replacement
  • Implement telnet client automation scripts that negotiate compression and terminal capabilities with remote servers
  • Fingerprint telnet servers to detect their capabilities and protocol support

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It fills a genuine gap left by the removal of telnetlib in Python 3.13 and provides a modern, well-specified implementation for telnet server/client work. Install it if you need telnet support, are migrating from the standard library, or are building MUD/BBS infrastructure.

Install

telnetlib3 on PyPI

Before you install

Low friction: pure Python wheel with only two runtime dependencies (blessed, wcwidth). Actively maintained with a release 7 days ago. Supports Python 3.9 through 3.14.

Requires Python 3.9 or newer; asyncio event loop required for async API.

License in practice

ISC license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.

Quickstart

import asyncio
import telnetlib3

async def shell(reader, writer):
    writer.write('Hello\r\n')
    await writer.drain()
    writer.close()

async def main():
    server = await telnetlib3.create_server(port=6023, shell=shell)
    await server.wait_closed()

asyncio.run(main())

Verify before relying

  • Whether the blocking API is feature-complete relative to the asyncio interface
  • Performance characteristics under high concurrency or large message volumes
  • Compatibility with non-standard telnet implementations beyond the RFC specifications listed

Package facts

LicenseISC permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
blessedwcwidth
MaintenanceActively maintained 7 days since the last release
Last repo commit
First released
Downloads1,686,695 / month, #3,651 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: ISC License (ISCL)Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: InternetTopic :: System :: NetworkingTopic :: System :: ShellsTopic :: Terminals :: TelnetTyping :: Typed

Evidence: telnetlib3-5.0.0-py3-none-any.whl

Tags

Capabilities
telnet server client libraryasyncio telnet protocoltelnet CLI utilitiespython telnet implementationMUD BBS telnet supporttelnet with compression MCCPtelnet character encoding negotiation
Topics
telnet-protocolasyncio-readyretro-computing
PyPI keywords
apiasynciobbsclientcp437librarymudptyservertelnetutf8

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 › “telnet server client library”

  • telnetlib3Telnet server, client, and protocol library for Python 3.9+ with…
  • standard-telnetlibProvides the telnetlib module removed from Python's standard library,…
  • aiovlcControl VLC media player over a telnet connection using Python's…

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also standard-telnetlib · aiovlc · tlslite-ng · websocket-client · aioquic · websockets · scrapli · qh3 · smbprotocol · factorio-rcon-py