Request: tutorial for Socket.IO via `python-socketio` integration

Open
#944 6 comments 15 reactions 0 assignees View on GitHub

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":

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from streamlit/docs

All issues in streamlit/docs

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.