Skip to content

Python package

LIMA's Python bindings are published on PyPI as the aymara package. They bundle the LIMA C++ libraries, so nothing else needs to be installed.

Requirements: Linux x86_64, Windows x64 or macOS on Apple Silicon, and Python ≥ 3.9 (≥ 3.10 on Windows and macOS). An up-to-date pip is required to select the right wheel. Since aymara 0.8.0, each release has four wheels, and pip picks the one that fits your system:

Wheel Qt Python Systems
manylinux_2_34_x86_64 6.12 3.10 to 3.15 Linux, glibc ≥ 2.34 (Ubuntu 22.04+, Debian 12+, RHEL 9+...)
manylinux_2_28_x86_64 6.9 3.9 to 3.13 Linux, glibc ≥ 2.28 (older systems, and Python 3.9)
win_amd64 6.12 3.10 to 3.13 tested Windows 10/11 x64
macosx_15_0_arm64 6.12 3.10 to 3.13 tested macOS ≥ 15 on Apple Silicon
# A recent pip is required to get the right wheel
pip install --upgrade pip
pip install aymara==0.8.1

The package provides:

The sources of the bindings are in the aymara/lima-python repository, which also explains how to build the wheel.