Skip to content

Cricket Team Manager is a PyQt6 desktop application integrated with SQLite for creating and managing cricket teams. Users can manage player stats, build teams within budget limits, and evaluate performance based on match data. This tool is ideal for cricket enthusiasts who want to analyze and manage teams effectively.

License

Notifications You must be signed in to change notification settings

magi8101/Fantasy-Cricket-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏏 Cricket Team Manager

Cricket Team Manager is a desktop application designed for cricket enthusiasts. Built with PyQt6 and SQLite, this app enables users to create cricket teams, manage players, and evaluate team performance using real cricket stats. It's a versatile tool for team management and performance analysis.


🌟 Features

  • 📋 Player Management: Add, view, and manage players with detailed stats like runs, wickets, and matches.
  • 🏏 Team Creation: Build custom teams with predefined budgets and player categories.
  • 📊 Score Evaluation: Analyze team performance based on detailed match statistics.
  • 💾 Data Persistence: Player and team data is stored securely in an SQLite database.

🛠️ Technologies Used

  • Python: Core language for the project.
  • PyQt6: Used to create an intuitive graphical user interface.
  • SQLite: Database for managing player and team data.

📋 Prerequisites

Before running the application, ensure you have:

  • Python 3.x installed.
  • PyQt6 library (pip install pyqt6).
  • SQLite3 (comes pre-installed with Python).

🚀 Getting Started

Step 1: Clone the Repository

git clone https://github.com/your-username/Cricket-Team-Manager.git
cd Cricket-Team-Manager

Step 2: Install Dependencies

pip install pyqt6

Step 3: Run the Application

To launch the Cricket Team Manager, execute:

python fantasy_cricket.py

This will open the GUI where you can create and manage your cricket teams.


🛠️ Converting .ui to .py

If you modify the .ui file, convert it using the following steps:

Install PyQt6 Tools

pip install pyqt6-tools

Convert .ui to .py:

🛠️

If you modify the .ui file, convert it using the following steps:

Step 1: Install PyQt6 Tools

pip install pyqt6-tools

Step 2: Convert .ui to .py

pyuic6 fantasy_cricket.ui -o fantasy_cricket.py
pyuic6 fantasy_cricket.ui -o fantasy_cricket.py

📂 Project Structure

  • fantasy_cricket.ui: UI file created with Qt Designer.
  • fantasy_cricket.py: Python script for app logic and database integration.
  • fantasy_cricket.db: SQLite database auto-generated for storing player and team data.

📌 Additional Notes

  • Player categories (e.g., batsman, bowler) are dynamically fetched from the database.
  • A budget system ensures balanced team creation.
  • Data is persistent and auto-saved in the database.

📝 License

This project is licensed under the MIT License.


Enjoy managing your cricket teams with Cricket Team Manager! 🏆

About

Cricket Team Manager is a PyQt6 desktop application integrated with SQLite for creating and managing cricket teams. Users can manage player stats, build teams within budget limits, and evaluate performance based on match data. This tool is ideal for cricket enthusiasts who want to analyze and manage teams effectively.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages