Databallpy

Latest version: v0.6.0

Safety actively analyzes 722525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.6

0.6.0

- Moved from function to an object oriented framework for all user-features and computations of game/match (special thanks to [DaanGro](https://github.com/DaanGro))
- Renamed the all classes and functions with `match` to `game` (to move away from the internal python `match` statement)
- Removed the function to save game/match objects to pickle, but created a more save way using parquet and json files
- Added functionality to export tracking data to long format.
- the `"ball_possession"` column in the tracking data (`game.tracking_data`) was renamed to `"team_posession"` to be more explicit that it is about a team possession and not an individual possession.

Breaking changes
We sincerely appologize for all the changes you have to make, but we feel this will make the package more robust and easier to use for future projects. Just to be clear, **all the functionality that was in 0.5.4, is still in 0.6.0**. However we made to changes that impacts users.
1) We renamed all functions with `match` in it to `game.` (e.g. `get_match` was changed to `get_game`). This was chosen since `match` is an internal python command, and we do not want to imply to overwrite that (by using something like `match = get_match()`). A deprecation warning is raised when you try to call it from the current version onwards, we strongly encourage to take this warning serious as we do plan to remove it shorlty.
2) If you used any of the features in databallpy (`get_velocity`, `get_approximate_voronoi`, `get_covered_distance`, etc.), you need to refactor your code. All functionality is still available in the package, but likely as a method on the `game.tracking_data` class, for instance: `game.tracking_data.add_velocity(...)`. Please view our documentation of version 0.6.0 to see how you can refactor your code (spoiler: you will need to use less arguments and less lines of code!)
3) Saved games/matches are only usable in the version in which you saved them up and untill version 0.5.4. For example, if you saved your match in version 0.5.2, you can only load it while using version 0.5.2. From version 0.6.0, you will be able to load your game using the `get_saved_game` as long as your version is greater or equal to 0.6.0.

0.5.4

- Support for Python 3.13
- Added event id of StatsBomb in event data (by [jan-swiatek](https://github.com/jan-swiatek))
- Fixed bug in sportec tracking data parser.
>>>>>>> main

0.5.3

- Added StatsBomb event data as provider (by [DaanGro](https://github.com/DaanGro))
- Added json parser for tracab metadata (by [jan-swiatek](https://github.com/jan-swiatek))
- Made last batch from smart batches in synchronisation last longer to include all events
- Fixed bug in parsing tracab xml data
- Fixed bug in combining players info from tracking and event metadata

0.5.2

- Added `match.get_column_ids` with filters for team, player positions and minimal minutes played filters.
- Added parser for DFL/Sportec Solutions event data
- Added parser for Tracab xml format, used by DFL and Sportec solutions
- Added integration for open data from DFL (open sourced by Bassek et al.)

Breaking changes
- From now on, `match.home_players_column_ids()` and `match.away_players_column_ids()` are depreciated and will be removed in V0.7.0. Please use `match.get_column_ids()` in future version.
- `get_open_match()` will now, by default, load in match `J03WMX` (1. FC Köln vs. FC Bayern München) instead of the anonimysed match from Metrica. To load in the metrica match, please parse `provider="metrica"` in the key word arguments.

0.5.1

- Added support for numpy 2.x
- Fixed bug in calculating covered distances when no accelerations are present
- Fixed bug in rare cases where _filter_data does not work as expected and returns errors
- Fixed bug in match.add_tracking_data_features_to_shots, did not update properly after last release

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.