Printing and debugging with color
Project description
cprintf
Install
pip install cprintf
Usage
import cprintf
cprintf.debug("Debug info")
cprintf.ok("Everything looks good.")
cprintf.info("This is some info.")
cprintf.warn("This is a warning.")
cprintf.err("This is an error message.")
cprintf.fatal("This is a fatal error.")
cprintf.line()
cprintf.custom("This is a custom color message in cyan!", "\033[96m")
cprintf.line(char='=', length=60, color='OK')
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
cprintf-0.0.5.tar.gz
(3.7 kB
view details)
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 cprintf-0.0.5.tar.gz.
File metadata
- Download URL: cprintf-0.0.5.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13f988d0842e3977714ded68d6b83c308107387065c221c9aefcbaf45e493096
|
|
| MD5 |
8d45fbb57c90aa5c3f98c615af8adf40
|
|
| BLAKE2b-256 |
a78841b692518969a995853028d4d491b4e2df91b32189d780cd6d35d19c9161
|
File details
Details for the file cprintf-0.0.5-py3-none-any.whl.
File metadata
- Download URL: cprintf-0.0.5-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d46d7518bc652036fb0893c87e83040f9e60aefd9596adc5f8d0854f4526b9b
|
|
| MD5 |
81e6c3734019cfc01248d4a3ac9e2f53
|
|
| BLAKE2b-256 |
da03d4f98e5c30fa74babbc2b9cffa1908d5b52f6919f9ad54d50b23d23032e2
|