kleinkram 0.0.121.dev20240731104925__tar.gz → 0.0.121.dev20240805131106__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.0.121.dev20240731104925 → kleinkram-0.0.121.dev20240805131106}/.gitignore +1 -1
- {kleinkram-0.0.121.dev20240731104925 → kleinkram-0.0.121.dev20240805131106}/PKG-INFO +1 -1
- {kleinkram-0.0.121.dev20240731104925 → kleinkram-0.0.121.dev20240805131106}/pyproject.toml +1 -1
- {kleinkram-0.0.121.dev20240731104925 → kleinkram-0.0.121.dev20240805131106}/src/kleinkram/main.py +8 -2
- {kleinkram-0.0.121.dev20240731104925 → kleinkram-0.0.121.dev20240805131106}/LICENSE +0 -0
- {kleinkram-0.0.121.dev20240731104925 → kleinkram-0.0.121.dev20240805131106}/README.md +0 -0
- {kleinkram-0.0.121.dev20240731104925 → kleinkram-0.0.121.dev20240805131106}/deploy.sh +0 -0
- {kleinkram-0.0.121.dev20240731104925 → kleinkram-0.0.121.dev20240805131106}/dev.sh +0 -0
- {kleinkram-0.0.121.dev20240731104925 → kleinkram-0.0.121.dev20240805131106}/requirements.txt +0 -0
- {kleinkram-0.0.121.dev20240731104925 → kleinkram-0.0.121.dev20240805131106}/src/kleinkram/__init__.py +0 -0
- {kleinkram-0.0.121.dev20240731104925 → kleinkram-0.0.121.dev20240805131106}/src/kleinkram/auth.py +0 -0
- {kleinkram-0.0.121.dev20240731104925 → kleinkram-0.0.121.dev20240805131106}/src/kleinkram/consts.py +0 -0
- {kleinkram-0.0.121.dev20240731104925 → kleinkram-0.0.121.dev20240805131106}/src/kleinkram/helper.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: kleinkram
|
|
3
|
-
Version: 0.0.121.
|
|
3
|
+
Version: 0.0.121.dev20240805131106
|
|
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
|
{kleinkram-0.0.121.dev20240731104925 → kleinkram-0.0.121.dev20240805131106}/src/kleinkram/main.py
RENAMED
|
@@ -42,9 +42,10 @@ app.command(hidden=True)(setCliKey)
|
|
|
42
42
|
def list_files(
|
|
43
43
|
project: Optional[str] = typer.Option(None, help="Name of Project"),
|
|
44
44
|
mission: Optional[str] = typer.Option(None, help="Name of Mission"),
|
|
45
|
-
topics: Optional[
|
|
45
|
+
topics: Optional[str] = typer.Option(
|
|
46
46
|
None, help="Comma separated list of topics"
|
|
47
47
|
),
|
|
48
|
+
tags: Optional[str] = typer.Option(None, help="Comma separated list of tagtype:tagvalue pairs")
|
|
48
49
|
):
|
|
49
50
|
"""
|
|
50
51
|
List all files with optional filters for project, mission, or topics.
|
|
@@ -66,6 +67,11 @@ def list_files(
|
|
|
66
67
|
params["missionName"] = mission
|
|
67
68
|
if topics:
|
|
68
69
|
params["topics"] = topics
|
|
70
|
+
if tags:
|
|
71
|
+
params["tags"] = {}
|
|
72
|
+
for tag in tags.split(","):
|
|
73
|
+
tagtype, tagvalue = tag.split("§")
|
|
74
|
+
params['tags'][tagtype] = tagvalue
|
|
69
75
|
response = client.get(
|
|
70
76
|
url,
|
|
71
77
|
params=params,
|
|
@@ -244,7 +250,7 @@ def create_project(
|
|
|
244
250
|
"""
|
|
245
251
|
Create a new project
|
|
246
252
|
"""
|
|
247
|
-
#Todo add required tags as option.
|
|
253
|
+
# Todo add required tags as option.
|
|
248
254
|
try:
|
|
249
255
|
url = "/project/create"
|
|
250
256
|
response = client.post(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kleinkram-0.0.121.dev20240731104925 → kleinkram-0.0.121.dev20240805131106}/requirements.txt
RENAMED
|
File without changes
|
|
File without changes
|
{kleinkram-0.0.121.dev20240731104925 → kleinkram-0.0.121.dev20240805131106}/src/kleinkram/auth.py
RENAMED
|
File without changes
|
{kleinkram-0.0.121.dev20240731104925 → kleinkram-0.0.121.dev20240805131106}/src/kleinkram/consts.py
RENAMED
|
File without changes
|
{kleinkram-0.0.121.dev20240731104925 → kleinkram-0.0.121.dev20240805131106}/src/kleinkram/helper.py
RENAMED
|
File without changes
|