An open API service indexing awesome lists of open source software.

https://github.com/sam0per/streamlit-release

Demonstrating the new features in Streamlit
https://github.com/sam0per/streamlit-release

python streamlit

Last synced: about 1 month ago
JSON representation

Demonstrating the new features in Streamlit

Awesome Lists containing this project

README

          

# Streamlit v1.44.0 Features Demo

This application demonstrates the new features introduced in Streamlit v1.44.0.

## Features Showcased

- **Advanced Theming Options**: Custom fonts, sizes, and roundness
Theming Options

- **st.badge Element**: Colored badges for status indicators
Colored Badges

- **Streamlined Initialization**: The new `streamlit init my_new_app` command generates all the necessary local files for a new app:
- Creates a basic app.py file
- Generates a .streamlit folder with config.toml
- Sets up a requirements.txt file
- Creates a README.md template

- **Enhanced Exception Handling**: Better error displays with helpful links to Google and ChatGPT
Exception Handling

- **User Locale Access**: Access user's locale via `st.context`
Locale Access

## Running the App

1. Install the requirements:
```
pip install -r requirements.txt
```

2. Run the app:
```
streamlit run app.py
```

## Structure

- `app.py`: Main entry point
- `pages/`: Individual pages for each feature
- `.streamlit/config.toml`: Theme configuration
- `utils/helpers.py`: Utility functions

## Requirements

- Streamlit v1.44.0 or higher