statsbombpy-local
statsbombpy uses local open-data.
If you have open-data downloaded locally, you can use it.
Installation
pip install statsbombpy-local
Configuration
Write open-data path to .env or add environment variable: OPEN_DATA_REPO_PATH=your open-data repo path
Usage
from statsbombpy_local import sb
Same as statsbombpy
sb.competitions()
sb.matches(competition_id=2, season_id=44)
sb.lineups(match_id=3749068)["Arsenal"]
sb.events(match_id=3749068)
sb.frames(match_id=3788741)
sb.competition_events(country="Europe", division="UEFA Euro", season="2020")
sb.competition_frames(country="Europe", division="UEFA Euro", season="2020")
Note
"player_match_stats", "player_season_stats", "team_season_stats",have not been changed because they require credentials.
Metadata
Release files for statsbombpy-local 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| statsbombpy_local-0.2.1.tar.gz | 3.4 kB | Without provenance | Details for statsbombpy_local-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| statsbombpy_local-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for statsbombpy_local-0.2.1-py3-none-any.whl |
Total release size: 8.4 kB
Release files / statsbombpy_local-0.2.1.tar.gz
| Download URL | statsbombpy_local-0.2.1.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a136007d9862da94dd5844b9c2b9587d5bb270c6a85cba0232e699fd53724dc
|
|
BLAKE2b-256 checksum How to use checksums |
55a5fff297684c635fe361cc7a46424dd9292554492a6453b9897d9234db2f00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1018-azure
|
Release files / statsbombpy_local-0.2.1-py3-none-any.whl
| Download URL | statsbombpy_local-0.2.1-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75b7e263ced2408d5bcf4e4a45d2ccd701b6fae6b5e83dd218f6ef926804fef9
|
|
BLAKE2b-256 checksum How to use checksums |
5efde72254b1ceabad47783cb2fe8ceadb9dc27fb384def58ca1697ddf539715
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1018-azure
|
Security for statsbombpy-local 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.