A Streamlit-based Cricket Analytics Dashboard that integrates with the Cricbuzz API and a local database to provide live match updates, top player stats, and database CRUD operations.
-
Home Page
- Project description, tools used, navigation guide.
- Shows folder structure and documentation links.
-
Live Matches Page
- Displays ongoing matches using Cricbuzz API.
- Live scorecards with batsmen, bowlers, match status, and venue details.
-
Top Player Stats Page
- Shows batting and bowling leaders (most runs, highest scores, most wickets, etc.).
- Data visualized with charts and tables.
-
CRUD Operations Page
- Perform Create, Read, Update, Delete on player and match data.
- Uses forms to interact with the database (SQLite/MySQL/PostgreSQL).
-
SQL Queries Page
- Predefined optimized queries for learning (joins, aggregations, indexing tips).
- Interactive examples for filtering and performance tuning.
- Frontend/UI β Streamlit
- Backend/API β Cricbuzz API (via RapidAPI / open endpoints)
- Database β SQLite (default), MySQL, or PostgreSQL
- Python Libraries:
requestssqlite3/mysql-connector-python/psycopg2pandasstreamlit
cricbuzz_livestats/
βββ requirements.txt # Python dependencies
βββ README.md # Project documentation
βββ cricbuzz.db # SQLite database (sample)
β
βββ pages/
β βββ Home.py # Home page
β βββ live_matches.py # Live Matches page
β βββ top_stats.py # Top Player Stats page
β βββ crud_operations.py # CRUD Operations page
β βββ sql_queries.py # SQL Queries page
β
βββ utils/
β βββ db_connection.py # Database connection handler