Skip to content

fayzi-dev/Streamlit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streamlit

Streamlit turns data scripts into shareable web apps in minutes. All in pure Python. No front‑end experience required. (https://streamlit.io/)

Great! Here are some common Streamlit tags and components you can use:

  1. Text and Display:

    • st.title(): Displays a title.
    • st.header(): Displays a header.
    • st.subheader(): Displays a subheader.
    • st.text(): Displays plain text.
    • st.markdown(): Renders Markdown text.
  2. Data Display:

    • st.dataframe(): Displays a DataFrame.
    • st.table(): Displays a static table.
    • st.json(): Displays JSON data.
  3. Input Widgets:

    • st.button(): Creates a button.
    • st.slider(): Creates a slider for selecting a range of values.
    • st.selectbox(): Creates a dropdown select box.
    • st.multiselect(): Allows selecting multiple options.
    • st.text_input(): Text input field.
    • st.text_area(): Multiline text input.
  4. Media:

    • st.image(): Displays an image.
    • st.audio(): Plays an audio file.
    • st.video(): Plays a video.
  5. Layout and Containers:

    • st.sidebar: Creates a sidebar for widgets.
    • st.container(): A container for grouping elements.
    • st.expander(): Collapsible section for additional content.
  6. Progress and Status:

    • st.progress(): Displays a progress bar.
    • st.spinner(): Displays a spinner while executing code.
    • st.balloons(): Triggers a fun animation.
  7. Charts and Visualization:

    • st.line_chart(): Displays a line chart.
    • st.bar_chart(): Displays a bar chart.
    • st.map(): Displays data on a map.

Releases

No releases published

Packages

No packages published

Languages