Streamlit_pages:

Excited to share the add on streamlit_pages for streamlit which helps you to add navigation/menu. You can run multiple apps. You can share a particular page.
I have done using streamlit session state and query parameters. This cannot be done without inspiration from upraneelnihar and streamlit discussion forum. Thanks a lot for streamlit

Check out the example

show

2 Likes

That’s a cool app, thanks for sharing it with us on the forum!

Happy Streamlitin’! :balloon::raised_hands:

Best,
Charly

I am trying to run the Github example, but it fails at the imports:

import streamlit as st
import streamlit_pages.streamlit_pages import MultiPage
def home():

I edited, but then …

import streamlit as st
import streamlit_pages.streamlit_pages
import MultiPage
def home():

I get:

import MultiPage
ModuleNotFoundError: No module named ‘MultiPage’

Oh, of course … silly me… :roll_eyes:
This works:

import streamlit as st
from streamlit_pages.streamlit_pages import MultiPage

Might be good if the author corrected the typo on the Github repo, in order not to confuse more people.
@Venkatesh

Thank you @RayJ
Corrected in the github.

1 Like