A styled console printer with C++ cout-like syntax and ANSI color support.
Project description
pprintx
A styled console printer with C++ cout-like syntax, supporting colors, backgrounds, and text styles.
Installation
pip install pprintx
Usage
from pprintx import pprint, color, style, end
pprint << color(2) << style("bold") << "Hello, World!" << end("")
Features
- Foreground and background colors (0–15)
- Styles: bold, italic, underline, blink, reverse
- C++-style chaining with
<<
License
MIT
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
pprintx-0.1.0.tar.gz
(3.6 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 pprintx-0.1.0.tar.gz.
File metadata
- Download URL: pprintx-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2637cdc95530d327635a5ad1c21484cc90b8285549e536e9a2eb83b10c56c6f
|
|
| MD5 |
46ce417ee91b33e9011589d45c5e4432
|
|
| BLAKE2b-256 |
5d38da664e2043c22fa0ecfcb03b5677140276920a31f0ca49b78fbde74289a1
|
File details
Details for the file pprintx-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pprintx-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3e64426445ef791f6cc2fbdc7ab1d458e65d4c8efc394cc6fdc9e86de649f80
|
|
| MD5 |
86d521d9bfa9de7678cfceac832a988b
|
|
| BLAKE2b-256 |
dece0b799bda7acbf38c1e3579b3639a86b2db7b49c68301c12fa29c7533a36f
|