Skip to main content

Python CLI for HoloCubic DevTools file and app workflows

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

holocubic_cli_python-0.1.0.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

holocubic_cli_python-0.1.0-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

Details for the file holocubic_cli_python-0.1.0.tar.gz.

File metadata

  • Download URL: holocubic_cli_python-0.1.0.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for holocubic_cli_python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5e9cc3ad6fe5ea0bc81210db7b91cac7913e94ca7c76c1aee1702aa10674b562
MD5 40eeff4e6f8b15f79549a9bb204f7b4b
BLAKE2b-256 a6ca952e98c366fd9720c0f2489b1d9de41ef1b5eda897f926099d8b1fffbfd4

See more details on using hashes here.

File details

Details for the file holocubic_cli_python-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: holocubic_cli_python-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 24.3 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for holocubic_cli_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe02aad5a06cebbe8790bf7bba1e7843db78ced08bdf89aab1a74d7b4a8e249c
MD5 05f57dfaa45abe89de781106036e72ac
BLAKE2b-256 cccdfad5eee61ec2ae4066e693197fff55c85186e983b58cc58cfd9c945a2fee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page