Request: tutorial for Socket.IO via `python-socketio` integration
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- documentation
Research direction
Start with the Advanced features article and review the linked Streamlit discussions alongside the python-socketio integration request. Define the tutorial scope around a comprehensive Streamlit demo that streams logs from a back end to a front end; done means the integration and this use case are clearly documented.
Written by the indexing model from the issue text.
Description
Summary
I am trying to use Socket.IO via python-socketio to stream logs from my back end to my Streamlit front end.
There are a few Streamlit discussions on working with Socket.IO, but none are "complete":
- https://discuss.streamlit.io/t/using-session-state-within-socketio-client-events/45774
- https://discuss.streamlit.io/t/callback-hook-on-a-state-change/29529
- https://discuss.streamlit.io/t/is-there-a-way-to-create-a-streamlit-app-thats-the-same-for-everyone-more-in-description/40180
The request is to make a comprehensive demo of Streamlit working with python-socketio. It would be cool if the demo involved my somewhat simple use case, which is streaming logs from the back end to the front end.
Why?
Socket.IO (basically abstraction for WebSockets) is a way of enabling real-time bidirectional communication between back end and front end. I think it's a common tool.
How?
Perhaps an Advanced features article
Additional Context
No response
- Dominant language
- JavaScript
- Stars
- 178
- Forks
- 705
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 39
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from streamlit/docs
-
docs needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
docs needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
docs
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
docs needs triage
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
bug needs triage
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
status: needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100