A Python module for aggregating Kabaddi data
Project description
ProKabaddi API - Data collection and analysis tools for professional Kabaddi leaguesFeatures • Installation • Usage • Contributing • License • Documentation |
---|
Kabaddi Data Aggregator is a Python module that provides tools for collecting and analyzing data from professional Kabaddi leagues. It uses web scraping techniques to gather information about teams, players, and match statistics from various online sources.
Installation
Please install the development version of ProKabaddi_API
using pip:
pip install pro_kabaddi_data
Deployed here: https://pypi.org/project/pro-kabaddi-data/
Usage
Here's a quick minimal example of how to get started with the Kabaddi Data Aggregator:
from prokabaddidata import prokabaddidata
# Initialize the aggregator
api = kabaddiPy.KabaddiDataAPI()
# Get all player information for a specific team
players_info = api.get_team_matches(7, 4)
For more detailed usage instructions and API documentation, please refer to our documentation page.
Features
Here are our current features. New and better features are actively being developed!!
Current season standings
standings = aggregator.team_season_standings(team=None, rank=None)
Return the current season rankings of all teams by default
Parameters
- team (str, optional): Get season rank by team name
- rank (int, optional): Get team by season rank
Player Performance
stats = aggregator.player_performance("team="Bengal Warriors")
Returns career level player metrics. team
should be specified.
Loading Lifetime Data
player_df = aggregator.load_data(PlayerDetails=True, TeamDetails = False, TeamMembers = False)
Defaults to loading lifetime player data for all teams.
Parameters
- PlayerDetails (bool): Loads player details into a DataFrame. Default is
True
. - TeamDetails (bool): Loads team-level statistics into a DataFrame. Default is
False
. - TeamMembers (bool): Loads the details of current team members into a DataFrame. Default is
False
.
Team level stats
teamstats = aggregator.team_level_stats(season=None)
Returns team-level stats by season. Defaults to latest season.
Contributing
We welcome contributions to the Kabaddi Data Aggregator project! If you'd like to contribute, please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature-name
) - Make your changes
- Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin feature/your-feature-name
) - Create a new Pull Request
License
This project is licensed under the GPL-2.0 License - see the LICENSE file for details.
Acknowledgments
- Thanks to the various website owners for providing the data sources
Contact
If you have any questions, feel free to reach out to [Aniruddha Mukherjee] at [mukh.aniruddha@gmail.com] or open an issue in the GitHub repository.
Made with ❤️ for Kabaddi enthusiasts and data analysts
Please star this repository if you found it helpful! Your support is greatly appreciated.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for kabaddiPy-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80bb3140411d3057b97e0b3aeaecfb2014b369e3d145abd350c4a24e719f4394 |
|
MD5 | 068199d87437a77697dc407ee178db1e |
|
BLAKE2b-256 | 5332de30970b14469f054cf2b33e1fb615c78d01c1d9674ac7840fd0cce63305 |