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.8.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.8-py3-none-win_amd64.whl (11.0 MB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

a2al-0.1.8-py3-none-manylinux2014_aarch64.whl (5.3 MB view details)

Uploaded Python 3

a2al-0.1.8-py3-none-macosx_11_0_x86_64.whl (5.3 MB view details)

Uploaded Python 3macOS 11.0+ x86-64

a2al-0.1.8-py3-none-macosx_11_0_arm64.whl (5.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: a2al-0.1.8.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.8.tar.gz
Algorithm Hash digest
SHA256 b6471946b50ba1b9928ff6542a49029d3c7ac42f6622af187650f1129f85a090
MD5 efea9bc104c78258c9e054696b293197
BLAKE2b-256 d3e5338b7e3d4d738a5e67b5e9e22da0d2a8f8cf307437dc0febae3c9024b6ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: a2al-0.1.8-py3-none-win_amd64.whl
  • Upload date:
  • Size: 11.0 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.8-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 32939142141c53f06f804adba0e739dfdfd77619ccdf3f98f11498eb6e97eac2
MD5 980d8f4b6e3c0d982afc07b993e18990
BLAKE2b-256 2498b95e86be3721c17d1634b6810a0454530d1d001c428af1ce1e0916e510b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for a2al-0.1.8-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 999f6ae5cb62ca9099438d91d86d12a41dd5b278efe93d7581a7c7791845913e
MD5 1e613285482f964586eb2b16cf468353
BLAKE2b-256 92a66cd5968de5dc9d33bd3a13bdc81212835d272f49e7d92998849c0baa2a41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for a2al-0.1.8-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 15bd795c00cd4c56cc7cf9f21a125b3a3194b84fac291c884f5e4bc50ae5f735
MD5 b17f6bf45730b41639f0f228bc611c96
BLAKE2b-256 9929ef762c901b136e5408b0b6558ad10cfbbd7a2e0dc5dec240b4ddbbcf96ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: a2al-0.1.8-py3-none-macosx_11_0_x86_64.whl
  • Upload date:
  • Size: 5.3 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.8-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 a0b342fbcdd0e6606cbc3f908cc1c594b7da4f42facd08c2c1376f962e6f913a
MD5 5c348fdf77871d0076a024c0177b5291
BLAKE2b-256 f6448a74d8c00c4b4caf2b343671953158d3a984b16790d3fc34147b7ab33b09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: a2al-0.1.8-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 5.3 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.8-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b4374e11ac4a719182640fcf75d5106105ee7633dde45308a008aa7565623249
MD5 be4dd6f9d9f9648cc3acb6a986e3252d
BLAKE2b-256 7d595c74264d6a012ee47113bf3ba43b8ef77b468b686bbe9908c83d43ecd6a3

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