Skip to content

Instantly share code, notes, and snippets.

Avatar
🚀

Franz Diebold FranzDiebold

🚀
View GitHub Profile
@FranzDiebold
FranzDiebold / SessionState.py
Last active Nov 26, 2020 — forked from tvst/SessionState.py
A possible design for doing per-session persistent state in Streamlit
View SessionState.py
# https://gist.github.com/FranzDiebold/898396a6be785d9b5ca6f3706ef9b0bc
"""Hack to add per-session state to Streamlit.
Works for Streamlit >= v0.65
Usage
-----
>>> import SessionState
>>>
You can’t perform that action at this time.