Skip to main content

Experimental CLI for deploying robotic applications

Project description

arm-cli

PyPI Changelog Tests CodeQL Analysis License

An experimental CLI for deploying robotic applications with opinionated defaults tailored for the ARM ecosystem.

Installation

Install this tool using pip:

pip install arm-cli

Once installed, setup the CLI initially by running arm-cli system setup. You may need to rerun if you update the CLI via pip. This will do things like configure system settings to enable tab complete.

Note: If you installed the CLI with pip install --user, you may need to manually run the local bin version the first time:

~/.local/bin/arm-cli system setup

Usage

Initial Setup

For help, run:

arm-cli --help

You can also use:

python -m arm_cli --help

Container Management

The CLI includes tools for managing Docker containers:

# List running containers
arm-cli container list

# Attach to a container interactively (sources ROS and interactive entrypoints)
arm-cli container attach

# Restart a container
arm-cli container restart

# Stop a container
arm-cli container stop

For more details on container compliance, see arm_cli/container/readme.md.

Development

To contribute to this tool, first checkout the code. Then create a new virtual environment. From the root of the repo:

cd arm-cli
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[dev]'

To run the tests:

python -m pytest

Git hooks (pre-commit)

This repository includes a .pre-commit-config.yaml to enforce code style and basic quality checks locally.

# Install the pre-commit framework in your development environment
pip install pre-commit

# Register the Git hooks for this repository
pre-commit install

# (Optional) Run against all files once
pre-commit run --all-files

Troubleshooting

  • If editable install fails, ensure you have a modern toolchain:
    python -m pip install --upgrade pip setuptools wheel build setuptools-scm
    
  • If the reported version is 0+unknown, ensure you're working from a Git checkout with tags available:
    git fetch --tags --force
    

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

arm_cli-0.1.11.tar.gz (39.0 kB view details)

Uploaded Source

Built Distribution

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

arm_cli-0.1.11-py3-none-any.whl (35.5 kB view details)

Uploaded Python 3

File details

Details for the file arm_cli-0.1.11.tar.gz.

File metadata

  • Download URL: arm_cli-0.1.11.tar.gz
  • Upload date:
  • Size: 39.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for arm_cli-0.1.11.tar.gz
Algorithm Hash digest
SHA256 a6f67c562a69e4fe7fa3d67a21fdddb22a30b5caa63e0ba73532e3bc81363aab
MD5 aae286efc688a8281ed866b0a810a9ee
BLAKE2b-256 a6ff020e8761b0ecce33c597d9c4792e95f35f264e514ebacbca2019fde69a60

See more details on using hashes here.

Provenance

The following attestation bundles were made for arm_cli-0.1.11.tar.gz:

Publisher: publish.yml on mpowelson/arm-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arm_cli-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: arm_cli-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 35.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for arm_cli-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 c05f7c5b9593d210752761b33a354426b590004e9979be10c4bd627af22545e6
MD5 5d5d608fdaeaffafbc75f1933624cb62
BLAKE2b-256 5fdc1c425dc0edccf60b0e4f580b6d6e88ab3c4abf3aef788d59f8b6bb70e98c

See more details on using hashes here.

Provenance

The following attestation bundles were made for arm_cli-0.1.11-py3-none-any.whl:

Publisher: publish.yml on mpowelson/arm-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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