The st.expander widget in Streamlit allows you to toggle visibility of a section of content. This is useful for organizing information and keeping the user interface clean by hiding less important details until the user chooses to view them.Users can click on the expander header to expand or collapse the content inside it. Need a Streamlit […]
Streamlit Popup
we can write pop ups using st.dialogThe st.dialog feature in Streamlit allows you to create pop-up dialog boxes in your web application. These dialog boxes can be used to display information, gather user input, or confirm actionsA function decorated with @st.dialog becomes a dialog function. When you call a dialog function, Streamlit inserts a modal […]
Streamlit Plotly
Plotly is a charting library for Python, used for building interactive and animated data visualizations Streamlit supports Plotly through the st.plotly_chart() function.This function takes a Plotly figure object as input and renders it in the Streamlit app.You can create a variety of charts using Plotly, including line charts, bar charts, scatter plots, pie charts, and […]
Streamlit Line Chart
A line chart visualization component for Streamlitst.line_chart() is used to create simple line charts from data.It is a high-level API that abstracts away the complexities of chart creation.Streamlit uses Altair under the hood for rendering line charts.The line chart is interactive, allowing users to hover over points to see values.It is particularly useful for visualizing […]
Streamlit Caching
Streamlit runs your script from top to bottom whenever you interact with the app.This execution model makes development super easy. But it comes with two major challenges: 1. Long-running functions run again and again, which slows down your app.2. Objects get recreated again and again, which makes it hard to persist them across reruns or […]
n8n pdf generator
Companies often have to generate the same pdf or document files numerous times in a work week. I wanted to see if there was a shortcut to automate this process in n8n. My idea was to go from a central spreadsheet (Google Sheets or an Excel file), extract the info 1 row at a time, […]
Streamlit Map
st.map() is indeed used to visualize geospatial data on an interactive map.It plots points based on latitude and longitude coordinates.Streamlit internally uses PyDeck, which is built on Deck.gl (a WebGL-powered visualization framework).By default, Streamlit uses Mapbox tiles for rendering the background map Need a Streamlit Developer: Click Here Syntax: st.map(data=None, *, latitude=None, longitude=None, color=None, size=None, zoom=None, […]
Streamlit Write
This is the Swiss Army Knife of Streamlit commands.It does different things depending on what you throw at it. The st.write() function in Streamlit is a universal display function.It automatically detects the type of data we pass to it and renders it in the best possible format Need a Streamlit developer? Click Here Basic Syntax *args basically […]
Streamlit Emojis
Emojis have become a universal visual language.They are often utilized in applications and websites to:Design the UI to be inviting and captivating.Display status updates (✅, ❌, ⚠️)Deliver immediate visual feedbackImprove data dashboards 📊 Streamlit does not have a dedicated emoji widget; however, it permits the use of emojis in any text field. Headings and Titles Buttons and checkboxes Tables […]
Streamlit Text Area
st.text_area displays a multi-line text input widget It is used when we want users to enter large amounts of text such as feedback, descriptions , comments, e,t,cNeed a Streamlit developer? Click here Syntax st.text_area(label, value=””, height=None, max_chars=None, key=None, help=None, on_change=None, args=None, kwargs=None, *, placeholder=None, disabled=False, label_visibility=”visible”, width=”stretch”) Parameter Type Default Description label str Required The […]
