cubic-py is the Python implementation of the shared HoloCubic CLI v1
contract. It supports the same device configuration, SD-card filesystem,
recursive transfer, DevRun, and app workflows as the Node.js reference.
The package requires Python 3.10 or newer. Stable version 0.1.0 is published
on PyPI.
python -m pip install holocubic-cli-python
cubic-py --versionAlternatively, install it as an isolated uv tool:
uv tool install holocubic-cli-python
cubic-py --versionpython -m venv .venv
python -m pip install --editable .
cubic-py --versionActivate .venv first if you want cubic-py available only inside the virtual
environment. Connect and inspect a device with:
cubic-py device add desk 192.168.3.26
cubic-py info
cubic-py ls /sd/apps
cubic-py push ./my-app /sd/apps/my-appcubic-py device add|list|use|remove
cubic-py ping|info
cubic-py ls|stat|cat|mkdir|mv|rm
cubic-py push|upload
cubic-py pull|download
cubic-py devrun read|save|run
cubic-py app list|install|remove
Use --host for one-off access, --json for scripts, and --help on a command
for its transfer limits and safety options.
uv sync --locked
uvx ruff check src tests
uvx ruff format --check src tests
uv run --locked python -m unittest discover -s tests -v
uv build --clear --no-sourcesThe API and CLI contracts live in the repository's
spec directory.