colorful print command
Project description
Simple print wrapper to add color support to python's print function.
from prozt.prozt import prozt as print
Table of Contents
prozt
prozt
Simple print wrapper to add color support to python using ANSI color codes
prozt
def prozt(*values: object,
sep: str | None = " ",
end: str | None = "\n",
file=None,
flush: Literal[False] = False,
fg_color: str | None = None,
bg_color: str | None = None,
style: str | None = None) -> None
Print the values to the console with ANSI color support!
Arguments:
sepstr | None, optional - string inserted between values, default a space.endstr | None, optional - string appended after the last value, default a newline.filetype, optional - a file-like object (stream), defaults to the current sys.stdout.flushLiteral[False], optional - whether to forcibly flush the stream.fg_colorstr | None, optional - ANSI Code for Foreground color of the text. Use colorama.Fore for simple colors.bg_colorstr | None, optional - ANSI Code for Background color of the text. Use colorama.Back for simple colors.stylestr | None, optional - ANSI Code for Style of the text. Use colorama.Style for simple colors.
prozt_rainbow
def prozt_rainbow(*values: object,
sep: str | None = " ",
end: str | None = "\n",
flush: Literal[False] = False)
Print something to the console in style.
Arguments:
sepstr | None, optional - string inserted between values, default a space.endstr | None, optional - string appended after the last value, default a newline.filetype, optional - a file-like object (stream), defaults to the current sys.stdout.flushLiteral[False], optional - whether to forcibly flush the stream.
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
prozt-0.0.3.tar.gz
(2.4 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
prozt-0.0.3-py3-none-any.whl
(2.8 kB
view details)
File details
Details for the file prozt-0.0.3.tar.gz.
File metadata
- Download URL: prozt-0.0.3.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2303ba35632f3722624f8fdd3c6ca58180e0408bdcf8f8bdbf87283d9fafc2a
|
|
| MD5 |
0afae6acdcc0d30c7757c92d844bbc95
|
|
| BLAKE2b-256 |
5baa65ec6614b16e4f1b446c782211b22bc420be987d728515c39cdda465e76f
|
File details
Details for the file prozt-0.0.3-py3-none-any.whl.
File metadata
- Download URL: prozt-0.0.3-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d228d49e2434c4710e41555fcea32acd20d0d0d64fdd3471548e30bb42fe7188
|
|
| MD5 |
54bce61b01096191c0743757768c229e
|
|
| BLAKE2b-256 |
74b4ef8c9d318bd7ff58b5251ffcb3dca802bd0c557d8aefe0acc98757ce86af
|