{"id":15024916,"url":"https://github.com/miguelgrinberg/flask-socketio","last_synced_at":"2025-05-13T15:04:25.919Z","repository":{"id":13961734,"uuid":"16662094","full_name":"miguelgrinberg/Flask-SocketIO","owner":"miguelgrinberg","description":"Socket.IO integration for Flask applications.","archived":false,"fork":false,"pushed_at":"2025-01-06T23:45:21.000Z","size":935,"stargazers_count":5443,"open_issues_count":8,"forks_count":897,"subscribers_count":106,"default_branch":"main","last_synced_at":"2025-05-05T22:41:36.618Z","etag":null,"topics":["flask","flask-socketio","python","socket-io","websocket"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jashkenas/backbone","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miguelgrinberg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"miguelgrinberg","patreon":"miguelgrinberg","custom":"https://paypal.me/miguelgrinberg"}},"created_at":"2014-02-09T07:22:50.000Z","updated_at":"2025-05-05T14:54:42.000Z","dependencies_parsed_at":"2023-12-18T22:24:28.181Z","dependency_job_id":"f4f3861a-e94e-4b17-bc76-501bd0f2031f","html_url":"https://github.com/miguelgrinberg/Flask-SocketIO","commit_stats":{"total_commits":439,"total_committers":70,"mean_commits":6.271428571428571,"dds":0.5375854214123007,"last_synced_commit":"279bba4e373cc38aa7b7697ff47685235a48c477"},"previous_names":[],"tags_count":92,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelgrinberg%2FFlask-SocketIO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelgrinberg%2FFlask-SocketIO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelgrinberg%2FFlask-SocketIO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelgrinberg%2FFlask-SocketIO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miguelgrinberg","download_url":"https://codeload.github.com/miguelgrinberg/Flask-SocketIO/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253968729,"owners_count":21992257,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","flask-socketio","python","socket-io","websocket"],"created_at":"2024-09-24T20:01:10.325Z","updated_at":"2025-05-13T15:04:20.906Z","avatar_url":"https://github.com/miguelgrinberg.png","language":"Python","funding_links":["https://github.com/sponsors/miguelgrinberg","https://patreon.com/miguelgrinberg","https://paypal.me/miguelgrinberg","https://github.com/sponsors/miguelgrinberg)?"],"categories":[],"sub_categories":[],"readme":"Flask-SocketIO\n==============\n\n[![Build status](https://github.com/miguelgrinberg/flask-socketio/workflows/build/badge.svg)](https://github.com/miguelgrinberg/Flask-SocketIO/actions) [![codecov](https://codecov.io/gh/miguelgrinberg/flask-socketio/branch/main/graph/badge.svg)](https://codecov.io/gh/miguelgrinberg/flask-socketio)\n\nSocket.IO integration for Flask applications.\n\nSponsors\n--------\n\nThe following organizations are funding this project:\n\n![Socket.IO](https://images.opencollective.com/socketio/050e5eb/logo/64.png)\u003cbr\u003e[Socket.IO](https://socket.io)  | [Add your company here!](https://github.com/sponsors/miguelgrinberg)|\n-|-\n\nMany individual sponsors also support this project through small ongoing contributions. Why not [join them](https://github.com/sponsors/miguelgrinberg)?\n\nInstallation\n------------\n\nYou can install this package as usual with pip:\n\n    pip install flask-socketio\n\nExample\n-------\n\n```py\nfrom flask import Flask, render_template\nfrom flask_socketio import SocketIO, emit\n    \napp = Flask(__name__)\napp.config['SECRET_KEY'] = 'secret!'\nsocketio = SocketIO(app)\n\n@app.route('/')\ndef index():\n    return render_template('index.html')\n\n@socketio.event\ndef my_event(message):\n    emit('my response', {'data': 'got it!'})\n\nif __name__ == '__main__':\n    socketio.run(app)\n```\n\nResources\n---------\n\n- [Tutorial](http://blog.miguelgrinberg.com/post/easy-websockets-with-flask-and-gevent)\n- [Documentation](http://flask-socketio.readthedocs.io/en/latest/)\n- [PyPI](https://pypi.python.org/pypi/Flask-SocketIO)\n- [Change Log](https://github.com/miguelgrinberg/Flask-SocketIO/blob/main/CHANGES.md)\n- Questions? See the [questions](https://stackoverflow.com/questions/tagged/flask-socketio) others have asked on Stack Overflow, or [ask](https://stackoverflow.com/questions/ask?tags=python+flask-socketio+python-socketio) your own question.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiguelgrinberg%2Fflask-socketio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiguelgrinberg%2Fflask-socketio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiguelgrinberg%2Fflask-socketio/lists"}