Streamlit is the open-source Python library that helps web developers in creating new applications quickly. Not only a simple Python script is converted to the web application by using Streamlit but also widgets and dashboards can be added to the application.
In this video i will show you how to install Streamlit on your server.
Useful Links:
VPS/VDS - https://www.mivocloud.com/
WARNING - ANGLED BRACKETS AREN'T ALLOWED IN DESCRIPTION SO BE ATTENTIVE TO THE VIDEO IN NANO EDITOR
Commands Used:
sudo apt update && apt upgrade -y
sudo apt install python3-pip -y
pip --version
pip install streamlit
nano myFirst_Application.py
import streamlit as st
#Name the Application's Title
st.title("First Application Using the Streamlit")
#Add side bar options
option = st.sidebar.selectbox("Select an option:", ["Option 1", "Option 2", "Option 3"])
To display text
st.write(f"You selected: {option}")
streamlit run myFirst_Application.py