Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

a2al-0.1.7.tar.gz (4.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

a2al-0.1.7-py3-none-win_amd64.whl (11.5 MB view details)

Uploaded Python 3Windows x86-64

a2al-0.1.7-py3-none-manylinux2014_x86_64.whl (5.7 MB view details)

Uploaded Python 3

a2al-0.1.7-py3-none-manylinux2014_aarch64.whl (5.2 MB view details)

Uploaded Python 3

a2al-0.1.7-py3-none-macosx_11_0_x86_64.whl (5.8 MB view details)

Uploaded Python 3macOS 11.0+ x86-64

a2al-0.1.7-py3-none-macosx_11_0_arm64.whl (5.8 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file a2al-0.1.7.tar.gz.

File metadata

  • Download URL: a2al-0.1.7.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

Hashes for a2al-0.1.7.tar.gz
Algorithm Hash digest
SHA256 c7624e294c3d271103ef878cda94b1bb5d11baaeaffd7cb0a14e4f261af9ad04
MD5 52bfad91c1969dbd6314bf5ea19310c3
BLAKE2b-256 76d3413e2f127132595de440efb5f18b9f0669f5934b5ed5b74e7f40d763906d

See more details on using hashes here.

File details

Details for the file a2al-0.1.7-py3-none-win_amd64.whl.

File metadata

  • Download URL: a2al-0.1.7-py3-none-win_amd64.whl
  • Upload date:
  • Size: 11.5 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for a2al-0.1.7-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 0c05ae58f44c7d08353486eb592bee42f176b3ce22385fe9b2f5f51cf8d258c9
MD5 f1b3dce421a809cfa1f004e44feb84ca
BLAKE2b-256 52651e352bb1484118def183fd57b8107346567bfa5bed84f5d96d9b31ef72e8

See more details on using hashes here.

File details

Details for the file a2al-0.1.7-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for a2al-0.1.7-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ce713fa9dd939907c03caa652bfc76f343b74200ba789e102057b49163904f80
MD5 083d8295f04ef0d1c9fa6ad27516e455
BLAKE2b-256 eaea0fd5725c5b8b7a80acbd23f68d2c032597095f3c023f0d0c28b60c63293c

See more details on using hashes here.

File details

Details for the file a2al-0.1.7-py3-none-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for a2al-0.1.7-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 844965efaf20cf65a70f405a42b814544be3dbd176ef8aa25498abab63f03466
MD5 49414ad544a195bdc987b97ceb647495
BLAKE2b-256 4556d958041b3fd77bdf61e65d35418077cbfc32acc686956988b2cdeeab6211

See more details on using hashes here.

File details

Details for the file a2al-0.1.7-py3-none-macosx_11_0_x86_64.whl.

File metadata

  • Download URL: a2al-0.1.7-py3-none-macosx_11_0_x86_64.whl
  • Upload date:
  • Size: 5.8 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

Hashes for a2al-0.1.7-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 693a52fc65ed4a0efb67054e7b9c08364f5d687f013cbcb8e94aa535590cea47
MD5 65e392345253ac15dbd014c1fc4156fc
BLAKE2b-256 76d4fd612c2c9619945552c1a27769b4ba1ee19ef47f75ace76ebc95da983b5a

See more details on using hashes here.

File details

Details for the file a2al-0.1.7-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: a2al-0.1.7-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 5.8 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

Hashes for a2al-0.1.7-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d655b6c09c10b0f91f0692bc587929d330f970380494802e5afdc23a4b55792a
MD5 09bd2472acbf336e95b1950de22afdb2
BLAKE2b-256 0428fb51cbfe0376632a4e0e6bd2f2e4915413ac0831658accb9f52a6b1b9508

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page