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.4.tar.gz
(3.0 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.4.tar.gz.
File metadata
- Download URL: cprintf-0.0.4.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3056dcb37e2541a96eaf7e59fc45b8d2f9af60ed1abbd9ec1392abed3374069a
|
|
| MD5 |
e7eb0f6a3c7728089c862349761a84b2
|
|
| BLAKE2b-256 |
4af7fb596ff3a63b15c3ed12dee508d6a17c404041b4988b80f9ea07e359a573
|
File details
Details for the file cprintf-0.0.4-py3-none-any.whl.
File metadata
- Download URL: cprintf-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f183eb940e50776e5ed1748d0d7440681595aea620ed5f763971b0da04b441fd
|
|
| MD5 |
40a32f936816ed54bc144384cc8cc5fe
|
|
| BLAKE2b-256 |
c11e295fa78905d02009a46a5029b20632b4e048737278ad801547f1b7fcbeef
|