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
What is it?
Each vendor of soccer data uses its own unique format to describe the course of a game. Hence, software written to analyze this data has to be tailored to a specific vendor and cannot be used without modifications to analyze data from other vendors. Kloppy is a Python package that addresses the challenges posed by the variety of data formats and aims to be the fundamental building block for processing soccer tracking and event data. It provides (de)serializers, standardized data models, filters, and transformers which make working with tracking and event data from different vendors a breeze.
Main features
Here are just a few of the things that kloppy does well:
Loading data
- Load public datasets to get started right away
- Understandable standardized data models for tracking and event data
- Out-of-the-box (de)serializing tracking and event data from different vendors into standardized models and vice versa
Processing data
- Flexibly transform a dataset's pitch dimensions from one format to another (e.g., from OPTA's 100x100 to TRACAB meters)
- Transform the orientation of a dataset (e.g., from TRACAB fixed orientation to "Home Team" orientation)
Pattern matching
- Search for complex patterns 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.
pip install kloppy
Install from github (dev version)
pip install git+https://github.com/PySport/kloppy.git
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.
An 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.
Current contributors
Made with contrib.rocks.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file kloppy-3.15.0.tar.gz
.
File metadata
- Download URL: kloppy-3.15.0.tar.gz
- Upload date:
- Size: 155.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 824740efb54d6e155a0b33e8f6f1285212dd98f0b6dda848b4306730fed216e0 |
|
MD5 | c36d7ca075888e65ec571ed9051e2ec8 |
|
BLAKE2b-256 | 1089883985c5a31737cfe7676ed944643ca57edfc6beab1e5e5f75b16f2ac64a |
File details
Details for the file kloppy-3.15.0-py3-none-any.whl
.
File metadata
- Download URL: kloppy-3.15.0-py3-none-any.whl
- Upload date:
- Size: 211.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e828356db9b4fd80d7799c825660199cec55aafb984f29f92f8e8a752b149282 |
|
MD5 | 44582d9b2eacff8236918dabdeb15f6e |
|
BLAKE2b-256 | 041723617620c48166c34c8c00427c6b63350f1e54bf9c7b45d98d408e5df7d5 |