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.1.1.tar.gz (7.7 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.1.1-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for goalytics-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f20fc8e6ab4aaf30b85727e4e271b08cd54141b4089684244f8b1be90ffa295c
MD5 044b615e09ac54273137fb9a28a65d36
BLAKE2b-256 706c5537b46018bb50c54a47a983c096a00cc85897c0d03666d69eda3d2e1358

See more details on using hashes here.

File details

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

File metadata

  • Download URL: goalytics-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 57c0f470f9d061611e90faf607ce6ef5810d77d6bc6f8dafbab748f5ab146001
MD5 40397bfd7b609e426065bb927d99a97d
BLAKE2b-256 06f157fa62717c14b192ba530973d87f136a1d102e4c7acce0a4b56a4344187b

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