{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content"}],"enrichment":{"capability":"Adds WebSocket support to Flask applications without requiring greenlet-based servers, working with the Flask development server and production deployments via Gunicorn, Eventlet, or Gevent.","skillfed_tags":["websocket","real-time-communication","flask-extension"],"use_cases":["Build real-time chat or notification systems in Flask without switching to a specialized async framework.","Add live data streaming or dashboard updates to existing Flask applications.","Implement collaborative editing or multiplayer features where clients need instant server-to-client messaging.","Create interactive debugging or monitoring tools that push status updates to connected clients.","Develop browser-based games or interactive applications requiring low-latency bidirectional communication."],"what_it_does":"flask-sock is a Flask extension that adds WebSocket support to your application. Unlike some alternatives, it does not require a greenlet-based application server to function\u2014it works out of the box with Flask's development server and can be deployed to production using standard WSGI servers like Gunicorn alongside Eventlet or Gevent for async handling. The extension integrates cleanly into Flask's routing model, letting you decorate handler functions to receive and send WebSocket messages.\n\nThe package depends on flask and simple-websocket for its core functionality. It's designed for developers who want bidirectional communication in Flask applications without the overhead of setting up a specialized server environment during development. For production, you pair it with an appropriate deployment strategy\u2014Gunicorn with Eventlet or Gevent workers, or a standalone Eventlet/Gevent server.","worth_installing":"Yes, if you need WebSocket support in Flask and want to avoid greenlet-based servers during development. The package is actively maintained, has no known vulnerabilities, installs with minimal friction, and uses a permissive MIT license. It's well-suited for adding real-time features to existing Flask projects without major architectural changes."},"id":"flask-sock","links":{"html":"https://skillfed.io/packages/flask-sock","md":"https://skillfed.io/packages/flask-sock.md","pypi":"https://pypi.org/project/flask-sock/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-10-02","license_spdx":null,"license_treatment":"permissive","name":"flask-sock","python_support":"supports_current","summary":"WebSocket support for Flask"},"popularity":{"monthly_downloads":2103188,"position":3294,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.7.0"}
