--- id: pyasyncore version: "1.0.5" license: Python Software Foundation License Version 2 license_treatment: permissive maintenance: aging --- # pyasyncore — Make asyncore available for Python 3.12 onwards License: permissive · Maintenance: aging · Downloads: 916.4K/mo ## What it is and what it does pyasyncore is a compatibility shim that restores the asyncore module to Python 3.12 and later, where it was removed from the standard library. The module is taken directly from the Python source tree at its last meaningful update, essentially equivalent to the version bundled with Python 3.9, and provides a drop-in replacement for code that still uses the import. It carries no runtime dependencies and is designed to be a minimal bridge for legacy codebases. The package is explicitly not intended for new projects. It exists solely to keep existing code running without major refactoring. Maintenance is frozen: the module code will not be updated, only packaging infrastructure will be maintained. The package was first released on 2022-06-29 and the latest release is 2026-01-05. Use it for: - Run legacy code on Python 3.12+ without immediately rewriting the module-based networking logic. - Maintain compatibility in applications where the module is deeply embedded and migration is deferred. - Allow third-party libraries that depend on this module to work under Python 3.12 or later. - Suppress deprecation warnings in Python 3.10–3.11 by combining this package with the warnings module. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides the asyncore module for Python 3.12 and later, allowing existing code to run without refactoring after the module was removed from the standard library. Yes, if you have existing code that imports this module and you need to run it on Python 3.12+. Install friction is negligible and there are no known vulnerabilities. However, this is a bridge, not a long-term solution—plan to migrate eventually. Do not use for new projects. ## Install pip install pyasyncore uv add pyasyncore poetry add pyasyncore ## Installing pyasyncore Before you install: Low friction to install. Maintenance is minimal by design—the module code itself is frozen and will not be updated, only packaging changes are intended. Last release was 221 days ago. License in practice: Licensed under Python Software Foundation License Version 2, a permissive license. No restrictions on use or redistribution for existing code relying on this package. Quickstart: pip install pyasyncore import asyncore # Use the module as you would in Python versions prior to 3.12 Intended for Python 3.12 or later; on earlier versions the standard library version is used instead and deprecation warnings are not suppressed by this package. Verify before relying: - Whether the frozen module version matches all behavior expectations for Python 3.12+ environments. - Performance characteristics for migration planning purposes. - Compatibility with third-party code that depends on this module. ## Package facts - License: Python Software Foundation License Version 2 (permissive) - Python support: unspecified - Install friction: low - Maintenance: aging - Downloads: 916.4K/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags asyncore python 3.12, asyncore backport, legacy asyncore module, asyncore compatibility, python 3.12 asyncore, standard library backport, deprecated module support, legacy-compatibility, backport [View on SkillFed](https://skillfed.io/packages/pyasyncore) · [View on PyPI](https://pypi.org/project/pyasyncore/)