Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pprintx-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

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

Hashes for pprintx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f2637cdc95530d327635a5ad1c21484cc90b8285549e536e9a2eb83b10c56c6f
MD5 46ce417ee91b33e9011589d45c5e4432
BLAKE2b-256 5d38da664e2043c22fa0ecfcb03b5677140276920a31f0ca49b78fbde74289a1

See more details on using hashes here.

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

Hashes for pprintx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3e64426445ef791f6cc2fbdc7ab1d458e65d4c8efc394cc6fdc9e86de649f80
MD5 86d521d9bfa9de7678cfceac832a988b
BLAKE2b-256 dece0b799bda7acbf38c1e3579b3639a86b2db7b49c68301c12fa29c7533a36f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page