Skip to main content

Standardizing soccer tracking- and event data

Project description

kloppy: standardizing soccer tracking- and event data

klop·pen (klopte, heeft geklopt) - juist zijn; overeenkomen, uitkomen met: dat klopt, dat kan kloppen is juist; dat klopt als een zwerende vinger dat is helemaal juist

PyPI Latest Release Downloads Powered by PySport

What is it?

kloppy is a Python package providing (de)serializers for soccer tracking- and event data, standardized data models, filters, and transformers designed to make working with different tracking- and event data like a breeze. It aims to be the fundamental building blocks for loading, filtering and tranforming tracking- and event data.

Main Features

Here are just a few of the things that kloppy does well:

Loading data

  • Directly load Public datasets to get started right away.
  • Understandable Standardized models for tracking- and event datasets
  • Out-of-the-box (De)serializing tracking- and event data from different sources into standardized models and vice versa

Processing data

  • Flexible pitch dimensions transformer for changing a dataset pitch dimensions from one to another (eg OPTA's 100x100 -> TRACAB meters)
  • Intelligent orientation transforming orientation of a dataset (eg from TRACAB fixed orientation to "Home Team" orientation)

Pattern matching

  • Search for complexe patterns(examples/pattern_matching/repository/README.md) in event data.
  • Use kloppy-query to export fragments to XML file

Where to get it

The source code is currently hosted on GitHub at: https://github.com/PySport/kloppy

Installers for the latest released version are available at the Python package index.

# or PyPI
pip install kloppy

Documentation

The official documentation is hosted on pysport.org: https://kloppy.pysport.org

Contributing to kloppy

All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.

A overview on how to contribute can be found in the contributing guide.

If you are simply looking to start working with the kloppy codebase, navigate to the GitHub "issues" tab and start looking through interesting issues.

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

kloppy-2.0.0.tar.gz (69.4 kB view details)

Uploaded Source

File details

Details for the file kloppy-2.0.0.tar.gz.

File metadata

  • Download URL: kloppy-2.0.0.tar.gz
  • Upload date:
  • Size: 69.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.6

File hashes

Hashes for kloppy-2.0.0.tar.gz
Algorithm Hash digest
SHA256 54119393e00b2b11ac93f5bf663580490423cc71b58755fa2fc56afaaec8ed81
MD5 2f198a55f8678906d2b0fde033554500
BLAKE2b-256 ed9c4e79134a557f0ad10a7c372b6b575b426f3999177e406bb4be230fb63668

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