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.0a1.tar.gz (25.1 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.0a1-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: holocubic_cli_python-0.1.0a1.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for holocubic_cli_python-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 9f9077fd253bee7c111c92d55ed5deda0e4bffd9187194115cb82cd910265205
MD5 733545388adaf596407f95b7398a84b4
BLAKE2b-256 72a22e0e514cde0afe9474ae08e1ab2738554aa7a309a9c5c60507e95145bf4c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: holocubic_cli_python-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 24.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for holocubic_cli_python-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 ad65b15facf0c3ebaee9b612169daaa699f0aca1b7fe8aa4373e7e2284828d20
MD5 628b68de799cbea374b5d61428e3359c
BLAKE2b-256 f720cbe139f1f0fd768ac4bd98f9dad2415f5c070089dae3c13d76033b547f0e

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