goalytics
Goalytics is a modern Python library designed for advanced football analytics, focused on calculating and predicting key performance metrics like xG (Expected Goals), xA (Expected Assists), and xT (Expected Threat).
- football
- xG
- xA
- xT
- futsal
- xG
- xA
- xT
Example
pip install goalytics
from goalytics.football.xG import ExpectedGoals
shots = [
[90, 34],
[80, 30],
[60, 40],
]
xg_model = ExpectedGoals()
match_xg = xg_model.calculate_match_xg(shots)
print(f"Total xG for the match: {match_xg:.2f}")
Metadata
Release files for goalytics 0.1.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 |
|---|---|---|---|---|
| goalytics-0.1.1.tar.gz | 7.7 kB | Without provenance | Details for goalytics-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| goalytics-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for goalytics-0.1.1-py3-none-any.whl |
Total release size: 18.4 kB
Release files / goalytics-0.1.1.tar.gz
| Download URL | goalytics-0.1.1.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f20fc8e6ab4aaf30b85727e4e271b08cd54141b4089684244f8b1be90ffa295c
|
|
BLAKE2b-256 checksum How to use checksums |
706c5537b46018bb50c54a47a983c096a00cc85897c0d03666d69eda3d2e1358
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.22
|
Release files / goalytics-0.1.1-py3-none-any.whl
| Download URL | goalytics-0.1.1-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57c0f470f9d061611e90faf607ce6ef5810d77d6bc6f8dafbab748f5ab146001
|
|
BLAKE2b-256 checksum How to use checksums |
06f157fa62717c14b192ba530973d87f136a1d102e4c7acce0a4b56a4344187b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.22
|
Security for goalytics 0.1.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.