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.1.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.1-py3-none-any.whl (38.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: apathetic_logging-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 bf380827429ca0b0a99afc4d0a965be6432c0ee146f93705e5ab291d3743af3b
MD5 b5adb51940ab20a9dd42a4eca4feca7a
BLAKE2b-256 1d3eea8f623a6202b603586a4189b1838871eabe49c476f7ba81423d9871f259

See more details on using hashes here.

File details

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

File metadata

  • Download URL: apathetic_logging-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 38.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8450dd32ba6b8a9ba64848e7e7261a3cf032d488569e8c81fc1ba9bc49c78d22
MD5 92f11f235f8c3c8af9dfcf8951fecf56
BLAKE2b-256 c6b689e1bc6176e476e7677573d40bc2a0c25b243403b51d903b07bcde7e94d5

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