Databallpy

Latest version: v0.5.3

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

Scan your dependencies

Page 1 of 3

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

0.5.0

- Added event data parser for SciSports
- Added expected threat model from Karun Singh to on ball events
- Add function to add which team has ball possession based on the synchronised event data.
- Solved encoding bug for Windows
- Added function to obtain acceleration
- Improved standardization and performance of synchronisation
- Made save match clip more robust
- Added function to calculate covered distances in different velocity and acceleration zones
- Updated the documentation

0.4.3

- Added simple expected goals (xG) model
- Added anonimisation function
- Added pitch control model
- Fixed minor bugs
- Added logging possibilities
- Refactor of file structure and folder naming

0.4.2

- fixed bug in get_valid_gains (player possessions)
- Changed 'period' to 'period_id' in all tracking and event dataframes
- Solved bug with reading in timestamps for Opta
- Made get_opponents_in_passing_lane more robust.
- Made function to automatically check if the proposed start and end frames are reliable, adjusts it if this is not the case
- Fixed bug in normalize_playing_direction
- Added an offset to the alignment in datetimes between tracking and event data
- Added extra sanity checks for the ball status of the tracking data
- Set "smart" as default for synchronising the tracking and event data
- Added check if datetime of tracking and event data are not close enough
- Added extra tests for the code
- Added extra metadata to the Match object on which periods the player positions were normalized

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.