Install
Quick Start
heliaAOT ships as the helia-aot Python package on PyPI.
Use pipx for an isolated CLI install, or install with uv / pip when that better fits your development workflow. From-source options are at the end.
Using pipx is the recommended way to install helia-aot as it allows installing and running Python CLIs in isolated environments. Upon installation, helia-aot will be available in your PATH. The pipx interpreter must be Python >=3.11,<3.13 (for example, python3.12).
-
Install helia-aot:
-
Upgrade helia-aot:
pipx upgrade helia-aot - Invoke helia-aot:
helia-aot --help - Remove helia-aot:
pipx uninstall helia-aot
Tip
pipx requires a local Python (see requirements below), but isolates heliaAOT from your global environment.
uv can install heliaAOT as an isolated tool from PyPI.
-
Install helia-aot:
-
Upgrade helia-aot:
uv tool upgrade helia-aot - Invoke helia-aot:
helia-aot --help - Remove helia-aot:
uv tool uninstall helia-aot
Use pip inside a virtual environment when you want heliaAOT installed alongside project-specific Python tooling.
If you want the latest, editable install for development, use one of the methods below.
Verify the install
Once installed, verify the CLI is working:
You should see usage text and a semantic version. If the command isn’t found, ensure the install location is on your PATH.
Requirements
Software (tooling)
- For pipx, uv, and pip installs: Python >=3.11,<3.13
The project’s Python dependencies are listed in
pyproject.toml
and are automatically handled by pipx, pip, or uv.
Firmware (for generated C modules)
- ns-cmsis-nn ^7.1.0 — Ambiq’s optimized CMSIS-NN library.
See platform-specific integration guides:
Usage (CLI)
$ helia-aot --help
usage: helia-aot [-h] <command> ...
positional arguments:
<command>
version Display the version of the heliaAOT library.
convert Convert a model to standalone C inference module.
options:
-h, --help show this help message and exit
See the CLI Reference for all commands and flags.
Advanced: Install from source
If you want the latest, editable install for development, use one of the methods below.
Updating
- pipx:
pipx upgrade helia-aot - uv tool:
uv tool upgrade helia-aot - pip:
python -m pip install --upgrade helia-aot - source installs: pull main and reinstall (
pip install -e .oruv sync)
Uninstall
- pipx:
pipx uninstall helia-aot - uv tool:
uv tool uninstall helia-aot - pip:
python -m pip uninstall helia-aot - source installs: remove the virtual environment and repo folder
Next Steps
- For more information on available options, please refer to the CLI Reference section.
- For more examples and best practices, be sure to check out the Guides section.