This project is a Python-based dashboard template using the ttkbootstrap
library. The dashboard includes a top navigation bar, a side menu, and a main content area. The side menu allows switching between different pages such as Home, Tables, Charts, Forms, Buttons, and Modals.
- Responsive Layout: The dashboard adapts to various screen sizes.
- Theming: Utilizes
ttkbootstrap
for modern and visually appealing UI components. - Dynamic Content: Easily switch between different pages using side menu buttons.
- Modular Code: Clean and maintainable code structure for adding new features and pages.
- Python 3.x
ttkbootstrap
library
-
Clone the repository:
git clone https://github.com/Hillary520/python_dashboard_template.git cd python_dashboard_template
-
Create a virtual environment and activate it (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the required packages:
pip install ttkbootstrap
-
Run the application:
python main.py
-
The dashboard window will open with a top bar, side menu, and main content area.
-
Use the side menu buttons to navigate between different pages.
- main.py: The main script that sets up the dashboard layout and handles page navigation.
- README.md: Project documentation.
- Fork the repository:
- Create a new branch:
git checkout -b feature-branch
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature-branch
- Open a pull request.