vaapi 0.7.26__tar.gz → 0.7.28__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. {vaapi-0.7.26/vaapi.egg-info → vaapi-0.7.28}/PKG-INFO +1 -1
  2. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/__init__.py +1 -1
  3. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/base_client.py +2 -2
  4. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/events/client.py +7 -2
  5. {vaapi-0.7.26/vaapi/video → vaapi-0.7.28/vaapi/videos}/client.py +6 -6
  6. {vaapi-0.7.26 → vaapi-0.7.28/vaapi.egg-info}/PKG-INFO +1 -1
  7. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi.egg-info/SOURCES.txt +2 -2
  8. {vaapi-0.7.26 → vaapi-0.7.28}/.github/workflows/deploy_sdk.yml +0 -0
  9. {vaapi-0.7.26 → vaapi-0.7.28}/.gitignore +0 -0
  10. {vaapi-0.7.26 → vaapi-0.7.28}/README.md +0 -0
  11. {vaapi-0.7.26 → vaapi-0.7.28}/examples/README.md +0 -0
  12. {vaapi-0.7.26 → vaapi-0.7.28}/examples/annotation_demo.py +0 -0
  13. {vaapi-0.7.26 → vaapi-0.7.28}/examples/ballcanditates.py +0 -0
  14. {vaapi-0.7.26 → vaapi-0.7.28}/examples/basics.py +0 -0
  15. {vaapi-0.7.26 → vaapi-0.7.28}/examples/behavior_demo.py +0 -0
  16. {vaapi-0.7.26 → vaapi-0.7.28}/examples/broken_demos/annotation_example.py +0 -0
  17. {vaapi-0.7.26 → vaapi-0.7.28}/examples/broken_demos/find_kicks_near_goal.py +0 -0
  18. {vaapi-0.7.26 → vaapi-0.7.28}/examples/broken_demos/frame_filter_example.py +0 -0
  19. {vaapi-0.7.26 → vaapi-0.7.28}/examples/broken_demos/frame_times.py +0 -0
  20. {vaapi-0.7.26 → vaapi-0.7.28}/examples/broken_demos/heatmap.py +0 -0
  21. {vaapi-0.7.26 → vaapi-0.7.28}/examples/bulk_image_update.py +0 -0
  22. {vaapi-0.7.26 → vaapi-0.7.28}/examples/file_upload.py +0 -0
  23. {vaapi-0.7.26 → vaapi-0.7.28}/examples/filter_behavior_demo.py +0 -0
  24. {vaapi-0.7.26 → vaapi-0.7.28}/examples/fix_images.py +0 -0
  25. {vaapi-0.7.26 → vaapi-0.7.28}/examples/get_annotations.py +0 -0
  26. {vaapi-0.7.26 → vaapi-0.7.28}/examples/get_frame_per_video_timestamp.py +0 -0
  27. {vaapi-0.7.26 → vaapi-0.7.28}/examples/get_game_model_data.py +0 -0
  28. {vaapi-0.7.26 → vaapi-0.7.28}/examples/get_image.py +0 -0
  29. {vaapi-0.7.26 → vaapi-0.7.28}/examples/get_log_model_data.py +0 -0
  30. {vaapi-0.7.26 → vaapi-0.7.28}/examples/get_teams.py +0 -0
  31. {vaapi-0.7.26 → vaapi-0.7.28}/examples/get_video_model_data.py +0 -0
  32. {vaapi-0.7.26 → vaapi-0.7.28}/examples/image_demo.py +0 -0
  33. {vaapi-0.7.26 → vaapi-0.7.28}/examples/image_pagination.py +0 -0
  34. {vaapi-0.7.26 → vaapi-0.7.28}/examples/imu_demo.py +0 -0
  35. {vaapi-0.7.26 → vaapi-0.7.28}/examples/mmap_local_demo.py +0 -0
  36. {vaapi-0.7.26 → vaapi-0.7.28}/examples/num_kicks_demo.py +0 -0
  37. {vaapi-0.7.26 → vaapi-0.7.28}/examples/num_kicks_demo_interactive.py +0 -0
  38. {vaapi-0.7.26 → vaapi-0.7.28}/examples/requirements.txt +0 -0
  39. {vaapi-0.7.26 → vaapi-0.7.28}/examples/robot.py +0 -0
  40. {vaapi-0.7.26 → vaapi-0.7.28}/examples/slice.py +0 -0
  41. {vaapi-0.7.26 → vaapi-0.7.28}/examples/team_demo.py +0 -0
  42. {vaapi-0.7.26 → vaapi-0.7.28}/package_pypi.sh +0 -0
  43. {vaapi-0.7.26 → vaapi-0.7.28}/pyproject.toml +0 -0
  44. {vaapi-0.7.26 → vaapi-0.7.28}/renovate.json +0 -0
  45. {vaapi-0.7.26 → vaapi-0.7.28}/setup.cfg +0 -0
  46. {vaapi-0.7.26 → vaapi-0.7.28}/tests/run_tests.py +0 -0
  47. {vaapi-0.7.26 → vaapi-0.7.28}/tests/tests/cognition_repr_test.py +0 -0
  48. {vaapi-0.7.26 → vaapi-0.7.28}/tests/tests/event_tests.py +0 -0
  49. {vaapi-0.7.26 → vaapi-0.7.28}/tests/tests/game_tests.py +0 -0
  50. {vaapi-0.7.26 → vaapi-0.7.28}/tests/tests/logs_tests.py +0 -0
  51. {vaapi-0.7.26 → vaapi-0.7.28}/tests/tests/motion_repr_test.py +0 -0
  52. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/annotations/__init__.py +0 -0
  53. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/annotations/client.py +0 -0
  54. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/behavior_frame_option/__init__.py +0 -0
  55. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/behavior_frame_option/client.py +0 -0
  56. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/behavior_options/__init__.py +0 -0
  57. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/behavior_options/client.py +0 -0
  58. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/behavior_options_state/__init__.py +0 -0
  59. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/behavior_options_state/client.py +0 -0
  60. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/client.py +0 -0
  61. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/cognition_frame/__init__.py +0 -0
  62. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/cognition_frame/client.py +0 -0
  63. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/cognition_representation/__init__.py +0 -0
  64. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/cognition_representation/client.py +0 -0
  65. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/api_error.py +0 -0
  66. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/client_wrapper.py +0 -0
  67. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/datetime_utils.py +0 -0
  68. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/file.py +0 -0
  69. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/http_client.py +0 -0
  70. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/jsonable_encoder.py +0 -0
  71. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/pagination.py +0 -0
  72. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/pydantic_utilities.py +0 -0
  73. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/query_encoder.py +0 -0
  74. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/remove_none_from_dict.py +0 -0
  75. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/request_options.py +0 -0
  76. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/events/__init__.py +0 -0
  77. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/experiment/__init__.py +0 -0
  78. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/experiment/client.py +0 -0
  79. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/frame_filter/__init__.py +0 -0
  80. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/frame_filter/client.py +0 -0
  81. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/game/__init__.py +0 -0
  82. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/game/client.py +0 -0
  83. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/image/__init__.py +0 -0
  84. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/image/client.py +0 -0
  85. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/log_status/__init__.py +0 -0
  86. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/log_status/client.py +0 -0
  87. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/logs/__init__.py +0 -0
  88. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/logs/client.py +0 -0
  89. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/motion_frame/__init__.py +0 -0
  90. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/motion_frame/client.py +0 -0
  91. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/motion_representation/__init__.py +0 -0
  92. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/motion_representation/client.py +0 -0
  93. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/robots/__init__.py +0 -0
  94. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/robots/client.py +0 -0
  95. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/teams/__init__.py +0 -0
  96. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/teams/client.py +0 -0
  97. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/timeline/__init__.py +0 -0
  98. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/timeline/client.py +0 -0
  99. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/annotation.py +0 -0
  100. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/behavior_option.py +0 -0
  101. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/behavior_option_state.py +0 -0
  102. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/behaviorframe_options.py +0 -0
  103. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/cognition_frame.py +0 -0
  104. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/cognition_representation.py +0 -0
  105. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/event.py +0 -0
  106. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/experiment.py +0 -0
  107. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/frame_filter.py +0 -0
  108. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/game.py +0 -0
  109. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/image.py +0 -0
  110. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/log.py +0 -0
  111. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/log_status.py +0 -0
  112. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/motion_frame.py +0 -0
  113. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/motion_representation.py +0 -0
  114. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/robots.py +0 -0
  115. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/teams.py +0 -0
  116. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/timeline.py +0 -0
  117. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/video.py +0 -0
  118. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/xabsl_symbol_complete.py +0 -0
  119. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/xabsl_symbol_sparse.py +0 -0
  120. {vaapi-0.7.26/vaapi/video → vaapi-0.7.28/vaapi/videos}/__init__.py +0 -0
  121. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/xabsl_symbol_complete/__init__.py +0 -0
  122. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/xabsl_symbol_complete/client.py +0 -0
  123. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/xabsl_symbol_sparse/__init__.py +0 -0
  124. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/xabsl_symbol_sparse/client.py +0 -0
  125. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi.egg-info/dependency_links.txt +0 -0
  126. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi.egg-info/requires.txt +0 -0
  127. {vaapi-0.7.26 → vaapi-0.7.28}/vaapi.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vaapi
