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 listens on port 8080 by default. Override it with LAAM_MOCK_PORT:

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.0

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.0
File Size Uploaded
laam-0.13.0.tar.gz 37.3 kB Details

Built distribution (wheel)

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

Total release size: 82.1 kB

Release files / laam-0.13.0.tar.gz

Download URL laam-0.13.0.tar.gz
Size 37.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3d765c6cd2d2a22cbe68589148a38d4a9d288b7fd0c2f0b174e128fec670d54c
BLAKE2b-256 checksum
How to use checksums
3743d8ff596fcd8020446669ee95afc3ec919b09da4daf2dec8682c18959bbb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

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

Download URL laam-0.13.0-py3-none-any.whl
Size 44.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2ceb05f2155042c7b3bf2f34df94c3d39d79583272e08fab73ab170d0d7d19e
BLAKE2b-256 checksum
How to use checksums
100c4c4ff0e52e62a95c00464f44c82b5aaebcdb2fadb0e775b41b79cde8a3d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release history Release notifications | RSS feed

0.13.1

2 release files

This release

0.13.0 This release

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