Installing AIMBAT
Version 2 has not been released yet
This page is written for the upcoming version 2. It is not on PyPI yet, so
uvx aimbat and uv tool install aimbat currently fetch only a placeholder
release.
Until version 2 is released, run or install it from GitHub:
AIMBAT runs in the terminal and is published on PyPI. A tool like
uv or pipx is the easiest way to install it: it creates an
isolated virtual environment and puts the aimbat command on PATH. The
examples below use uv1.
Coming from version 1
Version 1 was distributed and imported as pysmo.aimbat. Version 2 is a
separate, top-level package: install aimbat, import aimbat.
Running without installation
uv can run AIMBAT directly, without a permanent installation:
The first run downloads AIMBAT and its dependencies. Later runs use the cache and start immediately.
Running the development version
The same command works against the GitHub repository, to try the latest development version:
Clear the download cache afterwards with:
Installing permanently
To keep the aimbat command available in the shell:
aimbat command not found
If the shell cannot find the aimbat command, add ~/.local/bin to PATH
by running uv tool update-shell.
Upgrade or uninstall with:
Using AIMBAT as a library
To call the Python API from other code (see Recipes for the fundamentals), add AIMBAT as a project dependency rather than installing the command:
pysmo's installation guide covers the project setup this assumes
(uv init, uv run, optional direnv); the same steps apply here.
-
uvcan do more than install command-line tools. See the documentation for more information. ↩