kscale 0.3.3__tar.gz → 0.3.5__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 (43) hide show
  1. {kscale-0.3.3/kscale.egg-info → kscale-0.3.5}/PKG-INFO +1 -1
  2. {kscale-0.3.3 → kscale-0.3.5}/kscale/__init__.py +1 -1
  3. {kscale-0.3.3 → kscale-0.3.5}/kscale/web/cli/robot_class.py +3 -3
  4. {kscale-0.3.3 → kscale-0.3.5}/kscale/web/gen/api.py +5 -1
  5. {kscale-0.3.3 → kscale-0.3.5/kscale.egg-info}/PKG-INFO +1 -1
  6. {kscale-0.3.3 → kscale-0.3.5}/LICENSE +0 -0
  7. {kscale-0.3.3 → kscale-0.3.5}/MANIFEST.in +0 -0
  8. {kscale-0.3.3 → kscale-0.3.5}/README.md +0 -0
  9. {kscale-0.3.3 → kscale-0.3.5}/kscale/artifacts/__init__.py +0 -0
  10. {kscale-0.3.3 → kscale-0.3.5}/kscale/artifacts/plane.obj +0 -0
  11. {kscale-0.3.3 → kscale-0.3.5}/kscale/artifacts/plane.urdf +0 -0
  12. {kscale-0.3.3 → kscale-0.3.5}/kscale/cli.py +0 -0
  13. {kscale-0.3.3 → kscale-0.3.5}/kscale/conf.py +0 -0
  14. {kscale-0.3.3 → kscale-0.3.5}/kscale/py.typed +0 -0
  15. {kscale-0.3.3 → kscale-0.3.5}/kscale/requirements-dev.txt +0 -0
  16. {kscale-0.3.3 → kscale-0.3.5}/kscale/requirements.txt +0 -0
  17. {kscale-0.3.3 → kscale-0.3.5}/kscale/utils/__init__.py +0 -0
  18. {kscale-0.3.3 → kscale-0.3.5}/kscale/utils/api_base.py +0 -0
  19. {kscale-0.3.3 → kscale-0.3.5}/kscale/utils/checksum.py +0 -0
  20. {kscale-0.3.3 → kscale-0.3.5}/kscale/utils/cli.py +0 -0
  21. {kscale-0.3.3 → kscale-0.3.5}/kscale/web/__init__.py +0 -0
  22. {kscale-0.3.3 → kscale-0.3.5}/kscale/web/cli/__init__.py +0 -0
  23. {kscale-0.3.3 → kscale-0.3.5}/kscale/web/cli/robot.py +0 -0
  24. {kscale-0.3.3 → kscale-0.3.5}/kscale/web/cli/token.py +0 -0
  25. {kscale-0.3.3 → kscale-0.3.5}/kscale/web/cli/user.py +0 -0
  26. {kscale-0.3.3 → kscale-0.3.5}/kscale/web/clients/__init__.py +0 -0
  27. {kscale-0.3.3 → kscale-0.3.5}/kscale/web/clients/base.py +0 -0
  28. {kscale-0.3.3 → kscale-0.3.5}/kscale/web/clients/client.py +0 -0
  29. {kscale-0.3.3 → kscale-0.3.5}/kscale/web/clients/robot.py +0 -0
  30. {kscale-0.3.3 → kscale-0.3.5}/kscale/web/clients/robot_class.py +0 -0
  31. {kscale-0.3.3 → kscale-0.3.5}/kscale/web/clients/user.py +0 -0
  32. {kscale-0.3.3 → kscale-0.3.5}/kscale/web/gen/__init__.py +0 -0
  33. {kscale-0.3.3 → kscale-0.3.5}/kscale/web/utils.py +0 -0
  34. {kscale-0.3.3 → kscale-0.3.5}/kscale.egg-info/SOURCES.txt +0 -0
  35. {kscale-0.3.3 → kscale-0.3.5}/kscale.egg-info/dependency_links.txt +0 -0
  36. {kscale-0.3.3 → kscale-0.3.5}/kscale.egg-info/entry_points.txt +0 -0
  37. {kscale-0.3.3 → kscale-0.3.5}/kscale.egg-info/not-zip-safe +0 -0
  38. {kscale-0.3.3 → kscale-0.3.5}/kscale.egg-info/requires.txt +0 -0
  39. {kscale-0.3.3 → kscale-0.3.5}/kscale.egg-info/top_level.txt +0 -0
  40. {kscale-0.3.3 → kscale-0.3.5}/pyproject.toml +0 -0
  41. {kscale-0.3.3 → kscale-0.3.5}/setup.cfg +0 -0
  42. {kscale-0.3.3 → kscale-0.3.5}/setup.py +0 -0
  43. {kscale-0.3.3 → kscale-0.3.5}/tests/test_dummy.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: kscale
