Python client for a2al: spawn a2ald and call its REST API
Project description
a2al (Python)
Python client for a2al: spawns a local a2ald daemon and exposes a typed REST client for its API.
Installation
pip install a2al
Pre-built a2ald binaries are bundled inside platform wheels for:
| Platform | Architecture |
|---|---|
| Linux | x86_64, arm64 |
| macOS | x86_64, arm64 |
| Windows | x86_64 |
On unsupported platforms, install a2ald manually and ensure it is on PATH, or set A2ALD_PATH to the executable path.
Usage
from a2al import Daemon, Client
with Daemon() as d:
c = Client(d.api_base, token=d.api_token)
print(c.health())
Environment Variables
| Variable | Description |
|---|---|
A2ALD_PATH |
Override path to the a2ald executable |
A2AL_API_TOKEN |
Bearer token when the daemon enforces auth |
Requirements
- Python 3.10+
- No third-party dependencies (standard library only)
Links
- A2AL — a2al.org
- Tangled Network — tanglednet.com · tngld.net
- Source — GitHub
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file a2al-0.1.6.tar.gz.
File metadata
- Download URL: a2al-0.1.6.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffc6c319c92d4f19c307306189b3b69f7e98c9e640a53a0efa82a502c7b9ede7
|
|
| MD5 |
f53828533c4a45f89db876eb8dbbf167
|
|
| BLAKE2b-256 |
6bda467b601d4f0165e899a03e7374da72e4604c3a671104cb80e791528b96a4
|
File details
Details for the file a2al-0.1.6-py3-none-win_amd64.whl.
File metadata
- Download URL: a2al-0.1.6-py3-none-win_amd64.whl
- Upload date:
- Size: 11.4 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca2d02e6236e91e8375b207fea1f85ac5a08279c7d8521b7ed184edc4d5dbbe0
|
|
| MD5 |
c739ac206469ff18021c147af81cbefa
|
|
| BLAKE2b-256 |
e5b421f81a2914417f008b6bc9c44339887457118f8223365440f1c2aa8de37b
|
File details
Details for the file a2al-0.1.6-py3-none-manylinux2014_x86_64.whl.
File metadata
- Download URL: a2al-0.1.6-py3-none-manylinux2014_x86_64.whl
- Upload date:
- Size: 5.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5de9f65a248f3a558cc7bf040ceca7398ba945c8257f43c34c39bb0ceba1d0e9
|
|
| MD5 |
6b237d21d06e121fbc7ed831d02af4d7
|
|
| BLAKE2b-256 |
3e5d3fbf41f0d2ac67afc74a3eefda1c77e5cf5326a5787a51c5ee58b1f90158
|
File details
Details for the file a2al-0.1.6-py3-none-manylinux2014_aarch64.whl.
File metadata
- Download URL: a2al-0.1.6-py3-none-manylinux2014_aarch64.whl
- Upload date:
- Size: 5.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c2b6cc11c525b1e0b6b4f9edae2e95d2da539e11f8fb4632a0a4813465d9b5c
|
|
| MD5 |
5f11ef2c6ce5503ab59c563295030ca3
|
|
| BLAKE2b-256 |
38b7f9cc5fb9283d643534de3fe4d158c3e3e4e2c9759f4847bbad1186cd876b
|
File details
Details for the file a2al-0.1.6-py3-none-macosx_11_0_x86_64.whl.
File metadata
- Download URL: a2al-0.1.6-py3-none-macosx_11_0_x86_64.whl
- Upload date:
- Size: 5.7 MB
- Tags: Python 3, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6344e24551e8806838214a7154becb46a64a437572c91638b2c320d2c1eead7
|
|
| MD5 |
76a2d99353bc5905353e98c6e4e35b0c
|
|
| BLAKE2b-256 |
05b586fb7e150244debc2b04e3eb21e176385172aab3ee24df0b987d276c6565
|
File details
Details for the file a2al-0.1.6-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: a2al-0.1.6-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 5.7 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c1ed5b994ebf6eadd688feeab3500a5affbada58392e5e85f0cf69d72224348
|
|
| MD5 |
82d6fe84d40b642892b8176fc7ecad13
|
|
| BLAKE2b-256 |
0da784e25c08648194a5c1f9c7769aa96bd31e68f0b0aa3f1684aa76169a5bcb
|