Small quality-of-life features on top of stdlib.
Project description
Apathetic Python Logging 🪵
📘 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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file apathetic_logging-0.10.0.tar.gz.
File metadata
- Download URL: apathetic_logging-0.10.0.tar.gz
- Upload date:
- Size: 39.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52ed592f8462c655885ee79069471ffeeea3385e5c46da7fd28aa0cf59acebde
|
|
| MD5 |
4b024914b487db296591332ea4114351
|
|
| BLAKE2b-256 |
6f1b4bfe758bd667892c12506411fbc28b8258488102f33b4ed05622f5e8f409
|
Provenance
The following attestation bundles were made for apathetic_logging-0.10.0.tar.gz:
Publisher:
publish_pypi.yml on apathetic-tools/python-logging
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
apathetic_logging-0.10.0.tar.gz -
Subject digest:
52ed592f8462c655885ee79069471ffeeea3385e5c46da7fd28aa0cf59acebde - Sigstore transparency entry: 755693398
- Sigstore integration time:
-
Permalink:
apathetic-tools/python-logging@1a65e847a65ec601d30c0fce6c13a1cdc50a316d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/apathetic-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@1a65e847a65ec601d30c0fce6c13a1cdc50a316d -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file apathetic_logging-0.10.0-py3-none-any.whl.
File metadata
- Download URL: apathetic_logging-0.10.0-py3-none-any.whl
- Upload date:
- Size: 44.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef087b9c73154f618929f7c2455a5c5ad40a9306a7ae01b3c43d8674ea00bde7
|
|
| MD5 |
23f913e510bb70f7c101071a8afdcf72
|
|
| BLAKE2b-256 |
7819d8f6e8de2805d8d55533d4a7b2d3f9b7e7c5d044292569e582ab2d0866ca
|
Provenance
The following attestation bundles were made for apathetic_logging-0.10.0-py3-none-any.whl:
Publisher:
publish_pypi.yml on apathetic-tools/python-logging
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
apathetic_logging-0.10.0-py3-none-any.whl -
Subject digest:
ef087b9c73154f618929f7c2455a5c5ad40a9306a7ae01b3c43d8674ea00bde7 - Sigstore transparency entry: 755693402
- Sigstore integration time:
-
Permalink:
apathetic-tools/python-logging@1a65e847a65ec601d30c0fce6c13a1cdc50a316d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/apathetic-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@1a65e847a65ec601d30c0fce6c13a1cdc50a316d -
Trigger Event:
workflow_run
-
Statement type: