--- id: gevent-websocket version: "0.10.1" license: Copyright 2011-2017 Jeffrey Gelens license_treatment: unclear maintenance: abandoned --- # gevent-websocket — Websocket handler for the gevent pywsgi server, a Python network library License: unclear · Maintenance: abandoned · Downloads: 1.1M/mo ## 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 above — verify before relying. Provides WebSocket support for gevent-based WSGI servers, enabling real-time bidirectional communication over HTTP with both high-level and low-level APIs. 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 pip install gevent-websocket uv add gevent-websocket poetry add gevent-websocket ## Installing gevent-websocket 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. 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() Requires gevent to be installed and working; intended for use with gevent-based WSGI servers. 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: Copyright 2011-2017 Jeffrey Gelens (unclear) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 1.1M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags websocket gevent server, real-time messaging gevent, websocket wsgi handler, gevent websocket library, bidirectional communication gevent, websocket application framework, gevent pywsgi websocket, abandoned-package, gevent-ecosystem, legacy-code [View on SkillFed](https://skillfed.io/packages/gevent-websocket) · [View on PyPI](https://pypi.org/project/gevent-websocket/)