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.12.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.12.0
File Size Uploaded
laam-0.12.0.tar.gz 35.8 kB Details

Built distribution (wheel)

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

Total release size: 79.2 kB

Release files / laam-0.12.0.tar.gz

Download URL laam-0.12.0.tar.gz
Size 35.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5ab66fc91c632bb7762f208e769de796d895a3b1bdfa8cdb7e44af678b52da92
BLAKE2b-256 checksum
How to use checksums
83578aa350ffc1e06017e59748b4ff92593fac63f961750cf6de9a6b7a0a5280
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

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

Download URL laam-0.12.0-py3-none-any.whl
Size 43.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb890e58ffa921ecf39372e7a40e87090f6a9e9b0ba78738aafca102abcd0479
BLAKE2b-256 checksum
How to use checksums
8493b22178b4052f4aedfdfdcc41f8d5138ab4d834a02a12516f99890f7e820c
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

0.13.0

2 release files

This release

0.12.0 This release

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