Releases: Alek050/databallpy
Releases · Alek050/databallpy
Version 0.5.1
Version 0.5.0
v0.5.0 mistake in readme
Version 0.4.3
v0.4.3 Ready for new version
Version 0.4.2
v0.4.2 Changes ready for publish
Version 0.4.1
Changelog V0.4.1 (10/10/2023)
- Fixed bugs with reading in tracab data in special cases
- Fixed bus with reading in opta data in special cases
- Added tracking data passes features
- Added tracking data shot features
- optimized performance of processing data
Version 0.4.0
Addition of databallpy events
0.3.1
Version 0.3.1 (#105) * Updated CONTRIBUTION.md * updated consoles * Added pull request description format * added that pull requests should be opened to the develop branch * Added Metadata class * Fixed linting * isort bs * Fixed comments pull request * 2: Feature to load opta event data. (#12) * WIP started in loading event metadata * changes * resolved merge confilcts * added metadataloader * Finished with import of opta event data * minor change to contributing.md * changes to linters * added test data * requested changes * 5: Elaborate pyproject.toml with classifiers. (#19) * changed pyproject.toml * Changed docs loc * 1 feature parse tracab data (#18) * WIP started with loading tracking data tracab * Tested automatic docstring creation * added bs4 and lxml, added metadata pareser and started docstrings * Added more docstrings * Added tqdm package, implemented progress bar, finished adding docstrings * fixing big .dat file * linters * changed _get_lines_dat_file * fixed comments on functions * Added tests * added _to_match_time (WIP) * Improved _get_matchtime * Fixed comments pull request * Added tests for _get_matchtime * linters * Fixed period_start_dict * Fixed lowercase and home/away-issue * linters * Removed whitespace if no firstname * 13: feature, add match class. (#21) * WIP started with loading tracking data tracab * Tested automatic docstring creation * added bs4 and lxml, added metadata pareser and started docstrings * Added more docstrings * Added tqdm package, implemented progress bar, finished adding docstrings * fixing big .dat file * linters * changed _get_lines_dat_file * fixed comments on functions * Added tests * added start to match class * added _to_match_time (WIP) * implemented with tracab code * tests passed * started on tests * finished match class * resolved conflicts * resolved conflicts --------- Co-authored-by: Daan <daaniogrob@gmail.com> * 17 feature visualise tracking data (#23) * WIP started with loading tracking data tracab * Tested automatic docstring creation * added bs4 and lxml, added metadata pareser and started docstrings * Added more docstrings * Added tqdm package, implemented progress bar, finished adding docstrings * fixing big .dat file * linters * changed _get_lines_dat_file * added function to plot pitch * fixed comments on functions * WIP added function to save a match clip * Added tests * added start to match class * added _to_match_time (WIP) * implemented with tracab code * tests passed * started on tests * finished match class * resolved minor differences * added visualise test sort of * hide the event plot function * added matplotlib to dependencies * added ffmpeg * added small comment on ffmpeg * resolved test error due to ffmpeg --------- Co-authored-by: Daan <daaniogrob@gmail.com> * 3 docs write documentation (#27) * added sphinx docs * changed readme * updated readme * spelling mistake * spelling mistake * add visualising info * changes * Update README.md added video to readme * Update README.md * Update README.md * changes * linters * changes optimized tests (#28) * hot fix for documentation (#30) * changes optimized tests * changes * docs hotfix * updated example * changes * Hot fix (#32) * changes optimized tests * changes * docs hotfix * updated example * changes * changed example * did this work? * Check if ffmpeg is installed on device and added tests for databallpy.visualize.py (#41) * added ffmpeg checker * linters * update .yml * linters * new trial * added tests for visualize * linters.... * 24 feat visualize events (#42) * added ffmpeg checker * linters * update .yml * linters * new trial * added tests for visualize * linters.... * events_plot * added event plots * Add parser for open Metrica tracking and event data (#39) * added parser for metrica tracking data * updated tests * finished tracking data with tests * added event data parser * finished baby * changed documentation * changes * linters * requested changes * 16 feat synchronise (#43) * Started sync function * WIP working on synch function * First version * refactor and docs * Improved speed of sync * finished event and tracking synch * Small refactor * finished tests * Linters fixed * fixed lock-file * fixed test_data path * Removed warning * Adressed git comments * Fixed tests after updates merge conflicts * Added test for save_match_clip with events * Fixed linters * Fixed comments * Changed function place to seperate file * Added test for _add_periods_to_tracking_data * Fixed linters * Fixed all Nan-slice warning * Removed pdb * Changed all int32 to int64 * Refactor to add validators to the Match and Metadata Class, also added normalization in tracking and event data direction (#45) * finished checking for metadata * added validators * almost finished tests for tracking data * finished tracking data part * Finished * Removed pdb * fixed version error * Fixed tests after merge conflicts, update _get_matchtime * Changed all datetimes to pd.to_datime(date)+dt.timedelta() * Fixed pull request comments * Linters * Changed docstring --------- Co-authored-by: Daan <daaniogrob@gmail.com> * Refactor sync event and tracking data, initialize time difference to kick off. #48 * 34 feat update example.ipynb, readme for new version (#49) * started adding changes * almost finished * fixed match things * changed version * removed rubbish file * changes * version 0.2.1 * version 0.2.2 * version 0.2.2 * version 0.2.2 * Added videos of synced vs not synced to readme * Make docs work (#51) * retry * example * rechanged docs * hoping * changed version * docs * added videos * change readme * retry * changes * changes * changes * changes * linters * conf.py * changes * changes * changes * changes * changes * changes * changes * back to basics * nbshipinx * added nbshpinx to requirements.txt * myst_nb execution time * changed * changes * ffmpeg * ffmpeg * ffmpeg * ffmpeg * apt_packages * added verbose * readme video * changes * changed readme * changes * video files * version 0.2.3 * forgot one * Changed sync and fixed metrica channels (#59) * Changed sync and fixed metrica channels * Fixed pull commments * Fixed CamelCases * changed videos (#61) * Added match.copy() function (#62) * refactor finished bitch (#63) * Fixed bug, own goal is now a seperate event in the opta event data (#69) * Added way to save a Match object, and load saved Match objects (#68) * refactor finished bitch * Made a convenient way to save and load saved Match objects * changed changelog --------- Co-authored-by: DaanGro <91313814+DaanGro@users.noreply.github.com> * 14 feature parse fifa data (#65) * started parsing fifa format data * writing fifa parser functions * metadata parser complete * Loading in td fifa format kkd * Added docstrings * Finished fifa and instat loading * Added tests for fifa tracking data * Changed post init match pitch axis * Added test files for test_fifa * Added tests for instat events * Changed fifa to inmotio and added docstrings * Added tests for inmotio * Linters * Adressed comments pull request * Fixed tests * Linters * Added parsers to changelog * Linters * Changed get_matching_full_name * Linters * Added features to make the match class more widely usable (#71) * Added localizer to all datetime objects (#74) * Refactor of match.py to make it better readable (#76) * refactored match.py * now with new files * pandas2.0 support (#81) * fix(synchronise_tracking_and_event_data): fix check for missing player id which is now -999 (previously NaN) * feat(pandas2.0): add support for pandas==^2.0.1 * Revert "fix(synchronise_tracking_and_event_data): fix check for missing player id which is now -999 (previously NaN)" This reverts commit 0052bf6728233f3a45b137cd6c5da3b78af9fab3. * Revert "pandas2.0 support (#81)" (#83) This reverts commit 77a5a3565659c232a66bcfbaf391890f53080f8e. * Test pandas2.0 support (#84) * fix(synchronise_tracking_and_event_data): fix check for missing player id which is now -999 (previously NaN) * feat(pandas2.0): add support for pandas==^2.0.1 * Revert "fix(synchronise_tracking_and_event_data): fix check for missing player id which is now -999 (previously NaN)" This reverts commit 0052bf6728233f3a45b137cd6c5da3b78af9fab3. --------- Co-authored-by: Radu <radu98@gmail.com> Co-authored-by: Radu Gheorghe <38430081+rdghe@users.noreply.github.com> * Added MISSING_INT global variable (#87) * updated dependencies (#86) * fix(synchronise_tracking_and_event_data): fix check for missing playe… (#79) * fix(synchronise_tracking_and_event_data): fix check for missing player id which is now -999 (previously NaN) * test(test_synchronise_tracking_and_event_data): test for missing and unknown players * style(test_synchronise_tracking_and_event_data): fix flake8 * refactor(test_synchronise_tracking_and_event_data): fix black linter * refactor(MISSING_INT): replace hardcoded with imported variable * test(test_synchronise_tracking_and_event_data): refactor tests * 75 enhancement data quality check (#77) * WIP * Added sanity checks for tracking data and tests * Fixed merge request comments * Added MISSING_INT * fix(allowed-formation-length): increase allowed formation length 4->5 (#97) * 93 fix utc timestamps not present (#94) * fix(synchronise_tracking_and_event_data): fix check for missing player id which is now -999 (previously NaN) * feat(pandas2.0): add support for pandas==^2.0.1 * fix(load_opta_event_data): replace usage of utc timestamps that are not present in older matches with regular timestamps * fix(load-opta-metadata): fix loading of metadata with multiple (2-legged) matches (#100) * Added warning when there is not enough player data (#101) * Added extra quality check if player data is available * changelog * Origin/88 fix synchronising infinite loop (#102) * fix(synchronise_tracking_and_event_data): fix check for missing player id which is now -999 (previously NaN) * feat(pandas2.0): add support for pandas==^2.0.1 * fix(_needleman_wunsch): fix infinite loop created by missing player coordinates in tracking data * remove additional code * changed formula * Restored formula * Changed formula sim mat * Added tests * fixed incorrect formula, changed tests --------- Co-authored-by: Radu <radu98@gmail.com> Co-authored-by: Radu Gheorghe <38430081+rdghe@users.noreply.github.com> * Updated ReadMe.md and set everything ready for a version upgrade (#103) * updated readme * updated readme and ready for version upgrade * forgot readme * minor error * changed error in get_open_match * fixed minor bug --------- Co-authored-by: Daan <daaniogrob@gmail.com> Co-authored-by: DaanGro <91313814+DaanGro@users.noreply.github.com> Co-authored-by: Radu Gheorghe <38430081+rdghe@users.noreply.github.com> Co-authored-by: Radu <radu98@gmail.com>
v0.2.3
v0.2.2
Version 0.2.0 (#50) * Updated CONTRIBUTION.md * updated consoles * Added pull request description format * added that pull requests should be opened to the develop branch * Added Metadata class * Fixed linting * isort bs * Fixed comments pull request * 2: Feature to load opta event data. (#12) * WIP started in loading event metadata * changes * resolved merge confilcts * added metadataloader * Finished with import of opta event data * minor change to contributing.md * changes to linters * added test data * requested changes * 5: Elaborate pyproject.toml with classifiers. (#19) * changed pyproject.toml * Changed docs loc * 1 feature parse tracab data (#18) * WIP started with loading tracking data tracab * Tested automatic docstring creation * added bs4 and lxml, added metadata pareser and started docstrings * Added more docstrings * Added tqdm package, implemented progress bar, finished adding docstrings * fixing big .dat file * linters * changed _get_lines_dat_file * fixed comments on functions * Added tests * added _to_match_time (WIP) * Improved _get_matchtime * Fixed comments pull request * Added tests for _get_matchtime * linters * Fixed period_start_dict * Fixed lowercase and home/away-issue * linters * Removed whitespace if no firstname * 13: feature, add match class. (#21) * WIP started with loading tracking data tracab * Tested automatic docstring creation * added bs4 and lxml, added metadata pareser and started docstrings * Added more docstrings * Added tqdm package, implemented progress bar, finished adding docstrings * fixing big .dat file * linters * changed _get_lines_dat_file * fixed comments on functions * Added tests * added start to match class * added _to_match_time (WIP) * implemented with tracab code * tests passed * started on tests * finished match class * resolved conflicts * resolved conflicts --------- Co-authored-by: Daan <daaniogrob@gmail.com> * 17 feature visualise tracking data (#23) * WIP started with loading tracking data tracab * Tested automatic docstring creation * added bs4 and lxml, added metadata pareser and started docstrings * Added more docstrings * Added tqdm package, implemented progress bar, finished adding docstrings * fixing big .dat file * linters * changed _get_lines_dat_file * added function to plot pitch * fixed comments on functions * WIP added function to save a match clip * Added tests * added start to match class * added _to_match_time (WIP) * implemented with tracab code * tests passed * started on tests * finished match class * resolved minor differences * added visualise test sort of * hide the event plot function * added matplotlib to dependencies * added ffmpeg * added small comment on ffmpeg * resolved test error due to ffmpeg --------- Co-authored-by: Daan <daaniogrob@gmail.com> * 3 docs write documentation (#27) * added sphinx docs * changed readme * updated readme * spelling mistake * spelling mistake * add visualising info * changes * Update README.md added video to readme * Update README.md * Update README.md * changes * linters * changes optimized tests (#28) * hot fix for documentation (#30) * changes optimized tests * changes * docs hotfix * updated example * changes * Hot fix (#32) * changes optimized tests * changes * docs hotfix * updated example * changes * changed example * did this work? * Check if ffmpeg is installed on device and added tests for databallpy.visualize.py (#41) * added ffmpeg checker * linters * update .yml * linters * new trial * added tests for visualize * linters.... * 24 feat visualize events (#42) * added ffmpeg checker * linters * update .yml * linters * new trial * added tests for visualize * linters.... * events_plot * added event plots * Add parser for open Metrica tracking and event data (#39) * added parser for metrica tracking data * updated tests * finished tracking data with tests * added event data parser * finished baby * changed documentation * changes * linters * requested changes * 16 feat synchronise (#43) * Started sync function * WIP working on synch function * First version * refactor and docs * Improved speed of sync * finished event and tracking synch * Small refactor * finished tests * Linters fixed * fixed lock-file * fixed test_data path * Removed warning * Adressed git comments * Fixed tests after updates merge conflicts * Added test for save_match_clip with events * Fixed linters * Fixed comments * Changed function place to seperate file * Added test for _add_periods_to_tracking_data * Fixed linters * Fixed all Nan-slice warning * Removed pdb * Changed all int32 to int64 * Refactor to add validators to the Match and Metadata Class, also added normalization in tracking and event data direction (#45) * finished checking for metadata * added validators * almost finished tests for tracking data * finished tracking data part * Finished * Removed pdb * fixed version error * Fixed tests after merge conflicts, update _get_matchtime * Changed all datetimes to pd.to_datime(date)+dt.timedelta() * Fixed pull request comments * Linters * Changed docstring --------- Co-authored-by: Daan <daaniogrob@gmail.com> * Refactor sync event and tracking data, initialize time difference to kick off. #48 * 34 feat update example.ipynb, readme for new version (#49) * started adding changes * almost finished * fixed match things * changed version * removed rubbish file * changes * version 0.2.1 * version 0.2.2 * version 0.2.2 * version 0.2.2 --------- Co-authored-by: Daan <daaniogrob@gmail.com> Co-authored-by: DaanGro <91313814+DaanGro@users.noreply.github.com>
v0.1.1
Hot fix documentation (#33) * Updated CONTRIBUTION.md * updated consoles * Added pull request description format * added that pull requests should be opened to the develop branch * Added Metadata class * Fixed linting * isort bs * Fixed comments pull request * 2: Feature to load opta event data. (#12) * WIP started in loading event metadata * changes * resolved merge confilcts * added metadataloader * Finished with import of opta event data * minor change to contributing.md * changes to linters * added test data * requested changes * 5: Elaborate pyproject.toml with classifiers. (#19) * changed pyproject.toml * Changed docs loc * 1 feature parse tracab data (#18) * WIP started with loading tracking data tracab * Tested automatic docstring creation * added bs4 and lxml, added metadata pareser and started docstrings * Added more docstrings * Added tqdm package, implemented progress bar, finished adding docstrings * fixing big .dat file * linters * changed _get_lines_dat_file * fixed comments on functions * Added tests * added _to_match_time (WIP) * Improved _get_matchtime * Fixed comments pull request * Added tests for _get_matchtime * linters * Fixed period_start_dict * Fixed lowercase and home/away-issue * linters * Removed whitespace if no firstname * 13: feature, add match class. (#21) * WIP started with loading tracking data tracab * Tested automatic docstring creation * added bs4 and lxml, added metadata pareser and started docstrings * Added more docstrings * Added tqdm package, implemented progress bar, finished adding docstrings * fixing big .dat file * linters * changed _get_lines_dat_file * fixed comments on functions * Added tests * added start to match class * added _to_match_time (WIP) * implemented with tracab code * tests passed * started on tests * finished match class * resolved conflicts * resolved conflicts --------- Co-authored-by: Daan <daaniogrob@gmail.com> * 17 feature visualise tracking data (#23) * WIP started with loading tracking data tracab * Tested automatic docstring creation * added bs4 and lxml, added metadata pareser and started docstrings * Added more docstrings * Added tqdm package, implemented progress bar, finished adding docstrings * fixing big .dat file * linters * changed _get_lines_dat_file * added function to plot pitch * fixed comments on functions * WIP added function to save a match clip * Added tests * added start to match class * added _to_match_time (WIP) * implemented with tracab code * tests passed * started on tests * finished match class * resolved minor differences * added visualise test sort of * hide the event plot function * added matplotlib to dependencies * added ffmpeg * added small comment on ffmpeg * resolved test error due to ffmpeg --------- Co-authored-by: Daan <daaniogrob@gmail.com> * 3 docs write documentation (#27) * added sphinx docs * changed readme * updated readme * spelling mistake * spelling mistake * add visualising info * changes * Update README.md added video to readme * Update README.md * Update README.md * changes * linters * changes optimized tests (#28) * hot fix for documentation (#30) * changes optimized tests * changes * docs hotfix * updated example * changes * Hot fix (#32) * changes optimized tests * changes * docs hotfix * updated example * changes * changed example * did this work? --------- Co-authored-by: Daan <daaniogrob@gmail.com> Co-authored-by: DaanGro <91313814+DaanGro@users.noreply.github.com>