3
- Version: 0.7.26
3
+ Version: 0.7.28
4
4
  Summary: Python utils for adding logs to our Visual Analytics Tool
5
5
  Author-email: NaoTH Berlin United <nao-team@informatik.hu-berlin.de>
6
6
  License: Apache-2.0
@@ -2,4 +2,4 @@
2
2
  you can perform with the API of the visual analytics tool by Berlin United for the Robocup SPL
3
3
  """
4
4
 
5
- __version__ = "0.7.26"
5
+ __version__ = "0.7.28"
@@ -21,7 +21,7 @@ from .frame_filter.client import FrameFilterClient
21
21
  from .experiment.client import ExperimentClient
22
22
  from .motion_frame.client import MotionFrameClient
23
23
  from .cognition_frame.client import CognitionFrameClient
24
- from .video.client import VideoClient
24
+ from .videos.client import VideoClient
25
25
  from .teams.client import TeamClient
26
26
  from .robots.client import RobotClient
27
27
  from .timeline.client import TimelineClient
@@ -131,7 +131,7 @@ class VaapiBase:
131
131
  self.logs = LogClient(client_wrapper=self._client_wrapper)
132
132
  self.cognitionframe = CognitionFrameClient(client_wrapper=self._client_wrapper)
133
133
  self.motionframe = MotionFrameClient(client_wrapper=self._client_wrapper)
134
- self.video = VideoClient(client_wrapper=self._client_wrapper)
134
+ self.videos = VideoClient(client_wrapper=self._client_wrapper)
135
135
  self.behavior_option = BehaviorOptionClient(client_wrapper=self._client_wrapper)
136
136
  self.behavior_option_state = BehaviorOptionStateClient(
137
137
  client_wrapper=self._client_wrapper
@@ -137,7 +137,8 @@ class EventsClient:
137
137
  raise ApiError(status_code=_response.status_code, body=_response_json)
138
138
 
139
139
  def list(
140
- self, *, request_options: typing.Optional[RequestOptions] = None
140
+ self, *, request_options: typing.Optional[RequestOptions] = None,
141
+ **filters: typing.Any,
141
142
  ) -> typing.List[Event]:
142
143
  """
