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.

[!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.3.2.tar.gz (34.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.3.2-py3-none-any.whl (38.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: apathetic_logging-0.3.2.tar.gz
  • Upload date:
  • Size: 34.1 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.3.2.tar.gz
Algorithm Hash digest
SHA256 c22a853d4f801a3316cacf446cc817e3f1fe1d8d713a92c19c574734df3b4210
MD5 c8be4e7eca9ef030e77875eae275a4d3
BLAKE2b-256 bdbac5fa41e3c23f09c4b42578040a4a96b46ba742f1bf2dd06ac11da901b7cc

See more details on using hashes here.

Provenance

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

Publisher: publish.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.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for apathetic_logging-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 40b75fe2b6c44f3bacfcf0b7812daf5eb092ff49e836dcc4b00584061ffade52
MD5 de3e6d80c7781292ca79a7d5b9b8feb3
BLAKE2b-256 9b5a7f71b988578ad60759b5e5b21d49ab4fc45ba92d680970fa3e19647730a9

See more details on using hashes here.

Provenance

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

Publisher: publish.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