so far I only see the use case for that in development.
I agree. We’ve been thinking about how to solve that one lately. One idea is: when developing a Streamlit app you’d use streamlit run myname.py
as usual, but when serving it to users you’d use streamlit serve myname.py
.
The latter would start the app normally except:
- The hamburger menu have fewer items (or maybe it wouldn’t be there at all, as you propose)
- Streamlit would not watch your filesystem for changes
- Probably some other stuff
I started a feature request to track this here: Ability to hide the hamburger menu · Issue #395 · streamlit/streamlit · GitHub