From fd55d8e977d0ab6cc641bf9a8ee9f48c18fc2196 Mon Sep 17 00:00:00 2001 From: Koen Vossen Date: Fri, 7 Aug 2020 16:18:33 +0200 Subject: [PATCH 1/2] Update docs and remove CHANGES.txt --- CHANGES.txt | 33 ---------------------- docs/changelog.md | 72 ++++++++++++++++++++++++++++++++++++++++++++--- docs/index.md | 2 +- 3 files changed, 69 insertions(+), 38 deletions(-) delete mode 100644 CHANGES.txt diff --git a/CHANGES.txt b/CHANGES.txt deleted file mode 100644 index c2203a1d..00000000 --- a/CHANGES.txt +++ /dev/null @@ -1,33 +0,0 @@ -v0.1.0, 2020-04-23 -- Initial release. -v0.2.0, 2020-05-05 -- Change interface of TrackingDataSerializer - Add Metrica Tracking Serializer including automated tests - Cleanup some import statements -v0.2.1, 2020-05-12 -- Add some helpers functions to directly load a dataset by filenames -v0.3.0, 2020-05-15 -- Add FIFA EPTS Tracking Serializer - Add some examples - Add datasets loader to directly load dataset from your python code - Add limit argument to all loaders -v0.4.0, 2020-06-02 -- Add StatsBomb event Serializer - Some fixes in readme - Refactor some code to get cleaner code - Pass a logger to performance_logging instead of print to stdout - Minor fixes to datasets loader -v0.4.1, 2020-06-05 -- Fix for StatsBomb Serializer when location contains z coordinate -v0.5.0, 2020-06-13 -- Add pattern matching based on regular expressions - Add kloppy-query: command line tool to search for patterns -v0.5.1, 2020-06-13 -- Add stats in json/text format to kloppy-query - Add show-events to kloppy-query to print all events in the matches - Change kloppy-query to make it possible to run without an output file -v0.5.2, 2020-06-13 -- Fix Transformer when ball position is not set (@benoitblanc) - Fix for working with periods in EPTS Serializer (@bdagnino) -v0.5.3, 2020-06-16 -- Add code formatting and contributing guide (@dmallory42) - Add support for python 3.6 -v0.6.0, 2020-06-18 -- Add Opta event serializer - Fix for event pattern matching for nested captures - Fix for event pattern matching when multiple paths can match - Improved ball_recovery example -v0.6.1, 2020-07-02 -- Fix in readme (@rjtavares) - Add additional_columns to to_pandas (@rjtavares) -v0.6.2, 2020-07-23 -- Fix to_pandas for Opta event data -v1.0.0, 2020-07-26 -- Add metadata models (@bdagnino) - Move docs to https://kloppy.pysport.org/ (@pratikthanki & @koenvo) \ No newline at end of file diff --git a/docs/changelog.md b/docs/changelog.md index 8a3392df..1301be9a 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,7 +2,16 @@ Find out all changes between different kloppy versions -## 1.0.0 +## 1.1.0 (2020-09-XX To be released) +Github issues closed: +- Add provider to dataset ([#36](https://github.com/PySport/kloppy/issues/36)) + +Other pull requests merged: +- Add Metrics Json event serializer ([#44](https://github.com/PySport/kloppy/pull/44)) +- Code formatting & typos in docs ([#39](https://github.com/PySport/kloppy/pull/39), [#40](https://github.com/PySport/kloppy/pull/40)) + + +## 1.0.0 (2020-07-26) In this major release we introduce metadata. The metadata is part of a dataset and can be accessed via `Dataset.metadata`. There are a couple of breaking changes: @@ -17,11 +26,66 @@ There are a couple of breaking changes: - `player___x` is renamed to `_x` Github issues closed: - - Website for project ([#27](https://github.com/PySport/kloppy/issues/27), [#30](https://github.com/PySport/kloppy/issues/30)) - Metadata model ([#3](https://github.com/PySport/kloppy/issues/3)) - IDs instead of [home, away, shirt_number] ([#17](https://github.com/PySport/kloppy/issues/17)) +Other pull requests merged: +- Fix docs ([#35](https://github.com/PySport/kloppy/pull/35)) + +## 0.6.2 (2020-07-23) +- Fix to_pandas for Opta event data + +## 0.6.1 (2020-07-02) +- Fix in readme (@rjtavares) +- Add additional_columns to to_pandas (@rjtavares) + +## 0.6.0 (2020-06-18) +- Add Opta event serializer +- Fix for event pattern matching for nested captures +- Fix for event pattern matching when multiple paths can match +- Improved ball_recovery example + +## 0.5.3 (2020-06-16) +- Add code formatting and contributing guide (@dmallory42) +- Add support for python 3.6 + +## 0.5.2 (2020-06-13) +- Fix Transformer when ball position is not set (@benoitblanc) +- Fix for working with periods in EPTS Serializer (@bdagnino) + +## 0.5.1 (2020-06-13) +- Add stats in json/text format to kloppy-query +- Add show-events to kloppy-query to print all events in the matches +- Change kloppy-query to make it possible to run without an output file + +## 0.5.0 (2020-06-13) +- Add pattern matching based on regular expressions +- Add kloppy-query: command line tool to search for patterns + +## 0.4.1 (2020-06-05) +- Fix for StatsBomb Serializer when location contains z coordinate + +## 0.4.0 (2020-06-02) +- Add StatsBomb event Serializer +- Some fixes in readme +- Refactor some code to get cleaner code +- Pass a logger to performance_logging instead of print to stdout +- Minor fixes to datasets loader + +## 0.3.0 (2020-05-15) +- Add FIFA EPTS Tracking Serializer +- Add some examples +- Add datasets loader to directly load dataset from your python code +- Add limit argument to all loaders + +## 0.2.1 (2020-05-12) +- Add some helpers functions to directly load a dataset by filenames + +## 0.2.0 (2020-05-05) +- Change interface of TrackingDataSerializer +- Add Metrica Tracking Serializer including automated tests +- Cleanup some import statements -## 0.6.2 -- Fix to_pandas for Opta event data \ No newline at end of file +## 0.1.0 (2020-04-23) +- Initial release (TRACAB) \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index e5673830..aa1b7ff6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -231,7 +231,7 @@ with open("eventdata.json", "rb") as event_data, \ dataset = serializer.deserialize( inputs={ 'event_data': event_data, - 'f7_data': f7_data + 'metadata': metadata }, options={ "event_types": ["pass", "shot"] From e22e1d37516c255716b369a0ac3b366e70557507 Mon Sep 17 00:00:00 2001 From: Koen Vossen Date: Fri, 7 Aug 2020 16:31:43 +0200 Subject: [PATCH 2/2] Prepare for v1.1.0 --- docs/changelog.md | 5 ++++- setup.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index 1301be9a..a81e098e 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,11 +2,14 @@ Find out all changes between different kloppy versions -## 1.1.0 (2020-09-XX To be released) +## 1.1.0 (2020-08-07) Github issues closed: + - Add provider to dataset ([#36](https://github.com/PySport/kloppy/issues/36)) +- Adding a data type type to the datasets ([#45](https://github.com/PySport/kloppy/issues/45)) Other pull requests merged: + - Add Metrics Json event serializer ([#44](https://github.com/PySport/kloppy/pull/44)) - Code formatting & typos in docs ([#39](https://github.com/PySport/kloppy/pull/39), [#40](https://github.com/PySport/kloppy/pull/40)) diff --git a/setup.py b/setup.py index 5a8e37dc..19496d79 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name="kloppy", - version="1.0.0", + version="1.1.0", author="Koen Vossen", author_email="info@koenvossen.nl", url="https://kloppy.pysport.org/",