asyncore-wsgi
Asynchronous WSGI and WebSocket server based on asyncore module
Decision gist · record as of 2026-08-14
No. The project is abandoned and built on a deprecated standard library module (asyncore). While it has no known vulnerabilities and low install friction, asyncore is scheduled for removal from Python and the package receives no maintenance. Use a modern alternative instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later; asyncore module is deprecated and scheduled for removal from Python's standard library.
- Low friction to install, but the project is abandoned as of 2023-07-06 with no active maintenance.
- The asyncore module itself is deprecated in modern Python, so this package is not suitable for new projects or long-term use.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and places no restrictions on use, modification, or distribution for commercial or private purposes.
last release 2023-07-05 (1136 days) · last repo commit 2023-07-06 · 2 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 76,357 downloads/mo, #14,631 on PyPI
Alternatives
Verify before relying
from wsgiref.simple_server import demo_app
from asyncore_wsgi import AsyncWebSocketHandler, make_server
class SimpleEchoHandler(AsyncWebSocketHandler):
def handleMessage(self):
self.sendMessage(self.data)
httpd = make_server('', 8000, demo_app, ws_handler_class=SimpleEchoHandler)
httpd.serve_forever()- Whether asyncore deprecation in Python 3.10+ affects runtime stability or if the package still functions despite the underlying module being scheduled for removal.
- Real-world performance characteristics and concurrency limits of the single-threaded event loop.
What it is and what it does
asyncore-wsgi is a lightweight WSGI server that runs a single-threaded event loop using Python's asyncore module to handle HTTP requests and WebSocket connections. It lets you serve standard WSGI applications alongside custom WebSocket handlers by subclassing AsyncWebSocketHandler and implementing message and lifecycle callbacks. The server binds to a host and port, serves your WSGI app on the root path, and routes WebSocket upgrades to a handler class you provide.
The package has no runtime dependencies and installs as a pure Python wheel. However, it is built on asyncore, which is deprecated and scheduled for removal from Python's standard library. The project itself has been abandoned since 2023-07-06 with no recent commits or maintenance activity, making it unsuitable for new development or production use in modern Python environments.
Use it for
- Prototyping a simple WebSocket echo server or chat application with minimal dependencies during development or learning.
- Serving a legacy WSGI application that needs WebSocket support in an environment where modern alternatives are not available.
- Educational projects exploring how asynchronous I/O and WebSocket protocols work at a low level using Python's standard library.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The project is abandoned and built on a deprecated standard library module (asyncore). While it has no known vulnerabilities and low install friction, asyncore is scheduled for removal from Python and the package receives no maintenance. Use a modern alternative instead.
Install
asyncore-wsgi on PyPI
Before you install
Low friction to install, but the project is abandoned as of 2023-07-06 with no active maintenance. The asyncore module itself is deprecated in modern Python, so this package is not suitable for new projects or long-term use.
Requires Python 3.6 or later; asyncore module is deprecated and scheduled for removal from Python's standard library.
License in practice
MIT license is permissive and places no restrictions on use, modification, or distribution for commercial or private purposes.
Quickstart
from wsgiref.simple_server import demo_app
from asyncore_wsgi import AsyncWebSocketHandler, make_server
class SimpleEchoHandler(AsyncWebSocketHandler):
def handleMessage(self):
self.sendMessage(self.data)
httpd = make_server('', 8000, demo_app, ws_handler_class=SimpleEchoHandler)
httpd.serve_forever()
Verify before relying
- Whether asyncore deprecation in Python 3.10+ affects runtime stability or if the package still functions despite the underlying module being scheduled for removal.
- Real-world performance characteristics and concurrency limits of the single-threaded event loop.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,136 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 76,357 / month, #14,631 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: WSGI :: Server |
Evidence: asyncore_wsgi-0.0.11-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 wsgi server”
- asyncore-wsgiA single-threaded asynchronous WSGI server with WebSocket support…
- pyasyncoreProvides the asyncore module for Python 3.12 and later, allowing…
- pyuwsgipyuwsgi packages the uWSGI application server as an importable Python…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP 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.
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.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also uvicorn · aiohttp-wsgi · pyasyncore · websockets · static3 · asgiref · tornado · Hypercorn · gevent-websocket · Flask