Skip to main content

HoloCubic CLI — Python

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. It is source-ready but has not been published to PyPI yet.

Installation from source

python -m venv .venv
python -m pip install --editable .
cubic-py --version

Activate .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-app

Command overview

cubic-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.

Development checks

python -m ruff check src tests
python -m ruff format --check src tests
python -m unittest discover -s tests -v
python -m build
python -m pip install .
cubic-py --version

The API and CLI contracts live in ../../spec.

Metadata

Release files for holocubic-cli-python 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for holocubic-cli-python 0.1.0
File Size Uploaded
holocubic_cli_python-0.1.0.tar.gz 25.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for holocubic-cli-python 0.1.0
File Interpreter ABI Platform
holocubic_cli_python-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 49.9 kB

Release files / holocubic_cli_python-0.1.0.tar.gz

Download URL holocubic_cli_python-0.1.0.tar.gz
Size 25.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5e9cc3ad6fe5ea0bc81210db7b91cac7913e94ca7c76c1aee1702aa10674b562
BLAKE2b-256 checksum
How to use checksums
a6ca952e98c366fd9720c0f2489b1d9de41ef1b5eda897f926099d8b1fffbfd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / holocubic_cli_python-0.1.0-py3-none-any.whl

Download URL holocubic_cli_python-0.1.0-py3-none-any.whl
Size 24.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe02aad5a06cebbe8790bf7bba1e7843db78ced08bdf89aab1a74d7b4a8e249c
BLAKE2b-256 checksum
How to use checksums
cccdfad5eee61ec2ae4066e693197fff55c85186e983b58cc58cfd9c945a2fee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page