Skip to main content

Small quality-of-life features on top of stdlib.

Project description

Apathetic Python Logging 🪵

CI License: MIT-a-NOAI Discord

📘 Roadmap · 📝 Release Notes

Small quality-of-life features on top of stdlib. Because you don't need another large dependency.

Apathetic Python Logger provides a lightweight, dependency-free logging solution designed for CLI tools. It extends Python's standard library logging module with colorized output, dual-stream handling (stdout/stderr), extra logging levels and context.

[!NOTE] Heads up: the AI cooked dinner. It’s edible, but watch your step.
Detailed bug reports welcome.

Quick Start

from apathetic_logging import get_logger, register_logger

# Register your logger
register_logger("my_app")

# Get the logger instance
logger = get_logger()

# Use it!
logger.info("Hello, world!")
logger.detail("Extra verbosity above INFO")
logger.brief("Lower verbosity than INFO")
logger.trace("Trace information")

Installation

# Using poetry
poetry add apathetic-logger

# Using pip
pip install apathetic-logger

Documentation

📚 Full Documentation →

For installation guides, API reference, examples, and more, visit our documentation website.


⚖️ License

You're free to use, copy, and modify the library under the standard MIT terms.
The additional rider simply requests that this project not be used to train or fine-tune AI/ML systems until the author deems fair compensation frameworks exist.
Normal use, packaging, and redistribution for human developers are unaffected.

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

apathetic_logging-0.6.2.tar.gz (35.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apathetic_logging-0.6.2-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

Details for the file apathetic_logging-0.6.2.tar.gz.

File metadata

  • Download URL: apathetic_logging-0.6.2.tar.gz
  • Upload date:
  • Size: 35.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for apathetic_logging-0.6.2.tar.gz
Algorithm Hash digest
SHA256 921930046eda9e029349ee3353a4bb84c7b5b22521275a5fd62ee7f3b30bc97c
MD5 2ae5fca23f2de9ffb3b357ca14c277a0
BLAKE2b-256 a11366f8b81a0651d04714a3d212ba457482b66c4277cf3d8f54bf393412680d

See more details on using hashes here.

Provenance

The following attestation bundles were made for apathetic_logging-0.6.2.tar.gz:

Publisher: publish_pypi.yml on apathetic-tools/python-logging

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file apathetic_logging-0.6.2-py3-none-any.whl.

File metadata

File hashes

Hashes for apathetic_logging-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d5a46fdfab59b2e3f3bfa1325cdc7eb1181ab88e7796861fa07d53589e6a84b2
MD5 5b770a32907e82880f59a7faf0624dd9
BLAKE2b-256 ff1585491d3819cdee2e3545394be9700e3749d5f47afa08bd3f8a4cc30fd51b

See more details on using hashes here.

Provenance

The following attestation bundles were made for apathetic_logging-0.6.2-py3-none-any.whl:

Publisher: publish_pypi.yml on apathetic-tools/python-logging

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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