kleinkram 0.32.1.dev20241016063650__py3-none-any.whl → 0.32.2__py3-none-any.whl

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.

Potentially problematic release.


This version of kleinkram might be problematic. Click here for more details.

@@ -156,7 +156,9 @@ def mission_by_uuid(
156
156
 
157
157
  @missionCommands.command("download")
158
158
  def download(
159
- mission_uuid: Annotated[List[str], typer.Option(help="UUIDs of Mission to download")],
159
+ mission_uuid: Annotated[
160
+ List[str], typer.Option(help="UUIDs of Mission to download")
161
+ ],
160
162
  local_path: Annotated[str, typer.Option()],
161
163
  ):
162
164
  """
@@ -184,15 +186,15 @@ def download(
184
186
  )
185
187
 
186
188
  paths = response.json()
187
- if(len(paths) == 0):
189
+ if len(paths) == 0:
188
190
  continue
189
191
 
190
192
  for path in paths:
191
193
 
192
- filename = path['filename']
194
+ filename = path["filename"]
193
195
  print(f" - {filename}")
194
196
 
195
- response = requests.get(path['link'], stream=True) # Enable streaming mode
197
+ response = requests.get(path["link"], stream=True) # Enable streaming mode
196
198
  chunk_size = 1024 * 100 # 100 KB chunks, adjust size if needed
197
199
 
198
200
  # Open the file for writing in binary mode
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: kleinkram
3
- Version: 0.32.1.dev20241016063650
3
+ Version: 0.32.2
4
4
  Summary: A CLI for the ETH project kleinkram
5
5
  Project-URL: Homepage, https://github.com/leggedrobotics/kleinkram
6
6
  Project-URL: Issues, https://github.com/leggedrobotics/kleinkram/issues
@@ -7,14 +7,14 @@ kleinkram/main.py,sha256=9u_msMlPhphfaL92GNrm-cRUeSHxc_mOFPeXLDzv-ok,9642
7
7
  kleinkram/auth/auth.py,sha256=w3-TsxWxURzLQ3_p43zgV4Rlh4dVL_WqI6HG2aes-b4,4991
8
8
  kleinkram/endpoint/endpoint.py,sha256=uez5UrAnP7L5rVHUysA9tFkN3dB3dG1Ojt9g3w-UWuQ,1441
9
9
  kleinkram/file/file.py,sha256=gLCZDHHgQWq25OmeG-lwkIh4aRZaLK12xxLkbhZ_m-g,5390
10
- kleinkram/mission/mission.py,sha256=bvoIjR2v8TFU-h77SovBdncPReBI82jevJMD0L2dSic,8848
10
+ kleinkram/mission/mission.py,sha256=KI_r-DbaXr8uKi9rnSopj-G1N4Nq_ELEBn4mPJXMQzQ,8861
11
11
  kleinkram/project/project.py,sha256=yDygz9JJ4Td5VsoCoCLm36HccRyd7jl65Hq05uxEGts,1602
12
12
  kleinkram/queue/queue.py,sha256=MaLBjAu8asi9BkPvbbT-5AobCcpy3ex5rxM1kHpRINA,181
13
13
  kleinkram/tag/tag.py,sha256=JSHbDPVfsvP34MuQhw__DPQk-Bah5G9BgwYsj_K_JGc,1805
14
14
  kleinkram/topic/topic.py,sha256=IaXhrIHcJ3FSIr0WC-N7u9fkz-lAvSBgQklTX67t0Yc,1641
15
15
  kleinkram/user/user.py,sha256=hDrbWeFPPnh2sswDd445SwcIFGyAbfXXWpYq1VqrK0g,1379
16
- kleinkram-0.32.1.dev20241016063650.dist-info/METADATA,sha256=dbaL-Xj5tgSJHcZfbVryeAg02YsdsekRixQyr_DOr3A,845
17
- kleinkram-0.32.1.dev20241016063650.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
18
- kleinkram-0.32.1.dev20241016063650.dist-info/entry_points.txt,sha256=RHXtRzcreVHImatgjhQwZQ6GdJThElYjHEWcR1BPXUI,45
19
- kleinkram-0.32.1.dev20241016063650.dist-info/licenses/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
20
- kleinkram-0.32.1.dev20241016063650.dist-info/RECORD,,
16
+ kleinkram-0.32.2.dist-info/METADATA,sha256=nVWq8jKMeFvKUboIcJ_4AiBiAniO4pyvQSihuQTiW9A,827
17
+ kleinkram-0.32.2.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
18
+ kleinkram-0.32.2.dist-info/entry_points.txt,sha256=RHXtRzcreVHImatgjhQwZQ6GdJThElYjHEWcR1BPXUI,45
19
+ kleinkram-0.32.2.dist-info/licenses/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
20
+ kleinkram-0.32.2.dist-info/RECORD,,