Skip to content

A simple framework in python to create multi page web application using streamlit

Notifications You must be signed in to change notification settings

upraneelnihar/streamlit-multiapps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

streamlit-multiapps

A simple framework in python to create multi page web application using streamlit.

How to Run

  1. Clone the repository:
$ git clone git@github.com:upraneelnihar/streamlit-multiapps
$ cd streamlit-multiapps
  1. Install dependencies:
$ pip install -r requirements.txt
  1. Start the application:
streamlit run app.py

How to add new app

  1. Add a new python file in apps/ folder with a function named app.
# apps/new_app.py

import streamlit as st

def app():
    st.title('New App')
  1. Now add it to app.py
from apps import newapp # import your app modules here

app = MultiApp()

# Add all your application here
app.add_app("New App", newapp.app)

That's it your new app is added to your application and is live in default browser.

About

A simple framework in python to create multi page web application using streamlit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages