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.1.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.1.tar.gz.
File metadata
- Download URL: pprintx-0.1.1.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 |
d56cb7c94205dda4122e86d583d31f1a830e56d67e2c30f71ef7d965381e2587
|
|
| MD5 |
2b2bcbdc254364ccc7a562188e318c41
|
|
| BLAKE2b-256 |
adb1b1b00de02719bf29a341dbf5f3f313606ee699777b50fb90630994adc174
|
File details
Details for the file pprintx-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pprintx-0.1.1-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 |
8f53d5a94645c39071c525583a9b140d9b85557ca4e5c70daab2b60f62003b49
|
|
| MD5 |
de94ccbde1bb4c039eccdd8afe0705e2
|
|
| BLAKE2b-256 |
a2053096efa23825628afc344768bc04ac98b2d764a65f3bc8cb063372db52c1
|