Skip to main content

Because consistent logging shouldn't require large dependencies.

Project description

Apathetic Python Logging 📝

CI License: MIT-a-NOAI Discord

📘 Roadmap · 📝 Release Notes

Minimal wrapper for the Python standard library logger.
Because consistent logging shouldn't require large dependencies.

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.

[!CAUTION] 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.minimal("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.2.2.tar.gz (33.9 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.2.2-py3-none-any.whl (38.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: apathetic_logging-0.2.2.tar.gz
  • Upload date:
  • Size: 33.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure

File hashes

Hashes for apathetic_logging-0.2.2.tar.gz
Algorithm Hash digest
SHA256 3ae65aea03c9964847b7eab12fd3f75b974fec035e89bac785336c204708fe04
MD5 fcd6000c22fce14ccb155b601cbc470e
BLAKE2b-256 5e019ad4776bad7356c4d3c5535cd3b45384dbf16eb4f0635d02bb16eaf17598

See more details on using hashes here.

File details

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

File metadata

  • Download URL: apathetic_logging-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 38.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure

File hashes

Hashes for apathetic_logging-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0fb72e68d8095127cda2e80faa922ae04a90e053b7604d66f2939dd242068304
MD5 c5f996a62fe17da45e45bb9b8d7f032f
BLAKE2b-256 970782c7e928bd11a48607707418b25c601ed41684c1510b35660249f9b779a5

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