--- id: pyasynchat version: "1.0.5" license: Python Software Foundation License Version 2 license_treatment: permissive maintenance: aging --- # pyasynchat — Make asynchat available for Python 3.12 onwards License: permissive · Maintenance: aging · Downloads: 824.8K/mo ## What it is and what it does This package restores the asynchat module for Python 3.12 and later, where it was removed from the standard library. The module is taken directly from Python 3.9's standard library—the last version before deprecation warnings were added—and depends on pyasyncore. It is a compatibility shim for existing code that relies on asynchat without needing major refactoring. The package is explicitly not maintained beyond packaging updates, since asynchat itself is no longer supported by Python core development. For Python 3.10–3.11, installing this package will not remove deprecation warnings; the warnings module must be used to suppress them. Use it for: - Running existing code that depends on asynchat when upgrading to Python 3.12 or later. - Providing a stable, frozen version of asynchat for projects during migration planning. - Avoiding import errors in codebases that use asynchat on Python 3.12+. - Temporary bridge for legacy systems while planning longer-term architectural changes. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides the asynchat module for Python 3.12 and later, where it was removed from the standard library, allowing existing code to run without refactoring. Yes, if you have existing code that depends on asynchat and cannot immediately refactor. The package is stable with no known vulnerabilities, but understand it is not maintained and asynchat itself is deprecated. Install only as a temporary compatibility bridge, not for new projects. ## Install pip install pyasynchat uv add pyasynchat poetry add pyasynchat ## Installing pyasynchat Before you install: Low install friction with a single runtime dependency (pyasyncore). Maintenance is aging—the package is intentionally not maintained beyond packaging updates, as the underlying code is no longer supported by Python core. License in practice: Licensed under Python Software Foundation License Version 2, a permissive license. No restrictions on use, modification, or distribution for most purposes. Quickstart: pip install pyasynchat import asynchat class MyHandler(asynchat.async_chat): pass Intended for Python 3.12 or later; on earlier versions the standard library version will be used instead. Verify before relying: - Whether pyasyncore (the single runtime dependency) itself is maintained or carries known issues. - How well the module's behavior is preserved across Python 3.12, 3.13, and 3.14 in practice. - Whether deprecation warnings in Python 3.10 and 3.11 can be effectively suppressed when using this package. ## Package facts - License: Python Software Foundation License Version 2 (permissive) - Python support: unspecified - Install friction: low - Maintenance: aging - Downloads: 824.8K/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags asynchat python 3.12, asynchat backport, legacy asynchat module, python asynchat removed, asynchat compatibility, async protocol handler, compatibility-shim, legacy-support, deprecation-bridge [View on SkillFed](https://skillfed.io/packages/pyasynchat) · [View on PyPI](https://pypi.org/project/pyasynchat/)