NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #112 most downloaded on PyPI
Cross-platform colored terminal text.
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 4 weeks to 1.7 years
Nearly every release is documented
notes for 41 of 43 stable releases
1 version withdrawn
withdrawn after publishing
16 years old
46 releases · first in 2010
Nothing published for this version
Nothing published for this version
Catch a racy ValueError that could occur on exit.
Catch a racy ValueError that could occur on exit. * Create README-hacking.md, for Colorama contributors. * Tweak some README unicode characters that don't render correctly on PyPI. * Fix some tests that were failing on some operating systems. * Add support for Python 3.9. * Add support for PyPy3. * Add support for pickling with the dill module.
One column per quarter.
Nothing published for this version
I initially hoped to have a single Makefile or script that worked on Linux and Windows, but was unable to make it work without massive over-complicati
I initially hoped to have a single Makefile or script that
worked on Linux and Windows, but was unable to make it work
without massive over-complication.
So now we have makefile targets for Linux, and powershell
scripts for Windows. Documented in the README.
Re-org of README, to put the most insteresting parts near the top. * Added Linux makefile targets and Windows powershell scripts to automate
bootstrapping a development environment, and automate the process of testing wheels before they are uploaded to PyPI.
Use stdlib unittest.mock where available
Travis CI now also builds on arm64
Demo06 demonstrates existing cursor positioning feature
Fix OSC regex & handling to prevent hang or crash
Document enterprise support by Tidelift
Fix release 0.4.2 which was uploaded with missing files. 0.4.2 BROKEN DO NOT USE
Fix release 0.4.2 which was uploaded with missing files.
#228: Drop support for EOL Python 3.4, and add 3.7 and 3.8. Thanks to hugovk.
Several additions and fixes to documentation and metadata.
Added Tidelift subscription information.
Nothing published for this version
Fix issue #196: prevent exponential number of calls when calling 'init' multiple times. Reported by bbayles and fixed by Delgan.
multiple times. Reported by bbayles and fixed by Delgan.
Fix issue #142: reset LIGHT_EX colors with RESET_ALL. Reported by Delgan
Fix issue #142: reset LIGHT_EX colors with RESET_ALL. Reported by Delgan * Fix issue #147: ignore invalid "erase" ANSI codes. Reported by shin- * Fix issues #163 and #164: fix stream wrapping under PyCharm. Contributed by
veleek and Delgan.
Thanks to jdufresne for various code cleanup and updates to documentation and project metadata. (pull requests #171, #172, #173, #174, #176, #177, #189, #190, #192)
#186: added contextlib magic methods to ansitowin32.StreamWrapper. Contributed by hoefling.
Fix issue #131: don't cache stdio handles, since they might be closed/changed by fd redirection. This fixes an issue with pytest. Contributed by segevfiner.
#146, #157: Drop support for EOL Python 2.5, 2.6, 3.1, 3.2 and 3.3, and add 3.6. Thanks to hugovk.
Revert fix for issue #103 which causes problems for dependent applications
Revert fix for issue #103 which causes problems for dependent applications
Fix issue #121: "invalid escape sequence" deprecation fixes on Python 3.6+
Fix issue #121: "invalid escape sequence" deprecation fixes on Python 3.6+ * Fix issue #110: fix "set console title" when working with unicode strings * Fix issue #103: enable color when using "input" function on Python 3.5+ * Fix issue #95: enable color when stderr is a tty but stdout is not
Fix issue #84: check if stream has 'closed' attribute before testing it
Fix issue #84: check if stream has 'closed' attribute before testing it * Fix issue #74: objects might become None at exit
Fix issue #81: fix ValueError when a closed stream was used
Fix issue #81: fix ValueError when a closed stream was used
Bumping version to re-upload a wheel distribution
Bumping version to re-upload a wheel distribution
Fix issue #47 and #80 - stream redirection now strips ANSI codes on Linux
Fix issue #47 and #80 - stream redirection now strips ANSI codes on Linux * Fix issue #53 - strip readline markers * Fix issue #32 - assign orig_stdout and orig_stderr when initialising * Fix issue #57 - Fore.RESET did not reset style of LIGHT_EX colors. Fixed by
Andy Neff
Fix issue #51 - add context manager syntax. Thanks to Matt Olsen.
Fix issue #48 - colorama didn't work on Windows when environment variable 'TERM' was set.
Fix issue #54 - fix pylint errors in client code.
Changes to readme and other improvements by Marc Abramowitz and Zearin
Fix Google Code issue #13 - support changing the console title with OSC escape sequence
escape sequence
Fix Google Code issue #16 - Add support for Windows xterm emulators
Fix Google Code issue #30 - implement 033[nK (clear line)
Fix Google Code issue #49 - no need to adjust for scroll when new position is already relative (CSI n ABCD)
Fix Google Code issue #55 - erase_data fails on Python 3.x
Fix Google Code issue #46 - win32.COORD definition missing
Implement 033[0J and 033[1J (clear screen options)
Fix default ANSI parameters
Fix position after 033[2J (clear screen)
Add command shortcuts: colorama.Cursor, colorama.ansi.set_title, colorama.ansi.clear_line, colorama.ansi.clear_screen
Fix issue #22 - Importing fails for python3 on Windows
Thanks to John Szakmeister for adding support for light colors
Thanks to Charles Merriam for adding documentation to demos
Thanks to Marc Schlaich (schlamar) for a setup.py fix for Python2.5
Thanks to Marc Schlaich (schlamar) for a setup.py fix for Python2.5 * Thanks to Jurko for fix on 64-bit Windows CPython2.5 w/o ctypes (Google
Code issue #56)
Thanks to Remi Rampin for: * better github integration, incl rendered README and Travis config. * fixed forward slashes in README
Thanks to Florian Bruhin for fix when stdout or stderr are None
Thanks to Simeon Visser for: * closing a file handle using 'with' * updating classifiers to include Python 3.3 and 3.4
Thanks to Thomas Weininger for fix ValueError on Windows (Google Code issue #50)
Fixed crash on exit with closed stdout, with thanks to Marc Abramowitz.
Fixed crash on exit with closed stdout, with thanks to Marc Abramowitz. * Now uses setuptools if available, and falls back to distutils if not. * setup.py no longer imports anything from colorama source.
Move repository to Git, https://github.com/tartley/colorama. (My Mercurial repo seemed to be corrupted, I couldn't commit nor view patches of old comm
repo seemed to be corrupted, I couldn't commit nor view patches of old commits, even on fresh checkouts.)
Fix always-crash on non-Windows platforms, reported by Matt McCormick.
Fix Google Code issue #47, incompatible with pyreadline.
Fix problem under 64-bit windows due to ctypes HANDLE size. Submitted by the rather magnificent Ben Hoyt. This fixes Google Code issue #43
the rather magnificent Ben Hoyt. This fixes Google Code issue #43
Add copyright & licensing info to every file, as requested by a large downstream project which has problems making sure that all 3rd party contributio
downstream project which has problems making sure that all 3rd party contributions have appropriate license.
Several documentation & demo fixes.
Several documentation & demo fixes.
Python 3 compatibility in docs and demos.
Fix to work on Windows 7. * Python 3 compatibility in docs and demos. * Add handling for 'cursor up' and 'get position' ANSI codes.
Split changelog out into separate file.
Split changelog out into separate file.
Fix bug which caused init() to raise, introduced in 0.2.1.
Fix bug which caused init() to raise, introduced in 0.2.1. * Remove asserts which cause problems in various circumstances. At least some
users saw asserts fail on 'success' returned from win32 functions, even though the win32 functions appear to have worked correctly.
Completely broken: I added a bug which caused init() to raise.
Completely broken: I added a bug which caused init() to raise. * Added some documentation for cursor positioning and clear screen to README. * Add 'reinit' and 'deinit' functions, as suggested by Charles FOL and
Romanov DA.
Nothing published for this version
Fix README (no such attr as Fore.DEFAULT, etc), kindly reported by nodakai.
Fix README (no such attr as Fore.DEFAULT, etc), kindly reported by nodakai.
Prevent printing of garbage ANSI codes upon installing with pip
Prevent printing of garbage ANSI codes upon installing with pip
Re-upload to fix previous error. Make clean now removes old MANIFEST.
Re-upload to fix previous error. Make clean now removes old MANIFEST.
Completely broken. Distribution was empty due to leftover invalid MANIFEST file from building on a different platform.
file from building on a different platform.
Fix python3 incompatibility kindly reported by G |uumlaut| nter Kolousek
Fix hard-coded reset to white-on-black colors. Fore.RESET, Back.RESET and Style.RESET_ALL now revert to the colors as they were when init() was called
Style.RESET_ALL now revert to the colors as they were when init() was called. Some lessons hopefully learned about testing prior to release.
Completely broken: barfed when installed using pip.
Completely broken: barfed when installed using pip.
Completely broken: contained no source code. double oops.
Completely broken: contained no source code. double oops.
Completely broken: fatal import errors on Ubuntu. oops.
Completely broken: fatal import errors on Ubuntu. oops.
Stop emulating 'bright' text with bright backgrounds.
Stop emulating 'bright' text with bright backgrounds. * Display 'normal' text using win32 normal foreground instead of bright. * Drop support for 'dim' text.
Fix incompatibility with Python 2.5 and earlier.
Fix incompatibility with Python 2.5 and earlier. * Remove setup.py dependency on setuptools, now uses stdlib distutils.
Fix ghastly errors all over the place on Ubuntu.
Fix ghastly errors all over the place on Ubuntu. * Add init kwargs 'convert' and 'strip', which supersede the old 'wrap'.
Fix: Now strips ansi on windows without necessarily converting it to win32 calls (eg. if output is not a tty.)
Python 3 compatible. * Fix: Now strips ansi on windows without necessarily converting it to win32
calls (eg. if output is not a tty.)
Fix: Flaky interaction of interleaved ansi sent to stdout and stderr.
Improved demo.sh (hg checkout only.)
Fix ansi sequences with no params now default to parmlist of [0].
Fix ansi sequences with no params now default to parmlist of [0]. * Fix flaky behaviour of autoreset and reset_all atexit. * Fix stacking of repeated atexit calls - now just called once. * Fix ghastly import problems while running tests. * 'demo.py' (hg checkout only) now demonstrates autoreset and reset atexit. * Provide colorama.VERSION, used by setup.py. * Tests defanged so they no longer actually change terminal color when run.
* Now works on Ubuntu.
Now works on Ubuntu.
Implemented RESET_ALL on application exit
Implemented RESET_ALL on application exit
* Implemented init(wrap=False)
Implemented init(wrap=False)
Implemented init(autoreset=True)
Implemented init(autoreset=True)
* Minor tidy
Minor tidy
Works on Windows for foreground color, background color, bright or dim
Works on Windows for foreground color, background color, bright or dim
Your coding agent can read these notes before it upgrades. Set up the MCP server →