A Python module for aggregating Kabaddi data
Project description
kabaddiPy - 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 kabaddiPy
using pip:
pip install kabaddiPy
Deployed here: https://pypi.org/project/kabaddiPy/
Quick Function Overview
Usage
Here's a quick minimal example of how to get started with the Kabaddi Data Aggregator:
import kabaddiPy
# Get roster for a specific team for a specific season
team_roster = api.build_team_roster(team_id=3, season=1)
print(team_roster)
For more detailed usage instructions and API documentation, please refer to our documentation page.
Features
KabaddiPy offers a comprehensive set of features for analyzing Pro Kabaddi League (PKL) data. Here are some of the key functionalities:
Season Standings
standings = api.get_pkl_standings(season=9, qualified=True)
Retrieve PKL standings for a specific season, with options to filter for qualified teams.
Match Data
season_matches = api.get_season_matches(season=6)
Get detailed information about all matches in a specific season.
Team Information
team_info = api.get_team_info(season=6, team_id=29)
Access comprehensive team statistics, including rankings, absolute values, and per-match metrics.
Player Information
player_info = api.get_player_info(player_id=660, season=9)
Retrieve detailed player statistics, including rankings, performance metrics, and Raider vs. Defender (RVD) data.
Match Details
match_details = api.load_match_details(season=9, match_id='2895')
Access comprehensive match data, including events, team performances, and breakdown statistics.
Play-by-Play Data
pbp_data = api.load_pbp(season=9, match_id='2895')
Get detailed play-by-play data for specific matches.
Team Roster
team_roster = api.build_team_roster(season=9, team_id=3)
Generate a comprehensive roster for a specific team in a given season.
Visualization Tools
api.plot_player_zones(player_id=143, season=5, zone_type='strong')
api.plot_team_zones(team_id=4, season=5, zone_type='strong')
api.plot_point_progression(season=10, match_id=3163)
Create visual representations of player and team performance, including zone analysis and point progression charts.
Multi-Player Comparison
api.plot_player_zones_grid([143, 12, 211, 160], season=5, zone_type='strong', max_cols=2)
Generate grid visualizations for comparing multiple players' performances.
These features provide a robust toolkit for analyzing PKL data, from high-level season statistics to detailed player and match analyses. The package offers both data retrieval and visualization capabilities, making it a versatile resource for kabaddi enthusiasts, analysts, and researchers.
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 ⭐️ 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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2ce096347e74806a91a1cd400c77e0f6b10c38ee5d9e5b4b0702426ca90c3ba |
|
MD5 | 81a3de5654add238f124352bb279e2b9 |
|
BLAKE2b-256 | 7bcba3e5539ed5621e1db8befdbad775953187f0b068e5598888099f4f99b818 |