This is a simple Streamlit application that demonstrates the use of multiple pages and utility functions.
streamlit-app
├── src
│ ├── app.py # Main entry point of the Streamlit application
│ ├── pages
│ │ └── page2.py # Second page of the Streamlit application
│ └── utils
│ └── helpers.py # Utility functions for the application
├── data
│ └── sample_data.csv # Sample data for demonstration
├── requirements.txt # Python dependencies
├── .gitignore # Files to ignore in Git
└── README.md # Project documentation
-
Clone the repository:
git clone <repository-url> cd streamlit-app -
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate` -
Install the required packages:
pip install -r requirements.txt
To run the Streamlit application, execute the following command:
streamlit run src/app.py
- Navigate through the application using the sidebar to access different pages.
- The main page is defined in
src/app.py, and additional functionality can be found insrc/pages/page2.py. - Utility functions can be found in
src/utils/helpers.pyfor data processing and visualization.
Feel free to submit issues or pull requests for improvements or additional features.
This project is licensed under the MIT License.