Flask-SocketIO is an extension for the Flask web framework that enables real-time bi-directional communication between clients and servers using WebSockets or long-polling fallbacks, making it possible to build interactive applications like chat systems, live dashboards, and collaborative tools. It abstracts the complexities of asynchronous sockets by providing a familiar Flask-style API where developers can define event handlers that trigger on client messages, broadcast to connected users, and manage namespaces and rooms. The extension supports multiple asynchronous workers through integrations with popular async servers like eventlet or gevent, allowing scalable handling of concurrent connections. It also includes features such as session and user tracking across socket connections, JSON message support, and simple decorators to bind events to handler functions.

Features

  • Real-time bi-directional communication support
  • Event-based API for socket message handling
  • Room and namespace support for advanced routing
  • Integration with async servers (eventlet/gevent)
  • Session and user tracking across connections
  • JSON payload handling

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Flask-SocketIO

Flask-SocketIO Web Site

Other Useful Business Software
Simplify Purchasing For Your Business Icon
Simplify Purchasing For Your Business

Manage what you buy and how you buy it with Order.co, so you have control over your time and money spent.

Simplify every aspect of buying for your business in Order.co. From sourcing products to scaling purchasing across locations to automating your AP and approvals workstreams, Order.co is the platform of choice for growing businesses.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Flask-SocketIO!

Additional Project Details

Programming Language

Python

Related Categories

Python Libraries

Registered

2026-01-23