clog
This project is now simply a shortcut for using rich.
If you want to save yourself a dependency, just use rich.
Usage
Pass any data into clog and it'll get pretty-printed.
>>> from clog import clog
>>> data = {'here': 'is some data'}
>>> clog(data)
You can also give it a title:
>>> clog(data, title="My Data")
Or change the color:
>>> clog(data, title="My Data", color="red")
Colors
This library uses rich under the hood, so it theoretically supports
any color that rich supports.
Disclaimer
The clog function is now simply a wrapper around:
from rich.panel import Panel
from rich.pretty import Pretty
from rich import print
print(Panel(Pretty(msg), title=title, subtitle=subtitle, border_style=color))
So, seriously... just use rich.
Metadata
Release files for clog 0.3.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 |
|---|---|---|---|---|
| clog-0.3.1.tar.gz | 2.8 kB | Without provenance | Details for clog-0.3.1.tar.gz |
Release files / clog-0.3.1.tar.gz
| Download URL | clog-0.3.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3cb3899b06e6e66b539329be8ede7090017c3289dffbd63c56cdce80f1cc2a71
|
|
BLAKE2b-256 checksum How to use checksums |
e35f19e4f988704512c5fee777f8d120aee3c4bf5ddce66124952ea82e829924
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.5
|
Security for clog 0.3.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.