3
- Version: 0.3.3
3
+ Version: 0.3.5
4
4
  Summary: The kscale project
5
5
  Home-page: https://github.com/kscalelabs/kscale
6
6
  Author: Benjamin Bolte
@@ -1,6 +1,6 @@
1
1
  """Defines the common interface for the K-Scale Python API."""
2
2
 
3
- __version__ = "0.3.3"
3
+ __version__ = "0.3.5"
4
4
 
5
5
  from pathlib import Path
6
6
 
@@ -145,12 +145,12 @@ async def upload(class_name: str, urdf_file: str) -> None:
145
145
 
146
146
  @urdf.command()
147
147
  @click.argument("class_name")
148
- @click.option("--no-cache", is_flag=True, default=False)
148
+ @click.option("--cache", is_flag=True, default=False)
149
149
  @coro
150
- async def download(class_name: str, no_cache: bool) -> None:
150
+ async def download(class_name: str, cache: bool) -> None:
151
151
  """Downloads a URDF file from a robot class."""
152
152
  async with RobotClassClient() as client:
153
- urdf_file = await client.download_compressed_urdf(class_name, cache=not no_cache)
153
+ urdf_file = await client.download_and_extract_urdf(class_name, cache=cache)
154
154
  click.echo(f"URDF downloaded: {click.style(urdf_file, fg='green')}")
155
155
 
156
156
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # generated by datamodel-codegen:
4
4
  # filename: openapi.json
5
- # timestamp: 2025-01-22T22:58:10+00:00
5
+ # timestamp: 2025-01-22T23:12:27+00:00
6
6
 
7
7
  from __future__ import annotations
8
8
 
@@ -32,6 +32,8 @@ class JointMetadataInput(BaseModel):
32
32
  id: Optional[int] = Field(None, title="Id")
33
33
  kp: Optional[Union[float, str]] = Field(None, title="Kp")
34
34
  kd: Optional[Union[float, str]] = Field(None, title="Kd")
35
+ armature: Optional[Union[float, str]] = Field(None, title="Armature")
36
+ friction: Optional[Union[float, str]] = Field(None, title="Friction")
35
37
  offset: Optional[Union[float, str]] = Field(None, title="Offset")
36
38
  flipped: Optional[bool] = Field(None, title="Flipped")
37
39
 
@@ -40,6 +42,8 @@ class JointMetadataOutput(BaseModel):
40
42
  id: Optional[int] = Field(None, title="Id")
41
43
  kp: Optional[str] = Field(None, title="Kp")
42
44
  kd: Optional[str] = Field(None, title="Kd")
45
+ armature: Optional[str] = Field(None, title="Armature")
46
+ friction: Optional[str] = Field(None, title="Friction")
43
47
  offset: Optional[str] = Field(None, title="Offset")
44
48
  flipped: Optional[bool] = Field(None, title="Flipped")
45
49
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: kscale
3
- Version: 0.3.3
3
+ Version: 0.3.5
4
4
  Summary: The kscale project
5
5
  Home-page: https://github.com/kscalelabs/kscale
6
6
  Author: Benjamin Bolte
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