kleinkram 0.19.1.dev20240916105242__py3-none-any.whl → 0.20.0__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.
- kleinkram/consts.py +2 -1
- kleinkram/mission/mission.py +7 -2
- {kleinkram-0.19.1.dev20240916105242.dist-info → kleinkram-0.20.0.dist-info}/METADATA +1 -1
- {kleinkram-0.19.1.dev20240916105242.dist-info → kleinkram-0.20.0.dist-info}/RECORD +7 -7
- {kleinkram-0.19.1.dev20240916105242.dist-info → kleinkram-0.20.0.dist-info}/WHEEL +0 -0
- {kleinkram-0.19.1.dev20240916105242.dist-info → kleinkram-0.20.0.dist-info}/entry_points.txt +0 -0
- {kleinkram-0.19.1.dev20240916105242.dist-info → kleinkram-0.20.0.dist-info}/licenses/LICENSE +0 -0
kleinkram/consts.py
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
API_URL=
|
|
1
|
+
API_URL = "http://localhost:3000"
|
|
2
|
+
# API_URL = "https://api.datasets.leggedrobotics.com"
|
kleinkram/mission/mission.py
CHANGED
|
@@ -188,7 +188,12 @@ def download(
|
|
|
188
188
|
filename = path.split("/")[-1].split("?")[0]
|
|
189
189
|
print(f" - {filename}")
|
|
190
190
|
|
|
191
|
-
response = requests.get(path)
|
|
191
|
+
response = requests.get(path, stream=True) # Enable streaming mode
|
|
192
|
+
chunk_size = 1024 # 1 KB chunks, adjust size if needed
|
|
193
|
+
|
|
194
|
+
# Open the file for writing in binary mode
|
|
192
195
|
with open(os.path.join(local_path, filename), "wb") as f:
|
|
193
|
-
|
|
196
|
+
for chunk in response.iter_content(chunk_size=chunk_size):
|
|
197
|
+
if chunk: # Filter out keep-alive new chunks
|
|
198
|
+
f.write(chunk)
|
|
194
199
|
print(f" Downloaded {filename}")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: kleinkram
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.20.0
|
|
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
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
kleinkram/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
kleinkram/api_client.py,sha256=1GPsM-XFbPYEKP7RfWmzMTwxRqnVh4wtHVuW25KT8kA,2264
|
|
3
|
-
kleinkram/consts.py,sha256=
|
|
3
|
+
kleinkram/consts.py,sha256=8kCOeSdMqEyB89hT55w5yd1fksUwbj52a2nYkZTZI_0,88
|
|
4
4
|
kleinkram/error_handling.py,sha256=Nm3tUtc4blQylJLNChSLgkDLFDHg3Xza0CghRrd_SYE,4015
|
|
5
5
|
kleinkram/helper.py,sha256=nq4LGn-dcRd7y69XnWl2Xz36lTcTaWWe1PZwqGWeOVQ,5590
|
|
6
6
|
kleinkram/main.py,sha256=v3wWCIn-4CxKwcf9mq3UnkqIR1XvbHzEjrX9Ri06-hk,8123
|
|
7
7
|
kleinkram/auth/auth.py,sha256=w3-TsxWxURzLQ3_p43zgV4Rlh4dVL_WqI6HG2aes-b4,4991
|
|
8
8
|
kleinkram/endpoint/endpoint.py,sha256=KAYQgK8J6Et8V_ho2wBUIAdg25Mps6l_glCfC1vvC2g,1372
|
|
9
9
|
kleinkram/file/file.py,sha256=8CCYu9MdG24Rh0aEcNB3OEMUzpLMSoV4VIhdeq2n8iA,3206
|
|
10
|
-
kleinkram/mission/mission.py,sha256=
|
|
10
|
+
kleinkram/mission/mission.py,sha256=xKJZebFMnkOYjbLY5ffM5HKhlwdUeFFFQNYlHlid2wA,6264
|
|
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.
|
|
17
|
-
kleinkram-0.
|
|
18
|
-
kleinkram-0.
|
|
19
|
-
kleinkram-0.
|
|
20
|
-
kleinkram-0.
|
|
16
|
+
kleinkram-0.20.0.dist-info/METADATA,sha256=ipAzVxRtIMm6BVfGt8hzCyR4S4PeK3q1nJ93S7nMZ64,827
|
|
17
|
+
kleinkram-0.20.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
18
|
+
kleinkram-0.20.0.dist-info/entry_points.txt,sha256=RHXtRzcreVHImatgjhQwZQ6GdJThElYjHEWcR1BPXUI,45
|
|
19
|
+
kleinkram-0.20.0.dist-info/licenses/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
|
|
20
|
+
kleinkram-0.20.0.dist-info/RECORD,,
|
|
File without changes
|
{kleinkram-0.19.1.dev20240916105242.dist-info → kleinkram-0.20.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{kleinkram-0.19.1.dev20240916105242.dist-info → kleinkram-0.20.0.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|