a13n Logging
a13n-logging is the shared logging library for Agent Foundation. The distribution is a13n-logging; the import package is a13n_logging. It requires Python 3.13 and uses standard logging plus Rich.
Use it
from a13n_logging import LogFormat, configure_logging, get_logger
configure_logging(
log_format=LogFormat.json,
logger_names=("my_application",),
)
get_logger("my_application.tasks").info("ready", extra={"task_id": "task-example"})
Configure once at the executable boundary. Libraries only create namespaced loggers. JSON goes to stdout; LogFormat.pretty selects Rich terminal rendering, and a LogFile adds a size-rotated JSON file. log_context(**fields) binds fields to every record logged in a block. No logger namespace or root logger is configured by default, and this package does not redact secret values.
The Logging guide documents the public exports, configuration defaults, bound fields and their precedence, file rotation, exception behavior, output ownership, and customization.
Validate
uv run --locked pytest packages/a13n-logging/tests
Release boundary
a13n-logging publishes independently through release/a13n-logging-v<version>. Service and Harness releases consume it but do not republish it. See the repository release model.
Metadata
Release files for a13n-logging 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| a13n_logging-0.2.0.tar.gz | 11.1 kB | Without provenance | Details for a13n_logging-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| a13n_logging-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for a13n_logging-0.2.0-py3-none-any.whl |
Total release size: 21.3 kB
Release files / a13n_logging-0.2.0.tar.gz
| Download URL | a13n_logging-0.2.0.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
358040d1ac5c82d4490c4aa2585db0e92137bd15b56e97cbc231a1f6581726f6
|
|
BLAKE2b-256 checksum How to use checksums |
8d43e0f5cc98b9ae82c6f6bc998c487665480d1359768e7a6cae50f6b543c1b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / a13n_logging-0.2.0-py3-none-any.whl
| Download URL | a13n_logging-0.2.0-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ea0dc66d6327d9f1fb020497b9ec33a17c7de6ce195ee4d06201f04ac4d1951
|
|
BLAKE2b-256 checksum How to use checksums |
e03a6a908d04520b82ca7ae92c2e7fa641367b6b948b24eb061cd0a296a8b7da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for a13n-logging 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.