Back to Explore

tartley/colorama

GitHub
1 watchersOpen source

Last release: 10/25/2022

Colorama is a Python utility for making ANSI escape sequences work in colored terminal output on MS Windows. It wraps or configures stdout and stderr to strip ANSI sequences and convert them into the appropriate Win32 calls, while doing nothing on other platforms. It is useful for cross-platform apps that want to print colored text and cursor positioning using the same ANSI sequences on Windows and Unix-like systems.

Project status

  • Maintenance status: The repo shows an upstream push on 2026-05-13, which suggests ongoing activity, but the latest tagged library update in the provided history is 0.4.6 (2022-10-25).
  • Update cadence: Tagged updates appear clustered in 2022 (0.4.5rc1, 0.4.5, 0.4.6rc1, 0.4.6), then there is a multi-year gap with no further tagged updates shown after 2022. Earlier updates show gaps of roughly 1 to 2 years (for example, 2020-10 to 2022-06).

AI summary generated 2 weeks ago

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • 0.4.6

    10/25/2022

    Release 0.4.6 (per CHANGELOG.rst) introduces a new Windows initialization entry point, adds support for Windows 10 ANSI/VT consoles, and moves packaging metadata away from setuptools/setup.py to hatchling/pyproject.toml, dropping support for Python 3.5 and 3.6. The provided code diff content, however, shows mostly repository and CI/build system changes, not the underlying Python runtime changes.

    BreakingFeatures
  • 0.4.6rc1

    10/19/2022

    Release 0.4.6rc1 introduces a new Windows-specific initialization entry point, colorama.just_fix_windows_console(), and improves ANSI/VT handling on Windows 10 consoles. It also updates packaging/build tooling to remove reliance on setuptools/setup.py and drops testing/support for Python 3.5 and 3.6 (EOL).

    BreakingFeatures
  • 0.4.5

    6/16/2022

    Release 0.4.5 moves from the release candidate (0.4.5rc1) to the final version and updates a few repo-maintenance scripts. The provided release notes are empty, so most changes in this diff are not documented.

  • 0.4.5rc1

    6/15/2022

    Release 0.4.5rc1 primarily focuses on improving robustness in the Windows stream wrapper and adding packaging/runtime support improvements. The diff shows CI and maintainer tooling updates (GitHub Actions, Makefile, PowerShell scripts) alongside library changes in colorama/ansitowin32.py and corresponding tests.

    Features
  • 0.4.4

    10/13/2020

    Version 0.4.4 updates documentation and build/release tooling, and includes changes to how Colorama parses OSC escape sequences on Windows. No release notes were provided for 0.4.4 in the publisher metadata, so the functional changes below are only discoverable from the code diff.

  • 0.4.3

    12/6/2019

    Release 0.4.3 primarily updates packaging and documentation. The only clear functional-facing change visible in the diff is a change in supported Python versions (dropping Python 3.4 and adding 3.7 and 3.8), plus some build and maintainer workflow updates.

    BreakingSecurityFeatures
  • 0.4.1

    11/25/2018

    Release 0.4.1 increments the library version to 0.4.1 and includes a claimed fix for issue #196 regarding exponential calls when calling init multiple times. The actual code diff shown primarily updates AnsiToWin32 stream handling (isatty and closed attribute access) and adjusts packaging-related Makefile targets.

  • 0.4.0

    10/10/2018

    Colorama 0.4.0 includes several bug fixes related to ANSI handling, PyCharm environment behavior, and Windows console integration, along with CI and documentation updates. The published changelog entries focus on specific issues, and also note dropping support for several older Python versions.

    BreakingFeatures
  • v0.3.4

    12/12/2015

    Version v0.3.4 focuses on a set of bug fixes around ANSI handling, including better stripping behavior when streams are redirected on Linux and more reliable ANSI handling on Windows. The code also introduces a context manager helper (for init/deinit symmetry) and refactors some ANSI-code generation internals.

    Features
  • v0.3.3

    1/6/2015

    The v0.3.3 release notes were not provided, so there is no documented information about changes, bug fixes, or compatibility impact. To assess upgrade risk, you will need to compare the v0.3.3 tag against the previous release in the repository (diff release notes and code) or inspect the changelog in the project.