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.2.tar.gz (4.0 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.2-py3-none-win_amd64.whl (10.7 MB view details)

Uploaded Python 3Windows x86-64

a2al-0.1.2-py3-none-manylinux2014_x86_64.whl (5.5 MB view details)

Uploaded Python 3

a2al-0.1.2-py3-none-manylinux2014_aarch64.whl (5.1 MB view details)

Uploaded Python 3

a2al-0.1.2-py3-none-macosx_11_0_x86_64.whl (5.1 MB view details)

Uploaded Python 3macOS 11.0+ x86-64

a2al-0.1.2-py3-none-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: a2al-0.1.2.tar.gz
  • Upload date:
  • Size: 4.0 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.2.tar.gz
Algorithm Hash digest
SHA256 74c94bec8040ff2c527d81a5c0c20d0bafe78a0b2d476ef8b597e3c9da81e2ed
MD5 39595c66a7fbb8a6b264800338d3e1f6
BLAKE2b-256 981f8365cf50fd723af4d19fe34587d31c90e47b9b848534fa52100ebc5eec46

See more details on using hashes here.

File details

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

File metadata

  • Download URL: a2al-0.1.2-py3-none-win_amd64.whl
  • Upload date:
  • Size: 10.7 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.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 32fd9d46d863f9e825c69bcd26897f55cd82beca5af88671ffba9384b6b6ad0d
MD5 5fc4289ee7105afee2bb9697bc8c475d
BLAKE2b-256 fa0a7fde3054d9b1bcf969ddef83aef44e2664a0b36f83f838a831667f31eeac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for a2al-0.1.2-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8d58b409ce9d2c08594f3499abadf2554c36fdf4fee0a90b40c2efd22003d34a
MD5 719f09f2c82264ba1f2b384a8f110b7e
BLAKE2b-256 d06ce43a41e62bd3f9c5555ef4e2df9af5afd73e813f3f410d091f77383db929

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for a2al-0.1.2-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d7b2115bba85631a604d77a98366d9887cf1b2592e63400a161b761b2cb31ecd
MD5 2e2b9b39ee40dc7034c09b2abd430cde
BLAKE2b-256 a32befa8c0a899af1e4405d9535b184221815a7e62b636c9f10cd262316be713

See more details on using hashes here.

File details

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

File metadata

  • Download URL: a2al-0.1.2-py3-none-macosx_11_0_x86_64.whl
  • Upload date:
  • Size: 5.1 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.2-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 63e2a74e5f6c9a2ed78a5f1a62c723618a7bb6d390825b962e9f1821366540da
MD5 d00410a78bc6970c3bccb0bdc47ef381
BLAKE2b-256 4068074d2d8ec6f080c30be42bbeee073e54a1a121cbf86b6cd40da1e09536f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: a2al-0.1.2-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 5.1 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.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0debbb8aa1ca016e893b317619ce564b0306949c56302314979c46e74f80849d
MD5 2ada15af81f45cfdbed45fea62aee747
BLAKE2b-256 04cb4544c079715ba68ed3c0227f8dc9af744e69da643c06901279c846ba4544

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