MCPcopy Index your code
hub / github.com/bvenkatesh-ai/streamlit_pages

github.com/bvenkatesh-ai/streamlit_pages @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
5 symbols 7 edges 4 files 1 documented · 20% updated 4y ago★ 75
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

streamlit_pages

Installation

$ pip install streamlit-pages

Features

  • Adding multiple pages to streamlit
  • Sharing specific pages

Usage

 import streamlit as st
 from streamlit_pages.streamlit_pages import MultiPage


def home():
    st.write("Welcome to home page")
    if st.button("Click Home"):
        st.write("Welcome to home page")


def about():
    st.write("Welcome to about page")
    if st.button("Click about"):
        st.write("Welcome to About page")


def contact():
    st.write("Welcome to contact page")
    if st.button("Click Contact"):
        st.write("Welcome to contact page")


# call app class object
app = MultiPage()
# Add pages
app.add_page("Home",home)
app.add_page("About",about)
app.add_page("Contact",contact)
app.run()

Alt text

Contributors

We welcome and recognize all contributions. You can see a list of current contributors in the contributors tab.

Credits

Core symbols most depended-on inside this repo

get_position
called by 1
src/streamlit_pages/streamlit_pages.py
add_page
called by 0
src/streamlit_pages/streamlit_pages.py
run
called by 0
src/streamlit_pages/streamlit_pages.py

Shape

Method 3
Class 1
Function 1

Languages

Python100%

Modules by API surface

src/streamlit_pages/streamlit_pages.py5 symbols

For agents

$ claude mcp add streamlit_pages \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact