Back to Explore

shawwn/supports-color-python

GitHub
1 watchersOpen source

Last release:

Detects whether a terminal supports color output in Python, including how many colors are available for stdout or stderr (for example, 16m truecolor or 256 colors). This is useful for enabling or tailoring colored terminal formatting based on the user’s terminal capabilities.

Project status

  • Maintenance status: Not actively maintained based on the evidence, the latest upstream push was 2024-08-28, and there have been no further updates since then (about 2 years as of 2026-09-10), indicating a quiet or dormant state.
  • Update cadence: Updates appear infrequent and irregular, with a long gap from 2021-08-02 to 2024-08-13/2024-08-28, then no activity afterward.

AI summary generated

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

Recent updates

  • 0.2.0

    Release 0.2.0 updates the supports-color-python package to version 0.2.0 while removing the external dict dependency and re-implementing its small “edict” behavior internally. The code also adds additional environment and terminal detection logic (CI and TERM values) that changes the computed color support levels.

    BreakingFeatures
  • 0.1.3

    Release 0.1.3 updates packaging metadata (version bump) and adjusts the runtime color-detection logic. The release notes field is empty, so any behavioral changes in the code are effectively undocumented.

  • 0.1.2

    Release 0.1.2 was published on 2021-08-02, but no release notes were provided by the publisher. There is no stated information about new features, bug fixes, breaking changes, security, or dependencies in the supplied release data.