suffuse_log
Overview
suffuse_log is a python library that specializes in ansi-formatting of log messages. It targets local scripts that want to output colored logs to a command line terminal.
If you are leveraging logging plugins like Splunk, I don't recommend you use this.
However, If you have CLI's that you want to make more engaging, pretty, or additionally communicate their meaning with color, then this is the library for you.
Install
pip install suffuse_log
Getting Started
from suffuse_log import suffuse_formatter
logger = suffuse_formatter.defaultConfig(
name="my-suffuse-log", log_level_no=10
)
x.info('this is my message')
Features
- Individually color logging attributes!
- Conditionally color multiple logging attributes based on glob patterns or user-defined callables
- Defaults to the popular colorama ansi library
- Allows users to supply their own ansi-style dictionary
Metadata
Release files for suffuse-log 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| suffuse_log-0.1.tar.gz | 7.6 kB | Without provenance | Details for suffuse_log-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| suffuse_log-0.1-py3-none-any.whl | Python 3 | none | any | Details for suffuse_log-0.1-py3-none-any.whl |
Total release size: 16.1 kB
Release files / suffuse_log-0.1.tar.gz
| Download URL | suffuse_log-0.1.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3fd273b6f11d23f6cdd22fad5ee2822e609d24c9e4628b8392322d7b214c8827
|
|
BLAKE2b-256 checksum How to use checksums |
77ae6fcdc5a8da6415496f717e6fe4b53e08d8c1e33eb8570b05e6e403247feb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.5
|
Release files / suffuse_log-0.1-py3-none-any.whl
| Download URL | suffuse_log-0.1-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a41d56e215e83f02e17671abb0cf092608819f202b3be1415d21254ed94cea4
|
|
BLAKE2b-256 checksum How to use checksums |
c2437671b343bf3bcb66dd02079dd33775772891cb9eb0d04c989c9fcca142b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.5
|
Security for suffuse-log 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.