This is a simple basketball stat tracking app built using Python and Streamlit. It allows you to easily record game stats, visualize player performance, and manage teams and players.
- Player & Team Management: Add, view, and manage players and teams.
- Game Stats Recording: Record game stats for each player, including points, rebounds, assists, steals, blocks, and turnovers.
- Data Visualization: Visualize individual player stats using interactive bar charts. Each player's chart is color-coded for easy comparison.
- Total Stats: View a table summarizing the total stats for all players.
- Data Deletion: Delete individual stat records.
- Data Export: Export all recorded stats to a CSV file for further analysis.
-
Clone the repository:
git clone https://github.com/peterkure3/basketball_tracker.git
-
Install dependencies:
pip install -r requirements.txt
-
Run the app:
streamlit run main.py
- Add Teams: Start by adding the teams that will be playing.
- Add Players: Add players to each team.
- Record Game Data: Enter the date of the game, select a player, and record their stats for that game.
- Visualize Stats: View the interactive bar charts to compare player performance.
- Export Data: Download all recorded stats as a CSV file.
Contributions are welcome! Feel free to open an issue or submit a pull request if you have any suggestions or improvements.