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)

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.5.tar.gz (4.1 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.5-py3-none-win_amd64.whl (10.9 MB view details)

Uploaded Python 3Windows x86-64

a2al-0.1.5-py3-none-manylinux2014_x86_64.whl (10.9 MB view details)

Uploaded Python 3

a2al-0.1.5-py3-none-manylinux2014_aarch64.whl (10.9 MB view details)

Uploaded Python 3

a2al-0.1.5-py3-none-macosx_11_0_x86_64.whl (10.9 MB view details)

Uploaded Python 3macOS 11.0+ x86-64

a2al-0.1.5-py3-none-macosx_11_0_arm64.whl (10.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: a2al-0.1.5.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for a2al-0.1.5.tar.gz
Algorithm Hash digest
SHA256 4b859d3e629e3ec3deb9ec93cc18bc1cce9827ce4ffdd18df05f4c3f9d0b2a79
MD5 53c3d18181f6d0a65dff1d8783d27488
BLAKE2b-256 c482756bf71279e2ffea1cd3aa9e26ebdd549aeb61f75bd5cdad57189d1c4b11

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for a2al-0.1.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4d8ab3c7a14dc98bf821a3829a77dd2bd89048993e69794d7b71e44745bd3635
MD5 c51a98e34f056c6a1addeb6972565688
BLAKE2b-256 f72051811bf2d322798b8094ed5273a1fa0267bb4633cabac6a74979681aa679

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for a2al-0.1.5-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dd1af8ea8591dde604de443d413a53c2bca5d7e4344e254ef46cf5b612633030
MD5 f4039988c9212d4767117556d49c2b3b
BLAKE2b-256 bc75566a1fd3aad68056d5fdcd4adcbb5e28c13719b9da260b2365039a8685f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for a2al-0.1.5-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c512208f25d90c1ce713c0d774faea8145c421e6eb02e2bd2cb372ab97c3fb8e
MD5 46f98d36312133603ee4817ff7e1919a
BLAKE2b-256 2c0859371fb3011e6fd661f35c7f8433dd5c80538a9c77c0e5ea657193dca46d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: a2al-0.1.5-py3-none-macosx_11_0_x86_64.whl
  • Upload date:
  • Size: 10.9 MB
  • Tags: Python 3, macOS 11.0+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for a2al-0.1.5-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 fb9f0ee9c9310d918002e15803345939bb935e72a9b5026d87c0644b831127ea
MD5 3c1772bbef97d6ce36c84913e6dfde10
BLAKE2b-256 1ccd9c8a6e633672a123111a7f2c6cd18306c0741a82e7e0108849c49c6f3243

See more details on using hashes here.

File details

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

File metadata

  • Download URL: a2al-0.1.5-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 10.9 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for a2al-0.1.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c3e321aaf1f80addb3cc9f905788ad438522e968434e43a72cbc97cef32ed6ca
MD5 f96d90c5cb7cdfac4ab12c1566fd875a
BLAKE2b-256 2496be04fe4a7591a3bd0b2a4c154a0cb9a514fc0f6006e02a0cc8f23ed0b91c

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