Skip to main content

laam

The laam (LAA Manager) is a python application that allows to interact with the LAA REST API via console or in python scripts.

Requirements

You must be connected to the same network as the LAA and able to see its local webserver

Optionally you can install uv which manages dependencies automatically. laam has been created with uv, the dependencies are listed in pyproject.toml

Installation

You can install laam via PyPI, just open a console and run:

pip install laam

You can install laam also via GitLab if you want to use the latest "dev version".

git clone git@gitlab.com:Linaro/lava/appliance/laam.git
cd laam
pip install -e .

You can run laam from source. In this case, you'll have to adapt all your laam commands in this way:

cd <path>/laam
uv run laam --version

Remember to also adapt all the files path appropriately.

Quick Tests

You can quickly test laam by opening a random bash and checking the version.

laam --version

You can test a simple interaction between laam and the LAA with the files command.

laam -i <laa-XXX> files list

If the LAA is new the working folder is empty and you'll get no elements back. But the request should succeed without any errors.

In order to work check the Requirements

To run the full test suite against the built-in mock appliance:

uv run --dev -- pytest tests

The mock server picks a free port by default. Set LAAM_MOCK_PORT to use a fixed one:

LAAM_MOCK_PORT=8181 uv run --dev -- pytest tests

Configuration

You'll have to create an LAA identity for laam

Documentation

In out documentation webpage you can find:

Contributing

Contributions, bug reports and feature requests are welcome! Please see the issues or open a merge request.

Release files for laam 0.13.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for laam 0.13.1
File Size Uploaded
laam-0.13.1.tar.gz 38.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for laam 0.13.1
File Interpreter ABI Platform
laam-0.13.1-py3-none-any.whl Python 3 none any Details

Total release size: 85.4 kB

Release files / laam-0.13.1.tar.gz

Download URL laam-0.13.1.tar.gz
Size 38.5 kB
Tags Source
SHA-256 checksum
How to use checksums
afdeb8cffdfc53ebc95d2c3b4d8be491d658bd655c17a1a91e00abc0e82d1744
BLAKE2b-256 checksum
How to use checksums
2ac53500a817293ce4f5ae762425ac91744bc892d5d230ab46c2e6e4ea0bf86e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release files / laam-0.13.1-py3-none-any.whl

Download URL laam-0.13.1-py3-none-any.whl
Size 46.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
64d1457aca7631fcc7d655b3e0d688a008a49d780aa6ec49420ba26150c4cf92
BLAKE2b-256 checksum
How to use checksums
e8759d7c23f3f2ea25c1d64c8bc82a0f80b12878367a65eb60b41c2e6bbdc766
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release history Release notifications | RSS feed

This release

0.13.1 This release

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8

2 release files

0.7

2 release files

0.6

2 release files

0.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page