Skip to main content

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).

Project description

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}")

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

goalytics-0.0.3.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

goalytics-0.0.3-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file goalytics-0.0.3.tar.gz.

File metadata

  • Download URL: goalytics-0.0.3.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for goalytics-0.0.3.tar.gz
Algorithm Hash digest
SHA256 3e44358aaca88a70e0a454e21827663960c140b03c5e20ab62501f0ca28383c5
MD5 6b91e5e6c1b359133aecda7846bb080c
BLAKE2b-256 54d8bbfd0abfc58b7e733461ce617a95afe7b1960bb0b23c169ffbd7ead34a45

See more details on using hashes here.

File details

Details for the file goalytics-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: goalytics-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for goalytics-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 af65fa60c3179a531a043e378d7303569bcd9fd83d3aabeda117bbe2348d7e5b
MD5 5dd7ba326f75b6dcb3417aab41c6dff8
BLAKE2b-256 a8c9379c114a7823ba0c6cffed487d1d73a8d081a886bfd9e50cf85bcdff5865

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page