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.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| laam-0.13.1.tar.gz | 38.5 kB | Without provenance | Details for laam-0.13.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| laam-0.13.1-py3-none-any.whl | Python 3 | none | any | Details for laam-0.13.1-py3-none-any.whl |
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
|
Security for laam 0.13.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.