kleinkram 0.19.1.dev20240916105242__tar.gz → 0.20.0__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.
Potentially problematic release.
This version of kleinkram might be problematic. Click here for more details.
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/PKG-INFO +1 -1
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/pyproject.toml +1 -1
- kleinkram-0.20.0/src/kleinkram/consts.py +2 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/src/kleinkram/mission/mission.py +7 -2
- kleinkram-0.19.1.dev20240916105242/src/kleinkram/consts.py +0 -1
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/.gitignore +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/LICENSE +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/README.md +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/deploy.sh +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/dev.sh +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/requirements.txt +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/src/klein.py +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/src/kleinkram/__init__.py +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/src/kleinkram/api_client.py +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/src/kleinkram/auth/auth.py +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/src/kleinkram/endpoint/endpoint.py +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/src/kleinkram/error_handling.py +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/src/kleinkram/file/file.py +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/src/kleinkram/helper.py +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/src/kleinkram/main.py +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/src/kleinkram/project/project.py +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/src/kleinkram/queue/queue.py +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/src/kleinkram/tag/tag.py +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/src/kleinkram/topic/topic.py +0 -0
- {kleinkram-0.19.1.dev20240916105242 → kleinkram-0.20.0}/src/kleinkram/user/user.py +0 -0
|
@@ -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
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
API_URL='https://api.datasets.leggedrobotics.com'
|
|
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
|