NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1299 most downloaded on PyPI
Colorful worry-free console applications for Linux, Mac OS X, and Windows.
Last release 5 years ago
no release in 18 months
Ships unpredictably
gaps range from 9 days to 5.6 years
Nearly every release is documented
notes for 13 of 13 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
13 releases · first in 2014
Added * Build scripts
Added * Build scripts
Added * Publishing wheels
Added * Publishing wheels
Colors enabled by default always, like it was before v2.0.0. Lead to colorclass "not working" during testing in other libraries, leading to confusion.
One column per quarter.
Colors enabled by default always, like it was before v2.0.0. Lead to
colorclass "not working" during testing in other libraries, leading to
confusion. Better to leave TTY detection up to developers.
Added disable_if_no_tty() convenience method.
Added
* disable_if_no_tty() function to conditionally disable colors when STDERR and STDOUT are not streams.
Changed * Colors enabled by default always, like it was before v2.0.0.
On Python 2.6 on Windows, trying to write box drawing characters using sys.stdout.write (or err) raised UnicodeEncodeError. Apparently using print() i
On Python 2.6 on Windows, trying to write box drawing characters using
sys.stdout.write (or err) raised UnicodeEncodeError. Apparently using
print() instead works fine.
Fixed * Printing box drawing characters on Windows from Python 2.6.
keep_tags boolean keyword argument to Color(). Prevents colorclass from parsing curly brackets.
Added
* keep_tags boolean keyword argument to Color(). Prevents colorclass from parsing curly brackets.
* Automatically skip replacing stderr/stdout streams on latest Windows 10 versions with native ANSI color support.
Changed * Refactored most of windows.py. * Background color determined from either stderr or stdout, instead of just one stream (e.g. piping stderr to file).
Fixed * https://github.com/Robpol86/colorclass/issues/16 * https://github.com/Robpol86/colorclass/issues/18
Trying out Travis CI's pypi deployment feature.
Trying out Travis CI's pypi deployment feature.
Added
* Python 3.5 support.
* enable_all_colors(), is_enabled(), and is_light() toggle functions.
* Library can be used as a script (e.g. echo "{red}Red{/red}" |python -m colorclass).
* Ability to add/multiply Color instances just like str.
* Ability to iterate a Color instance and have each character keep its color codes.
Changed
* Converted library from Python module to a package.
* set_light_background() and set_dark_background() no longer enable colors. Use enable_all_colors().
* Colors are disabled by default when STDERR and STDOUT are not streams (piped to files/null). Similar to grep.
* Reduce size of ANSI escape sequences by removing codes that have no effect. e.g. \033[31;35m to \033[35m.
* Color methods that return strings now return Color instances instead of str instances.
Fixed * https://github.com/Robpol86/colorclass/issues/15 * https://github.com/Robpol86/colorclass/issues/17
Convenience single-color methods by Marc Abramowitz _.
Added
* Convenience single-color methods by Marc Abramowitz <https://github.com/msabramo>_.
Maintaining Color type through .encode() and .decode() chains.
Fixed
* Maintaining Color type through .encode() and .decode() chains.
Python 2.7 64-bit original colors bug on Windows.
Fixed
* Python 2.7 64-bit original colors bug on Windows.
* resetting colors when reset_atexit is True.
* Improved sorting of list_tags().
Native Windows support and automatic background colors.
Added * Native Windows support and automatic background colors.
Ability to disable/strip out all colors.
Added * Ability to disable/strip out all colors.
Fixed * splitlines() method.
Fixed
* splitlines() method.
* Initial release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →