anyverse-adp 0.1.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.
- anyverse_adp-0.1.0/PKG-INFO +30 -0
- anyverse_adp-0.1.0/README.md +17 -0
- anyverse_adp-0.1.0/pyproject.toml +30 -0
- anyverse_adp-0.1.0/src/anyverse_adp/__init__.py +3 -0
- anyverse_adp-0.1.0/src/anyverse_adp/cli.py +890 -0
- anyverse_adp-0.1.0/src/anyverse_adp/client.py +227 -0
- anyverse_adp-0.1.0/src/anyverse_adp/config.py +102 -0
- anyverse_adp-0.1.0/src/anyverse_adp/errors.py +5 -0
- anyverse_adp-0.1.0/src/anyverse_adp/exporter.py +293 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: anyverse-adp
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Command-line export of Anyverse Data Platform Episode metadata
|
|
5
|
+
Requires-Dist: tomli>=2.0 ; python_full_version < '3.11'
|
|
6
|
+
Requires-Dist: httpx>=0.28,<1
|
|
7
|
+
Requires-Dist: prompt-toolkit>=3.0,<4
|
|
8
|
+
Requires-Dist: rich>=13.9,<14
|
|
9
|
+
Requires-Dist: questionary>=2,<3
|
|
10
|
+
Requires-Dist: typer>=0.15,<1
|
|
11
|
+
Requires-Python: >=3.10
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
|
|
14
|
+
# Anyverse ADP CLI
|
|
15
|
+
|
|
16
|
+
`anyverse-adp` provides the `adp-cli` command for reading the Anyverse Data Platform's registered LeRobot catalog and exporting Episode metadata CSV files.
|
|
17
|
+
|
|
18
|
+
Install it with `pip install anyverse-adp`. Create a Platform API Key with `episodes:read`, then either set `ADP_CLI_API_KEY` or run an interactive command and enter the Key when prompted.
|
|
19
|
+
|
|
20
|
+
```text
|
|
21
|
+
adp-cli list
|
|
22
|
+
adp-cli --version
|
|
23
|
+
adp-cli browse
|
|
24
|
+
adp-cli info <dataset-slug>
|
|
25
|
+
adp-cli export <dataset-slug> <collection-key> --region <region> --output <directory-or-file.csv>
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
`adp-cli browse` is an inline terminal selector. It redraws a single `Anyverse Data Platform CLI` panel in the current terminal so the selected Dataset, Collection, region, and latest result stay together. Use Up/Down and Enter to select a Dataset, Collection, region, and export mode; type in Dataset and Collection menus to filter choices, and use Backspace to clear the filter. Press Esc to return to the previous level (or exit from Dataset). After a dry-run or completed export, its result remains visible and the selector offers continue or exit. It does not open a full-screen UI or switch to an alternate terminal screen.
|
|
29
|
+
|
|
30
|
+
The command reads catalog metadata, including the selected Artifact `oss://bucket/prefix/` root in the `oss_location` CSV column. It does not download dataset objects or grant object-storage access.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Anyverse ADP CLI
|
|
2
|
+
|
|
3
|
+
`anyverse-adp` provides the `adp-cli` command for reading the Anyverse Data Platform's registered LeRobot catalog and exporting Episode metadata CSV files.
|
|
4
|
+
|
|
5
|
+
Install it with `pip install anyverse-adp`. Create a Platform API Key with `episodes:read`, then either set `ADP_CLI_API_KEY` or run an interactive command and enter the Key when prompted.
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
adp-cli list
|
|
9
|
+
adp-cli --version
|
|
10
|
+
adp-cli browse
|
|
11
|
+
adp-cli info <dataset-slug>
|
|
12
|
+
adp-cli export <dataset-slug> <collection-key> --region <region> --output <directory-or-file.csv>
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
`adp-cli browse` is an inline terminal selector. It redraws a single `Anyverse Data Platform CLI` panel in the current terminal so the selected Dataset, Collection, region, and latest result stay together. Use Up/Down and Enter to select a Dataset, Collection, region, and export mode; type in Dataset and Collection menus to filter choices, and use Backspace to clear the filter. Press Esc to return to the previous level (or exit from Dataset). After a dry-run or completed export, its result remains visible and the selector offers continue or exit. It does not open a full-screen UI or switch to an alternate terminal screen.
|
|
16
|
+
|
|
17
|
+
The command reads catalog metadata, including the selected Artifact `oss://bucket/prefix/` root in the `oss_location` CSV column. It does not download dataset objects or grant object-storage access.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "anyverse-adp"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "Command-line export of Anyverse Data Platform Episode metadata"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.10"
|
|
7
|
+
dependencies = [
|
|
8
|
+
"tomli>=2.0; python_version < '3.11'",
|
|
9
|
+
"httpx>=0.28,<1",
|
|
10
|
+
"prompt-toolkit>=3.0,<4",
|
|
11
|
+
"rich>=13.9,<14",
|
|
12
|
+
"questionary>=2,<3",
|
|
13
|
+
"typer>=0.15,<1",
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
[dependency-groups]
|
|
17
|
+
dev = [
|
|
18
|
+
"pytest>=9.0,<10",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
[project.scripts]
|
|
22
|
+
adp-cli = "anyverse_adp.cli:main"
|
|
23
|
+
|
|
24
|
+
[build-system]
|
|
25
|
+
requires = ["uv_build>=0.11,<0.12"]
|
|
26
|
+
build-backend = "uv_build"
|
|
27
|
+
|
|
28
|
+
[tool.uv.build-backend]
|
|
29
|
+
module-name = "anyverse_adp"
|
|
30
|
+
module-root = "src"
|