Skip to main content

amox

Amox (from the Nahuatl amoxtli: book, codex, written record) is a zero-dependency Python logging library to produce records on schema-on-read formats.

Adheres to standard log serialization formats, including logfmt and json, with a single configuration line to rule a system.

Mental model

A service runs programmatically, emitting records for domain-specific events. Producing messages in a human-readable format for real-time inspection is necessary, yet these have to be processable subsequently.

Produce logs semi-structured on a open stream. Let third parties do the parsing, processing or any downstream action.

Usage

Initialize once

Single call, every log record will obey the configured format.

On application's entrypoint:

import amox

import package


amox.setup(name=package.__name__)  # `package` as application's name

Standard logging.getLogger() works transparently: all records are emitted on the configured format.

import logging

logger = logging.getLogger(__name__)

Line by line

Configuration is individually possible at the logger level, yet format consistency across all log emissions cannot be guaranteed by amox.

As follows

import amox

logger = amox.get_logger(__name__)

License

MIT

Metadata

Release files for amox 0.0.14

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

Source distribution (sdist)

Source distribution for amox 0.0.14
File Size Uploaded Provenance Actions
amox-0.0.14.tar.gz 15.1 kB Without provenance Details for amox-0.0.14.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for amox 0.0.14
File Interpreter ABI Platform Actions
amox-0.0.14-py3-none-any.whl Python 3 none any Details for amox-0.0.14-py3-none-any.whl

Total release size: 33.6 kB

Release files / amox-0.0.14.tar.gz

Download URL amox-0.0.14.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e25fd041a137a724743b91f741cb2fa65351692f1f6b94122c10663f6ba2efa4
BLAKE2b-256 checksum
How to use checksums
372d9c024c927ed731205b9c08c1995f6b37327d0c3e4976c8bb17f8356f31c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","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 / amox-0.0.14-py3-none-any.whl

Download URL amox-0.0.14-py3-none-any.whl
Size 18.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4145ebb4691788a4597f6bd946f6b5f74078c94b046de6ac34ab293c2e2bf9f8
BLAKE2b-256 checksum
How to use checksums
8021bacfb0fd6b07a18bb079c7d465d2cede2f0fe949aec1ad8afe8022ee19c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","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 amox 0.0.14

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.

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