Streamlit allows us to view data(data visualization).It provides simple API’s for data visualization and supports both built-in charts and third party librariesStreamlit also have interactive charting libraries live Vega Lite(2D charts) and deck.gl(maps and 3D charts)and it provides chart types that are native to Streamlit, like st.line_chart and st.area_chart Need a Streamlit? Click Here Built-in […]
Streamlit Progress Bar
This displays a progress bar.In Streamlit, we use st.progress() to display a horizontal progress bar.st.progress(value, text=None) Need a Streamlit developer? Click here Parameter Type Default Description value int 0 Sets the initial progress (0–100). text str (optional) None Displays a label above the progress bar. width “stretch” or int “stretch” The width of the progress bar. […]
Streamlit Components
Streamlit components are basically UI elements that allows users to interact with your app,and displays data visualizations, forms, charts and more. Need a Streamlit developer? Click here Streamlit Built-in Components Component Description Example st.title Displays a large title st.title(“My Streamlit App”) st.header Displays a header st.header(“Section Header”) st.subheader Displays a smaller header st.subheader(“Subsection”) st.write General-purpose text […]
Streamlit Pages
Streamlit Pages allows us to create multi-pages apps for better navigation, structure and modularity.It helps us split our app into smaller pages.Some benefits of Streamlit Pages includesOrganized structure for large apps. Easy navigation through sidebar or custom menus. Reusable logic across pages. Better user experience. Setting up pagesStreamlit automatically recognizes a pages directory inside an […]
Streamlit Container
Inserts an invisible container into your app that can be used to hold multiple elements.This allows you to, for example, insert multiple elements into your app out of order. A container on Streamlit is a layout block that lets us group multiple elements together.It is useful when we want to have better control over the arrangement […]
Streamlit Checkbox
st.checkbox display a checkbox widget.st.checkbox() widget in Streamlit is used to get boolean input from users.we can check True(checked) or False(unchecked). Need a Streamlit developer?: Click here Syntax st.checkbox(label, value=False, key=None, help=None, on_change=None, args=None, kwargs=None, disabled=False) ParametersParameter Type Descriptionlabel str Text displayed next to the checkboxvalue bool Default state (False = unchecked, True = checked)key str / […]
Streamlit Form
Streamlit Form A form is a container that visually groups other elements and widgets together, and contains a Submit button. When the submit button is pressed, all widget values inside the form will be sent to Streamlit in a batch To add elements to a form object, we can use the “with” notation (more preferred), […]
Streamlit dropdown
Dropdowns are compact ways to present multiple options, prevents invalid inputs and it’s great for filtering and navigation. we can have two types of dropdowns in streamlit st.selectbox: single selectionst.multiselect: multiple selections Need a Streamlit developer?: Click here Simple Selectbox Basic dropdown features we can set a default value, customize labels and values and enable search within […]
Streamlit Session State
By default, Streamlit re-runs your script top to bottom whenever a user interacts with a widgetWhat this means is that all variables resets unless you use Session State Need a Streamlit developer?: Click Here Introduction st.session_state allows us toPreserve values across rerunsStore user inputs, counters or configurationsShare data between widgets and callbacksMange app state like in […]
Streamlit Text Input
The st.text_input() widget is used to accept single line text input from users in Streamlit apps.It displays a single-line text input widgetIt is commonly used for: Usernames and passwords Search bars Form entries Dynamic filtering Are you looking for a streamlit developer? Click Here Parameters let’s quickly talk about some of the parameters in st.text_input() […]
