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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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