Repository for rugby data analytics
Project description
rugbypy
rugbypy
is a Python package that aims to make rugby data more
available to aid in the development of rugby analytics.
Requirements
python version 3.8
Install
pip install rugbypy
conda install -c seanyboi rugbypy
How to use
Match Stats
You can fetch all the matches that occured on a particular date like:
matches = fetch_matches(date="20230101")
Fetching matches on date:20230101...
No match information for matches played on 20230101 either because no matches took place or rugbypy does not have access to the match data. Please raise if neither.
match_details = fetch_match_details(match_id="595735")
Fetching match details for match_id:595735...
Error fetching match data - name 'pd' is not defined. Please raise an issue!
Team Stats
from rugbypy.team import fetch_team_stats
Player Stats
from rugbypy.player import fetch_player_stats
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
rugbypy-0.0.1.tar.gz
(8.7 kB
view details)
Built Distribution
File details
Details for the file rugbypy-0.0.1.tar.gz
.
File metadata
- Download URL: rugbypy-0.0.1.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d775fd07bae90d65e3dabcf680baf068b05f4e02ce008e2adce4a528a0d0a427 |
|
MD5 | dc7c1b01188157487a7b0ed7d5d673e7 |
|
BLAKE2b-256 | d4437a0938406bd23c8212c5f15c41ff8f76cd5e6e0f0a3740fa75e35f0f4c4a |
File details
Details for the file rugbypy-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: rugbypy-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36701feaae7412a783e897653b5c2b7b5841468e20e61feaa27de22042c94844 |
|
MD5 | 49e793f971e0c3c35af7d52093f874af |
|
BLAKE2b-256 | df4fdda2d38004cb1ffcbee688bfd56930d339d917b60e3fd5e7653a449404b0 |