Skip to content
Kiranbanda2001Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🏏 Cricbuzz LiveStats

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.


πŸš€ Features

πŸ“Œ Pages

  1. Home Page

    • Project description, tools used, navigation guide.
    • Shows folder structure and documentation links.
  2. Live Matches Page

    • Displays ongoing matches using Cricbuzz API.
    • Live scorecards with batsmen, bowlers, match status, and venue details.
  3. Top Player Stats Page

    • Shows batting and bowling leaders (most runs, highest scores, most wickets, etc.).
    • Data visualized with charts and tables.
  4. CRUD Operations Page

    • Perform Create, Read, Update, Delete on player and match data.
    • Uses forms to interact with the database (SQLite/MySQL/PostgreSQL).
  5. SQL Queries Page

    • Predefined optimized queries for learning (joins, aggregations, indexing tips).
    • Interactive examples for filtering and performance tuning.

πŸ› οΈ Tech Stack

  • Frontend/UI β†’ Streamlit
  • Backend/API β†’ Cricbuzz API (via RapidAPI / open endpoints)
  • Database β†’ SQLite (default), MySQL, or PostgreSQL
  • Python Libraries:
    • requests
    • sqlite3 / mysql-connector-python / psycopg2
    • pandas
    • streamlit

πŸ“‚ Project Structure

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages