./devel/py-crayons, Colored string formatting for the terminal

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2022Q4, Version: 0.4.0nb1, Package name: py310-crayons-0.4.0nb1, Maintainer: pkgsrc-users

This module is really simple, it gives you colored strings for terminal usage.
Included colors are red, green, yellow, blue, black, magenta, magenta, cyan,
white, clean, and disable.

Crayons is nice because it automatically wraps a given string in both the
foreground color, as well as returning to the original state after the string
is complete. Most terminal color libraries make you manage this yourself.


Master sites:

Filesize: 4.475 KB

Version history: (Expand)