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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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

1 day ago