epishelf 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.
- epishelf-0.1.0/.github/dependabot.yml +6 -0
- epishelf-0.1.0/.github/workflows/ci.yml +53 -0
- epishelf-0.1.0/.github/workflows/release.yml +29 -0
- epishelf-0.1.0/.gitignore +15 -0
- epishelf-0.1.0/.python-version +1 -0
- epishelf-0.1.0/AGENTS.md +12 -0
- epishelf-0.1.0/CONTRIBUTING.md +139 -0
- epishelf-0.1.0/LICENSE +202 -0
- epishelf-0.1.0/Makefile +35 -0
- epishelf-0.1.0/PKG-INFO +225 -0
- epishelf-0.1.0/README.md +203 -0
- epishelf-0.1.0/docs/assets/epishelf-architecture.svg +43 -0
- epishelf-0.1.0/docs/assets/epishelf-workflow.svg +226 -0
- epishelf-0.1.0/docs/catalog.md +270 -0
- epishelf-0.1.0/docs/design.md +115 -0
- epishelf-0.1.0/docs/families/abc130k.md +49 -0
- epishelf-0.1.0/docs/families/agibot.md +62 -0
- epishelf-0.1.0/docs/families/behavior.md +45 -0
- epishelf-0.1.0/docs/families/bimanual-yam.md +52 -0
- epishelf-0.1.0/docs/families/calvin.md +58 -0
- epishelf-0.1.0/docs/families/cortex.md +79 -0
- epishelf-0.1.0/docs/families/domino.md +65 -0
- epishelf-0.1.0/docs/families/droid.md +112 -0
- epishelf-0.1.0/docs/families/egocentric-100k.md +57 -0
- epishelf-0.1.0/docs/families/egosuite.md +127 -0
- epishelf-0.1.0/docs/families/hifi-umi-2k.md +80 -0
- epishelf-0.1.0/docs/families/hiw-500.md +121 -0
- epishelf-0.1.0/docs/families/hy-embodied.md +73 -0
- epishelf-0.1.0/docs/families/interndata-a1.md +82 -0
- epishelf-0.1.0/docs/families/libero-plus.md +51 -0
- epishelf-0.1.0/docs/families/libero.md +91 -0
- epishelf-0.1.0/docs/families/maniskill.md +46 -0
- epishelf-0.1.0/docs/families/molmoact.md +71 -0
- epishelf-0.1.0/docs/families/oxe.md +59 -0
- epishelf-0.1.0/docs/families/pusht.md +43 -0
- epishelf-0.1.0/docs/families/realomin.md +47 -0
- epishelf-0.1.0/docs/families/rlbench.md +43 -0
- epishelf-0.1.0/docs/families/robocasa-gr1.md +67 -0
- epishelf-0.1.0/docs/families/robocasa.md +50 -0
- epishelf-0.1.0/docs/families/robocasa365.md +66 -0
- epishelf-0.1.0/docs/families/robocerebra.md +50 -0
- epishelf-0.1.0/docs/families/robochallenge.md +133 -0
- epishelf-0.1.0/docs/families/robocoin.md +66 -0
- epishelf-0.1.0/docs/families/robodojo.md +194 -0
- epishelf-0.1.0/docs/families/robotwin2.md +101 -0
- epishelf-0.1.0/docs/families/so100.md +70 -0
- epishelf-0.1.0/docs/families/unifolm-wbt.md +89 -0
- epishelf-0.1.0/docs/families/vla-arena.md +61 -0
- epishelf-0.1.0/docs/formats.md +352 -0
- epishelf-0.1.0/docs/recipes/molmoact2.md +108 -0
- epishelf-0.1.0/docs/recipes/vlact.md +186 -0
- epishelf-0.1.0/docs/usage.md +421 -0
- epishelf-0.1.0/pyproject.toml +91 -0
- epishelf-0.1.0/reports/README.md +12 -0
- epishelf-0.1.0/reports/calvin-complete-recording.json +3936 -0
- epishelf-0.1.0/reports/cortex-behavior-smoke.json +238 -0
- epishelf-0.1.0/reports/cortex-beta-prepared.json +229 -0
- epishelf-0.1.0/reports/cortex-galaxea-prepared.json +226 -0
- epishelf-0.1.0/reports/cortex-robotwin-demo-smoke.json +1648 -0
- epishelf-0.1.0/reports/droid-rlds.json +509 -0
- epishelf-0.1.0/reports/egosuite-sources.json +465 -0
- epishelf-0.1.0/reports/encodings.json +5037 -0
- epishelf-0.1.0/reports/humanoid-umi-ego-sources.json +4664 -0
- epishelf-0.1.0/reports/libero-nvidia-video-scan.json +154 -0
- epishelf-0.1.0/reports/local-smoke.json +35038 -0
- epishelf-0.1.0/reports/molmoact2-sources.json +2671 -0
- epishelf-0.1.0/reports/preparation-lifecycle.json +2771 -0
- epishelf-0.1.0/reports/profile-regression.json +6144 -0
- epishelf-0.1.0/reports/pusht-prepared.json +617 -0
- epishelf-0.1.0/reports/real-and-plus-sources.json +6293 -0
- epishelf-0.1.0/reports/remaining-smoke.json +972 -0
- epishelf-0.1.0/reports/robocasa-repair-smoke.json +1332 -0
- epishelf-0.1.0/reports/robochallenge-sources.json +619 -0
- epishelf-0.1.0/reports/robodojo-prepared.json +1324 -0
- epishelf-0.1.0/reports/robotwin-task-selectors.json +2550 -0
- epishelf-0.1.0/reports/stream-sizes.json +106 -0
- epishelf-0.1.0/reports/vlact-sources.json +8043 -0
- epishelf-0.1.0/scripts/README.md +28 -0
- epishelf-0.1.0/scripts/bench/encodings.py +318 -0
- epishelf-0.1.0/scripts/bench/performance.py +136 -0
- epishelf-0.1.0/scripts/bench/stream_sizes.py +199 -0
- epishelf-0.1.0/scripts/checks/common.py +179 -0
- epishelf-0.1.0/scripts/checks/droid_rlds.py +140 -0
- epishelf-0.1.0/scripts/checks/egosuite.py +276 -0
- epishelf-0.1.0/scripts/checks/humanoid_umi_ego.py +562 -0
- epishelf-0.1.0/scripts/checks/libero_video.py +145 -0
- epishelf-0.1.0/scripts/checks/molmoact2.py +114 -0
- epishelf-0.1.0/scripts/checks/real_sources.py +134 -0
- epishelf-0.1.0/scripts/checks/rlds.py +138 -0
- epishelf-0.1.0/scripts/checks/robochallenge.py +148 -0
- epishelf-0.1.0/scripts/checks/robodojo.py +273 -0
- epishelf-0.1.0/scripts/checks/samples.py +324 -0
- epishelf-0.1.0/scripts/checks/vlact.py +218 -0
- epishelf-0.1.0/scripts/convert/egosuite.py +553 -0
- epishelf-0.1.0/scripts/maintenance/pin_hub_manifests.py +138 -0
- epishelf-0.1.0/scripts/maintenance/render_docs.py +327 -0
- epishelf-0.1.0/src/epishelf/__init__.py +59 -0
- epishelf-0.1.0/src/epishelf/_typing.py +55 -0
- epishelf-0.1.0/src/epishelf/acquire.py +98 -0
- epishelf-0.1.0/src/epishelf/agibot.py +119 -0
- epishelf-0.1.0/src/epishelf/archive.py +182 -0
- epishelf-0.1.0/src/epishelf/brcd.py +789 -0
- epishelf-0.1.0/src/epishelf/calvin.py +135 -0
- epishelf-0.1.0/src/epishelf/catalog/__init__.py +223 -0
- epishelf-0.1.0/src/epishelf/catalog/_papers.py +27 -0
- epishelf-0.1.0/src/epishelf/catalog/abc130k.py +35 -0
- epishelf-0.1.0/src/epishelf/catalog/agibot.py +28 -0
- epishelf-0.1.0/src/epishelf/catalog/behavior.py +21 -0
- epishelf-0.1.0/src/epishelf/catalog/bimanual_yam.py +31 -0
- epishelf-0.1.0/src/epishelf/catalog/calvin.py +39 -0
- epishelf-0.1.0/src/epishelf/catalog/cortex.py +61 -0
- epishelf-0.1.0/src/epishelf/catalog/domino.py +25 -0
- epishelf-0.1.0/src/epishelf/catalog/droid.py +97 -0
- epishelf-0.1.0/src/epishelf/catalog/egocentric100k.py +23 -0
- epishelf-0.1.0/src/epishelf/catalog/egosuite.py +21 -0
- epishelf-0.1.0/src/epishelf/catalog/evidence.py +285 -0
- epishelf-0.1.0/src/epishelf/catalog/hifi_umi_2k.py +56 -0
- epishelf-0.1.0/src/epishelf/catalog/hiw500.py +52 -0
- epishelf-0.1.0/src/epishelf/catalog/hy_embodied.py +36 -0
- epishelf-0.1.0/src/epishelf/catalog/interndata_a1.py +56 -0
- epishelf-0.1.0/src/epishelf/catalog/libero.py +123 -0
- epishelf-0.1.0/src/epishelf/catalog/libero_plus.py +29 -0
- epishelf-0.1.0/src/epishelf/catalog/maintained.py +91 -0
- epishelf-0.1.0/src/epishelf/catalog/manifests/agibot.json +329 -0
- epishelf-0.1.0/src/epishelf/catalog/manifests/hifi_umi_2k.json +404 -0
- epishelf-0.1.0/src/epishelf/catalog/manifests/interndata_a1.json +1495 -0
- epishelf-0.1.0/src/epishelf/catalog/manifests/robocoin.json +164 -0
- epishelf-0.1.0/src/epishelf/catalog/manifests/so100.json +1231 -0
- epishelf-0.1.0/src/epishelf/catalog/manifests/unifolm_wbt.json +75 -0
- epishelf-0.1.0/src/epishelf/catalog/maniskill.py +32 -0
- epishelf-0.1.0/src/epishelf/catalog/model.py +687 -0
- epishelf-0.1.0/src/epishelf/catalog/molmoact.py +56 -0
- epishelf-0.1.0/src/epishelf/catalog/oxe.py +40 -0
- epishelf-0.1.0/src/epishelf/catalog/pusht.py +20 -0
- epishelf-0.1.0/src/epishelf/catalog/realomin.py +20 -0
- epishelf-0.1.0/src/epishelf/catalog/recipes/__init__.py +9 -0
- epishelf-0.1.0/src/epishelf/catalog/recipes/molmoact2.py +137 -0
- epishelf-0.1.0/src/epishelf/catalog/recipes/vlact.py +228 -0
- epishelf-0.1.0/src/epishelf/catalog/rlbench.py +24 -0
- epishelf-0.1.0/src/epishelf/catalog/robocasa.py +37 -0
- epishelf-0.1.0/src/epishelf/catalog/robocasa365.py +57 -0
- epishelf-0.1.0/src/epishelf/catalog/robocasa_gr1.py +41 -0
- epishelf-0.1.0/src/epishelf/catalog/robocerebra.py +28 -0
- epishelf-0.1.0/src/epishelf/catalog/robochallenge.py +62 -0
- epishelf-0.1.0/src/epishelf/catalog/robocoin.py +29 -0
- epishelf-0.1.0/src/epishelf/catalog/robodojo.py +194 -0
- epishelf-0.1.0/src/epishelf/catalog/robotwin2.py +78 -0
- epishelf-0.1.0/src/epishelf/catalog/so100.py +28 -0
- epishelf-0.1.0/src/epishelf/catalog/unifolm_wbt.py +37 -0
- epishelf-0.1.0/src/epishelf/catalog/vla_arena.py +38 -0
- epishelf-0.1.0/src/epishelf/cli.py +331 -0
- epishelf-0.1.0/src/epishelf/collate.py +66 -0
- epishelf-0.1.0/src/epishelf/collections.py +394 -0
- epishelf-0.1.0/src/epishelf/columnar.py +179 -0
- epishelf-0.1.0/src/epishelf/composed.py +237 -0
- epishelf-0.1.0/src/epishelf/convert/__init__.py +440 -0
- epishelf-0.1.0/src/epishelf/convert/run.py +391 -0
- epishelf-0.1.0/src/epishelf/convert/unit.py +699 -0
- epishelf-0.1.0/src/epishelf/core.py +378 -0
- epishelf-0.1.0/src/epishelf/cortex.py +218 -0
- epishelf-0.1.0/src/epishelf/dataset.py +529 -0
- epishelf-0.1.0/src/epishelf/derived.py +78 -0
- epishelf-0.1.0/src/epishelf/flat.py +110 -0
- epishelf-0.1.0/src/epishelf/fsio.py +93 -0
- epishelf-0.1.0/src/epishelf/hdf5.py +139 -0
- epishelf-0.1.0/src/epishelf/layers.py +678 -0
- epishelf-0.1.0/src/epishelf/lerobot.py +512 -0
- epishelf-0.1.0/src/epishelf/media/__init__.py +18 -0
- epishelf-0.1.0/src/epishelf/media/blobs.py +160 -0
- epishelf-0.1.0/src/epishelf/media/decode.py +56 -0
- epishelf-0.1.0/src/epishelf/media/encode.py +222 -0
- epishelf-0.1.0/src/epishelf/media/image.py +23 -0
- epishelf-0.1.0/src/epishelf/media/reader.py +263 -0
- epishelf-0.1.0/src/epishelf/multifile.py +121 -0
- epishelf-0.1.0/src/epishelf/overlays.py +80 -0
- epishelf-0.1.0/src/epishelf/preparation.py +328 -0
- epishelf-0.1.0/src/epishelf/preparers.py +492 -0
- epishelf-0.1.0/src/epishelf/py.typed +0 -0
- epishelf-0.1.0/src/epishelf/rangeio.py +86 -0
- epishelf-0.1.0/src/epishelf/resources.py +290 -0
- epishelf-0.1.0/src/epishelf/robochallenge.py +406 -0
- epishelf-0.1.0/src/epishelf/robotwin.py +230 -0
- epishelf-0.1.0/src/epishelf/sampling.py +270 -0
- epishelf-0.1.0/src/epishelf/semantics.py +177 -0
- epishelf-0.1.0/src/epishelf/time.py +96 -0
- epishelf-0.1.0/src/epishelf/validation.py +79 -0
- epishelf-0.1.0/src/epishelf/views.py +407 -0
- epishelf-0.1.0/tests/builders.py +142 -0
- epishelf-0.1.0/tests/conftest.py +16 -0
- epishelf-0.1.0/tests/e2e/test_e2e_sources.py +95 -0
- epishelf-0.1.0/tests/egosuite_fixture.py +263 -0
- epishelf-0.1.0/tests/test_archives.py +123 -0
- epishelf-0.1.0/tests/test_bench_performance.py +81 -0
- epishelf-0.1.0/tests/test_blob_media_cache.py +137 -0
- epishelf-0.1.0/tests/test_brcd.py +635 -0
- epishelf-0.1.0/tests/test_brcd_strided.py +111 -0
- epishelf-0.1.0/tests/test_catalog.py +502 -0
- epishelf-0.1.0/tests/test_cli.py +102 -0
- epishelf-0.1.0/tests/test_collate.py +33 -0
- epishelf-0.1.0/tests/test_collections.py +273 -0
- epishelf-0.1.0/tests/test_composed.py +534 -0
- epishelf-0.1.0/tests/test_contract.py +318 -0
- epishelf-0.1.0/tests/test_convert.py +840 -0
- epishelf-0.1.0/tests/test_convert_egosuite.py +183 -0
- epishelf-0.1.0/tests/test_convert_parallel.py +306 -0
- epishelf-0.1.0/tests/test_cortex_agibot_media.py +81 -0
- epishelf-0.1.0/tests/test_depth.py +61 -0
- epishelf-0.1.0/tests/test_docs.py +97 -0
- epishelf-0.1.0/tests/test_evidence.py +52 -0
- epishelf-0.1.0/tests/test_flat.py +46 -0
- epishelf-0.1.0/tests/test_hdf5_profile.py +47 -0
- epishelf-0.1.0/tests/test_layers.py +429 -0
- epishelf-0.1.0/tests/test_lerobot.py +36 -0
- epishelf-0.1.0/tests/test_lifecycle.py +193 -0
- epishelf-0.1.0/tests/test_media.py +303 -0
- epishelf-0.1.0/tests/test_molmoact2_sources.py +40 -0
- epishelf-0.1.0/tests/test_overlays.py +86 -0
- epishelf-0.1.0/tests/test_parquet_batch.py +59 -0
- epishelf-0.1.0/tests/test_process_budgets.py +471 -0
- epishelf-0.1.0/tests/test_public_reports.py +24 -0
- epishelf-0.1.0/tests/test_real_sources.py +208 -0
- epishelf-0.1.0/tests/test_recipes.py +109 -0
- epishelf-0.1.0/tests/test_resources.py +108 -0
- epishelf-0.1.0/tests/test_robochallenge.py +211 -0
- epishelf-0.1.0/tests/test_robotwin_tasks.py +141 -0
- epishelf-0.1.0/tests/test_safety.py +72 -0
- epishelf-0.1.0/tests/test_sampling.py +95 -0
- epishelf-0.1.0/tests/test_selection.py +84 -0
- epishelf-0.1.0/tests/test_semantics.py +22 -0
- epishelf-0.1.0/tests/test_stream_sizes.py +205 -0
- epishelf-0.1.0/tests/test_time.py +107 -0
- epishelf-0.1.0/tests/test_validation.py +33 -0
- epishelf-0.1.0/tests/test_view_index.py +153 -0
- epishelf-0.1.0/tests/test_vlact_sources.py +157 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
# Lint, format and type-check once; tests, the torch-free video path and the package build on every supported Python.
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
pull_request:
|
|
7
|
+
push:
|
|
8
|
+
branches: [main]
|
|
9
|
+
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
lint:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
timeout-minutes: 10
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
19
|
+
- uses: astral-sh/setup-uv@2a39bcff78b189a5800d31cfcf0205c7a3e8381e # v10.4.1
|
|
20
|
+
with:
|
|
21
|
+
python-version: "3.11"
|
|
22
|
+
enable-cache: true
|
|
23
|
+
cache-dependency-glob: pyproject.toml
|
|
24
|
+
- run: uv sync --group dev
|
|
25
|
+
- run: uv run --no-sync ruff check .
|
|
26
|
+
- run: uv run --no-sync ruff format --check .
|
|
27
|
+
- run: uv run --no-sync ty check
|
|
28
|
+
|
|
29
|
+
check:
|
|
30
|
+
runs-on: ubuntu-latest
|
|
31
|
+
timeout-minutes: 15
|
|
32
|
+
strategy:
|
|
33
|
+
fail-fast: false
|
|
34
|
+
matrix:
|
|
35
|
+
python: ["3.11", "3.12", "3.13", "3.14"]
|
|
36
|
+
steps:
|
|
37
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
38
|
+
- uses: astral-sh/setup-uv@2a39bcff78b189a5800d31cfcf0205c7a3e8381e # v10.4.1
|
|
39
|
+
with:
|
|
40
|
+
python-version: ${{ matrix.python }}
|
|
41
|
+
enable-cache: true
|
|
42
|
+
cache-dependency-glob: pyproject.toml
|
|
43
|
+
- run: uv sync --group dev
|
|
44
|
+
- name: Video decoding without torch
|
|
45
|
+
run: >-
|
|
46
|
+
uv run --no-sync python -c "from mediaref.video_decoder import PyAVVideoDecoder;
|
|
47
|
+
import importlib.util; assert importlib.util.find_spec('torch') is None"
|
|
48
|
+
- run: uv run --no-sync pytest -q
|
|
49
|
+
- name: CLI smoke
|
|
50
|
+
run: |
|
|
51
|
+
uv run --no-sync epishelf list > /dev/null
|
|
52
|
+
uv run --no-sync epishelf show libero/nvidia/goal > /dev/null
|
|
53
|
+
- run: uv build
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
name: release
|
|
2
|
+
|
|
3
|
+
# A tag vX.Y.Z that matches the package version: checks, build, publish to PyPI.
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
tags: ["v*"]
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
publish:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
timeout-minutes: 20
|
|
16
|
+
environment: pypi
|
|
17
|
+
permissions:
|
|
18
|
+
contents: read
|
|
19
|
+
id-token: write # PyPI trusted publishing; no token stored in the repository
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
22
|
+
- uses: astral-sh/setup-uv@2a39bcff78b189a5800d31cfcf0205c7a3e8381e # v10.4.1
|
|
23
|
+
with:
|
|
24
|
+
python-version: "3.11"
|
|
25
|
+
- run: make check-tag TAG=${{ github.ref_name }}
|
|
26
|
+
- run: uv sync --group dev
|
|
27
|
+
- run: make check
|
|
28
|
+
- run: make build
|
|
29
|
+
- run: uv publish --trusted-publishing always
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.11
|
epishelf-0.1.0/AGENTS.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Contributor instructions
|
|
2
|
+
|
|
3
|
+
- Read `docs/design.md` before changing contracts or adding datasets.
|
|
4
|
+
- Preserve source meaning; never infer action semantics or alignment from shapes,
|
|
5
|
+
silently drop fields, or substitute failed samples.
|
|
6
|
+
- Update source-backed tests and the release's checks (`catalog/evidence.py`, rendered into
|
|
7
|
+
`docs/catalog.md#releases`) when changing dataset mappings. Distinguish reference, reader coverage and sampled
|
|
8
|
+
validation.
|
|
9
|
+
- Use `uv`. Keep `uv.lock` untracked and advance `tool.uv.exclude-newer` deliberately.
|
|
10
|
+
- Run Ruff lint/format checks and pytest before handing off code changes.
|
|
11
|
+
- Write code, documentation, and commit messages in English.
|
|
12
|
+
- Do not commit private paths, hostnames, credentials or site-specific instructions.
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Read [design](docs/design.md) and [current API](docs/usage.md) before changing source semantics. Preserve native
|
|
4
|
+
meaning; do not infer controller conventions from tensor sizes. Dataset licenses and credentials remain external to the
|
|
5
|
+
repository.
|
|
6
|
+
|
|
7
|
+
## Layout
|
|
8
|
+
|
|
9
|
+
- `src/epishelf/`: contracts (`core.py`), views, readers, preparation and conversion.
|
|
10
|
+
- `src/epishelf/catalog/`: the registry: `model.py` (Family, Release, Source), one module per family, the sampled
|
|
11
|
+
evidence (`evidence.py`), the maintained set (`maintained.py`) and pinned listings (`manifests/`).
|
|
12
|
+
- `tests/`: synthetic contract, resource and regression tests; no corpus downloads. Shared fixtures are in
|
|
13
|
+
`tests/builders.py`; `-m "not slow"` skips multi-process conversion and wall-clock budgets.
|
|
14
|
+
- `docs/`: catalog, usage, formats, design, one page per family (`docs/families/`) and per recipe
|
|
15
|
+
(`docs/recipes/`).
|
|
16
|
+
- `scripts/`: real-data checks (`checks/`), benchmarks (`bench/`), conversions (`convert/`) and maintenance
|
|
17
|
+
(`maintenance/`); see its index.
|
|
18
|
+
- `reports/`: the reports checks and documented numbers cite, not training data.
|
|
19
|
+
- `artifacts/`, `data/`, `.venv/`: ignored local working data/environments.
|
|
20
|
+
|
|
21
|
+
Do not reorganize readers into a framework of empty layers. Selection and reading are separate responsibilities;
|
|
22
|
+
ordinal and time views share `views.py`. Storage-specific behavior belongs in the respective reader or preparation
|
|
23
|
+
recipe, and source-specific options in the catalog's `Source`, never in a branch on a name.
|
|
24
|
+
|
|
25
|
+
## Development
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
make sync # uv sync --group dev
|
|
29
|
+
make check # what CI runs: lint, types (ty), generated docs, tests
|
|
30
|
+
make e2e # real Hub data, before changing preparation or readers
|
|
31
|
+
make format # ruff fixes and formatting
|
|
32
|
+
make docs # regenerate the documentation blocks from the catalog
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
The library is typed and ships `py.typed`; `make check` runs ty over `src`, and Ruff requires parameter and return
|
|
36
|
+
annotations on every function there. Shared aliases live in `src/epishelf/_typing.py`.
|
|
37
|
+
|
|
38
|
+
Tests come in three tiers:
|
|
39
|
+
|
|
40
|
+
| Tier | Where | Runs | What it covers |
|
|
41
|
+
| --- | --- | --- | --- |
|
|
42
|
+
| Unit and synthetic integration | `tests/` | CI, `make test` (`make test ARGS='-m "not slow"'` skips multi-process conversion and wall-clock budgets) | Contracts, readers, views, conversion, preparation against a fake Hub, resource counts, docs consistency |
|
|
43
|
+
| End to end | `tests/e2e/` | `make e2e`; skipped elsewhere | Real pinned Hub data, about 80 MB, one source of each kind: preparation within budget, CLI check, conversion provenance, offline reuse. Data stays in `EPISHELF_E2E_DIR` (default `artifacts/e2e`) and is reused |
|
|
44
|
+
| Source checks and benchmarks | `scripts/checks/`, `scripts/bench/` | By hand; gigabytes | Sampled evidence for the catalog (`catalog/evidence.py`) and the encoding and stream-size reports under `reports/` |
|
|
45
|
+
|
|
46
|
+
Run `make e2e` before handing off changes to preparation, readers or the catalog's sources: synthetic tests cannot see
|
|
47
|
+
a wrong path, field or marker on real data.
|
|
48
|
+
|
|
49
|
+
Use the uv environment; do not modify system Python. `uv.lock` stays ignored; advance `tool.uv.exclude-newer`
|
|
50
|
+
deliberately. Record resolved versions for actual experiments rather than treating a cutoff as a cross-platform
|
|
51
|
+
lockfile.
|
|
52
|
+
|
|
53
|
+
CI runs lint, format, tests and package builds on Python 3.11–3.14 without dataset downloads. GitHub Actions are pinned
|
|
54
|
+
to release commit hashes; Dependabot checks for action updates monthly. Ruff uses a 119-character target.
|
|
55
|
+
|
|
56
|
+
## Adding a family or a release
|
|
57
|
+
|
|
58
|
+
1. Read the publisher's files and documentation; pin the Hub commit (or record that an HTTP source has none).
|
|
59
|
+
2. Add `src/epishelf/catalog/<family>.py` with `FAMILY = Family(...)` and register it in `catalog/__init__.py`, or add
|
|
60
|
+
a release to its family. Say who produced the actions, `capture=` (`ego`, `umi`, `teleop`, `scripted`; see
|
|
61
|
+
`CAPTURES` in `model.py`), and `domain=` (`sim`, `real`, `sim + real`; see `DOMAINS`), on the family and on a release
|
|
62
|
+
that differs; a corpus needs a capture. Name releases `<publisher>[-<variant>]`; give the format (verify the
|
|
63
|
+
LeRobot version in `meta/info.json`), a note saying what the files are, the source document, transforms, coverage
|
|
64
|
+
and omissions, and every reported result that names the data, with its match strength. Put reader options,
|
|
65
|
+
companion files, media and exclusions in the `Source`, not in reader code keyed by names. Many repositories or
|
|
66
|
+
folders go in a pinned manifest written by `scripts/maintenance/pin_hub_manifests.py`.
|
|
67
|
+
3. Prepare and read a few episodes with a check script; compare values with the source read independently. Record what
|
|
68
|
+
was checked in `catalog/evidence.py` with the report it wrote; never describe reader scope as checked.
|
|
69
|
+
4. Add or update `docs/families/<family>.md` (template: `docs/families/libero.md`), then run
|
|
70
|
+
`scripts/maintenance/render_docs.py`. Tests keep the generated blocks, the cited reports and the catalog's
|
|
71
|
+
invariants honest.
|
|
72
|
+
|
|
73
|
+
## Adding a reader
|
|
74
|
+
|
|
75
|
+
Subclass `Reader` (`core.py`): `__len__` and `__getitem__`, plus only the capabilities the layout answers without
|
|
76
|
+
opening episodes. Add one row to `BACKENDS` in `dataset.py` (and a rule to `DETECT` if a path identifies the layout);
|
|
77
|
+
the constructor's keyword arguments are the reader options, listed in `docs/formats.md`.
|
|
78
|
+
|
|
79
|
+
## The maintained set
|
|
80
|
+
|
|
81
|
+
A new family, release or recipe enters the catalog unmaintained: recorded as it was when added. The maintained set is
|
|
82
|
+
`src/epishelf/catalog/maintained.py` and changes only by maintainers' decision. It groups data by what it is for,
|
|
83
|
+
fine-tuning or pre-training; in either group an entry is a release or a mixture (a recipe's stage, whose releases
|
|
84
|
+
come with it). An entry should be widely used, and every maintained release sampled against its source.
|
|
85
|
+
|
|
86
|
+
Removing an entry keeps the address and its page. A source-specific reader is written only for maintained data; other
|
|
87
|
+
layouts are documented as reference with a conversion script.
|
|
88
|
+
|
|
89
|
+
## Releasing
|
|
90
|
+
|
|
91
|
+
Set the version in `pyproject.toml` and `src/epishelf/__init__.py`, merge, then push the tag `v<version>`:
|
|
92
|
+
`.github/workflows/release.yml` checks that the tag is the package version, runs the checks, builds and publishes to
|
|
93
|
+
PyPI (trusted publishing). The PyPI page shows `README.md` with its links pointed at that tag.
|
|
94
|
+
|
|
95
|
+
## Dependencies
|
|
96
|
+
|
|
97
|
+
| Dependency | Purpose | Where used |
|
|
98
|
+
| --- | --- | --- |
|
|
99
|
+
| NumPy | Numeric stream values, masks, time alignment and sampling | Core contracts and readers |
|
|
100
|
+
| PyArrow | Typed episode metadata tables and native Parquet access | Collections, releases and LeRobot |
|
|
101
|
+
| MediaRef (`mediaref`) | Frame selection by presentation time over TensorCodec decoders | Media reader |
|
|
102
|
+
| TensorCodec (`tensorcodec`) | Video and image decoding (FFmpeg bundled, dav1d for AV1), decoder-side resizing | Media reader |
|
|
103
|
+
| PyAV (`av`) | Source header frame counts and rates; video encoding in conversion | Preparation, Cortex reader, `convert` |
|
|
104
|
+
| blobpack | Blob Pack shards of BRCD datasets | BRCD reader and conversion |
|
|
105
|
+
| h5py | Native HDF5 demonstrations, including archived RoboTwin files | HDF5 and RoboTwin readers |
|
|
106
|
+
| Pillow | Encoded JPEG/PNG and image-file decoding, distinct from video | LeRobot and RoboTwin readers |
|
|
107
|
+
| huggingface-hub | Pinned repository metadata, authenticated URLs and bounded downloads | Acquisition and preparation |
|
|
108
|
+
| Hatchling | Wheel and source-distribution building | Isolated build backend, not runtime |
|
|
109
|
+
| pytest | Synthetic contract and regression tests | Development only |
|
|
110
|
+
| Ruff | Lint, import ordering and formatting | Development only |
|
|
111
|
+
| ty | Type checking of `src` | Development only |
|
|
112
|
+
| pyarrow-stubs | PyArrow type information, so ty checks Arrow calls (PyArrow ships none); the organisation's fork at a pinned commit, which fixes stubs that disagree with PyArrow at runtime | Development only |
|
|
113
|
+
|
|
114
|
+
NumPy and PyArrow are part of the core API. The other runtime dependencies serve specific readers/acquisition; they are
|
|
115
|
+
currently installed together so documented sources work without extra-install discovery. That is a convenience choice,
|
|
116
|
+
not a claim that every reader needs every dependency. No simulator, LeRobot, pandas or TensorFlow installation is
|
|
117
|
+
required. PyTorch and TorchCodec are not dependencies.
|
|
118
|
+
|
|
119
|
+
Dependencies have no speculative version bounds; each lower bound in `pyproject.toml` says what it is for (MediaRef's
|
|
120
|
+
TensorCodec decoders and native output, TensorCodec's AV1 decoder, decoder-side resizing and image codecs). CI tests
|
|
121
|
+
the resolution selected under `exclude-newer`, not every allowed version. The Python 3.11 floor matches the supported
|
|
122
|
+
CI matrix.
|
|
123
|
+
|
|
124
|
+
MediaRef brings Pydantic, OpenCV, fsspec and other transitive dependencies; it is not a dependency-free decoder.
|
|
125
|
+
TensorCodec bundles its own FFmpeg, so no PyTorch runtime or system FFmpeg setup is needed. PyAV stays direct for
|
|
126
|
+
source header checks, where a decoder's estimated frame count is no substitute for a declared one, and for encoding.
|
|
127
|
+
Pillow stays direct for image files.
|
|
128
|
+
|
|
129
|
+
## Real data
|
|
130
|
+
|
|
131
|
+
Set `EPISHELF_DATA_ROOT` to the mirror (`hf/<org>/<repo>/...`, see `epishelf show`), or pass explicit locations.
|
|
132
|
+
Existing source files are read-only. Scripts write only project artifacts/reports and must use bounded episode/download
|
|
133
|
+
selections. Before committing reports, replace private path prefixes with `<DATA_ROOT>` or `<PROJECT_ROOT>` and remove
|
|
134
|
+
host identifiers. Keep source revisions, workload, software versions and measurements; do not publish machine-specific
|
|
135
|
+
instructions.
|
|
136
|
+
|
|
137
|
+
A reader that opens a task does not establish its semantics or performance. Document reader scope, the episodes
|
|
138
|
+
actually checked and unresolved source issues separately. Update regression tests and affected reports
|
|
139
|
+
when changing mappings, preparation or views.
|
epishelf-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
epishelf-0.1.0/Makefile
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# `make check` runs what CI runs; `make e2e` adds real Hub data (tests/e2e, ~80 MB, reused from artifacts/e2e).
|
|
2
|
+
|
|
3
|
+
RUN = uv run
|
|
4
|
+
|
|
5
|
+
.PHONY: sync format check test e2e docs build check-tag
|
|
6
|
+
|
|
7
|
+
sync:
|
|
8
|
+
uv sync --group dev
|
|
9
|
+
|
|
10
|
+
format:
|
|
11
|
+
$(RUN) ruff check --fix .
|
|
12
|
+
$(RUN) ruff format .
|
|
13
|
+
|
|
14
|
+
check:
|
|
15
|
+
$(RUN) ruff check .
|
|
16
|
+
$(RUN) ruff format --check .
|
|
17
|
+
$(RUN) ty check
|
|
18
|
+
$(RUN) python scripts/maintenance/render_docs.py --check
|
|
19
|
+
$(RUN) pytest -q
|
|
20
|
+
|
|
21
|
+
test: # pass pytest options with ARGS, e.g. make test ARGS='-m "not slow"'
|
|
22
|
+
$(RUN) pytest -q $(ARGS)
|
|
23
|
+
|
|
24
|
+
e2e:
|
|
25
|
+
$(RUN) pytest -q tests/e2e --e2e
|
|
26
|
+
|
|
27
|
+
docs:
|
|
28
|
+
$(RUN) python scripts/maintenance/render_docs.py
|
|
29
|
+
|
|
30
|
+
build:
|
|
31
|
+
rm -rf dist
|
|
32
|
+
uv build
|
|
33
|
+
|
|
34
|
+
check-tag: # the release tag is v<the package version>
|
|
35
|
+
test "$(TAG)" = "v$$($(RUN) python -c 'import epishelf; print(epishelf.__version__)')" || { echo "tag $(TAG) is not the package version"; exit 1; }
|