gevent-websocket
Websocket handler for the gevent pywsgi server, a Python network library
Decision gist · record as of 2026-08-14
No, unless maintaining legacy code. The package is abandoned (last release 2017-03-12), offers no security patches, and lacks compatibility assurance for modern Python. For new projects, evaluate actively maintained alternatives. If you must use gevent for WebSocket support, verify whether a fork or alternative is available.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires gevent to be installed and working; intended for use with gevent-based WSGI servers.
- Installation is straightforward with low friction, but the package is abandoned as of 2017-03-12 with no maintenance activity for over 3442 days.
- No recent security patches or compatibility updates should be expected.
License · maintenance · safety
(unclear) — Licensed under Apache License 2.0 per the description excerpt. The license treatment is marked unclear in the metadata, so verify the exact license terms apply to your use case before relying on this package in production.
last release 2017-03-12 (3442 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,132,974 downloads/mo, #4,314 on PyPI
Alternatives
Verify before relying
pip install gevent-websocket
from gevent import pywsgi
from geventwebsocket.handler import WebSocketHandler
def websocket_app(environ, start_response):
ws = environ["wsgi.websocket"]
message = ws.receive()
ws.send(message)
server = pywsgi.WSGIServer(("", 8000), websocket_app, handler_class=WebSocketHandler)
server.serve_forever()- Whether the package remains compatible with Python 3.5+ as claimed in classifiers, given no updates since 2017-03-12.
- Current state of the GitLab repository and whether it accepts contributions or security patches.
- Whether optional performance dependencies (wsaccel, ujson, simplejson) remain maintained and compatible.
What it is and what it does
gevent-websocket is a WebSocket library that integrates with gevent's networking model to add real-time bidirectional communication to WSGI applications. It provides both a high-level application framework and low-level socket integration, allowing developers to handle WebSocket connections in gevent-based servers. The library supports WAMP (WebSocket Application Messaging Protocol) for RPC and publish-subscribe patterns, and includes a plugin API for custom protocol extensions.
The package depends solely on gevent and installs with low friction. However, it has been abandoned since 2017-03-12 with no maintenance, security updates, or compatibility work for modern Python versions. While it remains in the top 5000 PyPI packages by download volume, its age and lack of active development make it a legacy choice for new projects.
Use it for
- Building real-time chat or messaging applications using gevent's lightweight concurrency model.
- Adding live data streaming or push notifications to WSGI applications without external WebSocket services.
- Implementing RPC or pub-sub communication patterns in gevent-based services using WAMP.
- Integrating WebSocket support into existing Gunicorn deployments via the GeventWebSocketWorker.
- Maintaining legacy gevent applications that predate modern async frameworks.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless maintaining legacy code.
The package is abandoned (last release 2017-03-12), offers no security patches, and lacks compatibility assurance for modern Python. For new projects, evaluate actively maintained alternatives. If you must use gevent for WebSocket support, verify whether a fork or alternative is available.
Install
gevent-websocket on PyPI
Before you install
Installation is straightforward with low friction, but the package is abandoned as of 2017-03-12 with no maintenance activity for over 3442 days. No recent security patches or compatibility updates should be expected.
Requires gevent to be installed and working; intended for use with gevent-based WSGI servers.
License in practice
Licensed under Apache License 2.0 per the description excerpt. The license treatment is marked unclear in the metadata, so verify the exact license terms apply to your use case before relying on this package in production.
Quickstart
pip install gevent-websocket
from gevent import pywsgi
from geventwebsocket.handler import WebSocketHandler
def websocket_app(environ, start_response):
ws = environ["wsgi.websocket"]
message = ws.receive()
ws.send(message)
server = pywsgi.WSGIServer(("", 8000), websocket_app, handler_class=WebSocketHandler)
server.serve_forever()
Verify before relying
- Whether the package remains compatible with Python 3.5+ as claimed in classifiers, given no updates since 2017-03-12.
- Current state of the GitLab repository and whether it accepts contributions or security patches.
- Whether optional performance dependencies (wsaccel, ujson, simplejson) remain maintained and compatible.
Package facts
| License | Not declared unclear |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagegevent |
| Maintenance | Abandoned 3,442 days since the last release |
| First released | |
| Downloads | 1,132,974 / month, #4,314 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: gevent_websocket-0.10.1-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 › “real-time messaging gevent”
- gevent-websocketProvides WebSocket support for gevent-based WSGI servers, enabling…
- websocketProvides WebSocket protocol support for gevent-based applications,…
- bottle-websocketAdds WebSocket support to the Bottle web framework by integrating…
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 bottle-websocket · websocket · flask-sock · websocket-client · wslink · ws4py · simple-websocket · Flask-SocketIO · wsgiref · locust-cloud