pyasyncore
Make asyncore available for Python 3.12 onwards
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- 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.
- 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.
License · maintenance · safety
permissive license (permissive) — Licensed under Python Software Foundation License Version 2, a permissive license. No restrictions on use or redistribution for existing code relying on this package.
last release 2026-01-05 (221 days) · last repo commit 2026-01-05 · 6 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 916,427 downloads/mo, #4,731 on PyPI
Alternatives
Verify before relying
pip install pyasyncore
import asyncore
# Use the module as you would in Python versions prior to 3.12- 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.
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 on this page. Verify before relying on it.
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
pyasyncore on PyPI
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.
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.
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
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 | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 221 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 916,427 / month, #4,731 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: Python Software Foundation LicenseProgramming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries |
Evidence: pyasyncore-1.0.5-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 › “asyncore python 3.12”
- pyasyncoreProvides the asyncore module for Python 3.12 and later, allowing…
- asyncore-wsgiA single-threaded asynchronous WSGI server with WebSocket support…
- pyasynchatProvides the asynchat module for Python 3.12 and later, where it was…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also pyasynchat · asyncore-wsgi · importlib · contextlib2 · zipfile36 · packaging-legacy · asyncio · legacy-cgi · standard-chunk · pydantic-compat