Skip to main content

ahi-core

Cross-cutting helpers shared across the AHI Python libraries. Deliberately dependency-light — it should be safe to depend on from anywhere.

from ahi.core import get_logger, poll_until, AhiError, PollTimeoutError

What's here

  • poll_until(...) — a generic "submit then wait for a terminal state" loop with exponential backoff and an injectable clock (used by ahi-aws).
  • get_logger(name) — a namespaced logger under ahi.* with a NullHandler attached, so libraries never configure global logging.
  • AhiError — base exception for everything in the AHI stack; PollTimeoutError is raised by poll_until.

Part of ahi-python-packages.

Metadata

Release files for ahi-core 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ahi-core 0.2.0
File Size Uploaded Provenance Actions
ahi_core-0.2.0.tar.gz 3.7 kB Without provenance Details for ahi_core-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ahi-core 0.2.0
File Interpreter ABI Platform Actions
ahi_core-0.2.0-py3-none-any.whl Python 3 none any Details for ahi_core-0.2.0-py3-none-any.whl

Total release size: 7.6 kB

Release files / ahi_core-0.2.0.tar.gz

Download URL ahi_core-0.2.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ab1401a314d2c53afdc3c657c76345be2c770e7be84b82049264811d02a1a715
BLAKE2b-256 checksum
How to use checksums
b093bc1bbef0b4d71070720c5c63a895e9a1fb1d6f12c0f576954969d4ec5f32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / ahi_core-0.2.0-py3-none-any.whl

Download URL ahi_core-0.2.0-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
007113b3104785b016b7e65d9fb2cc328c403a75a1c9accf86e770f005cc7ec6
BLAKE2b-256 checksum
How to use checksums
a2fe8bdde317b75cc386f9c6e38aa2405f354845b19146c0e0f7a86c069051ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for ahi-core 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page