143
144
  Examples
@@ -150,8 +151,12 @@ class EventsClient:
150
151
  )
151
152
  client.event.list()
152
153
  """
154
+ query_params = {k: v for k, v in filters.items() if v is not None}
153
155
  _response = self._client_wrapper.httpx_client.request(
154
- "api/events/", method="GET", request_options=request_options
156
+ "api/events/",
157
+ method="GET",
158
+ request_options=request_options,
159
+ params=query_params,
155
160
  )
156
161
  try:
157
162
  if 200 <= _response.status_code < 300:
@@ -31,7 +31,7 @@ class VideoClient:
31
31
  )
32
32
  """
33
33
  _response = self._client_wrapper.httpx_client.request(
34
- f"api/video/{jsonable_encoder(id)}/",
34
+ f"api/videos/{jsonable_encoder(id)}/",
35
35
  method="GET",
36
36
  request_options=request_options,
37
37
  )
@@ -58,7 +58,7 @@ class VideoClient:
58
58
  )
59
59
  """
60
60
  _response = self._client_wrapper.httpx_client.request(
61
- f"api/video/{jsonable_encoder(id)}/",
61
+ f"api/videos/{jsonable_encoder(id)}/",
62
62
  method="DELETE",
63
63
  request_options=request_options,
64
64
  )
@@ -93,7 +93,7 @@ class VideoClient:
93
93
  )
94
94
  """
95
95
  _response = self._client_wrapper.httpx_client.request(
96
- f"api/video/{jsonable_encoder(id)}/",
96
+ f"api/videos/{jsonable_encoder(id)}/",
97
97
  method="PATCH",
98
98
  json={
99
99
  "game": game,
@@ -134,7 +134,7 @@ class VideoClient:
134
134
  query_params = {k: v for k, v in filters.items() if v is not None}
135
135
 
136
136
  _response = self._client_wrapper.httpx_client.request(
137
- "api/video/",
137
+ "api/videos/",
138
138
  method="GET",
139
139
  request_options=request_options,
140
140
  params=query_params,
@@ -169,7 +169,7 @@ class VideoClient:
169
169
  )
170
170
  """
171
171
  _response = self._client_wrapper.httpx_client.request(
172
- "api/video/",
172
+ "api/videos/",
173
173
  method="POST",
174
174
  json={
175
175
  "game": game,
@@ -215,7 +215,7 @@ class VideoClient:
215
215
  }
216
216
 
217
217
  with self._client_wrapper.httpx_client.stream(
218
- "api/video/slice",
218
+ "api/videos/slice",
219
219
  method="GET",
220
220
  request_options=request_options,
221
221
  params=query_params,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vaapi
3
- Version: 0.7.26
3
+ Version: 0.7.28
4
4
  Summary: Python utils for adding logs to our Visual Analytics Tool
5
5
  Author-email: NaoTH Berlin United <nao-team@informatik.hu-berlin.de>
6
6
  License: Apache-2.0
@@ -117,8 +117,8 @@ vaapi/types/timeline.py
117
117
  vaapi/types/video.py
118
118
  vaapi/types/xabsl_symbol_complete.py
119
119
  vaapi/types/xabsl_symbol_sparse.py
120
- vaapi/video/__init__.py
121
- vaapi/video/client.py
120
+ vaapi/videos/__init__.py
121
+ vaapi/videos/client.py
122
122
  vaapi/xabsl_symbol_complete/__init__.py
123
123
  vaapi/xabsl_symbol_complete/client.py
124
124
  vaapi/xabsl_symbol_sparse/__init__.py
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes