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 seamless integration with Apathetic Tools projects.

[!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.1.0.tar.gz (33.1 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.1.0-py3-none-any.whl (38.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: apathetic_logging-0.1.0.tar.gz
  • Upload date:
  • Size: 33.1 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.1.0.tar.gz
Algorithm Hash digest
SHA256 370ecf80a7cfd19a46b531121835565fdf9e44cd1a2ac69908d4a3efb8002ba0
MD5 81ca669684518b072ba3cba4f0e51a1d
BLAKE2b-256 418f107ffd5205e1335b4e0bb17fd884efc9b494ee0374e44bbad1ffeec16bf0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: apathetic_logging-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 38.5 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eacd5605eaef14fc8d5b4a80d8b3a9e495a1d2ba52fc47b5e39653fd2fdf89ad
MD5 92dd5271765e4bb84e5cb131a449348f
BLAKE2b-256 49163a1ab6d342227d28646217d181b247b1d903e10de24bb3c072f25f841bcd

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