tartley/colorama

Simple cross-platform colored terminal text in Python

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 1 hour ago
Type:Library / SDKCategory(s):Core & Utility LibrariesLanguages & Runtimes
Added to GitGenius on September 18th, 2026
Created on April 17th, 2014
Open Issues & Pull Requests: 143 (+0)
GitHub issues: Enabled
Number of forks: 284
Total Stargazers: 3,795 (+0)
Total Subscribers: 42 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 232.0 days
Mean response time: 524.7 days
90th percentile: 996.5 days
Tracked items: 10

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 12
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 933 days
Stale 30+ days: 10
Stale 90+ days: 9

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Colorama is a Python library that simplifies colored terminal text output across different operating systems.

The problem colorama solves is the inconsistency of ANSI color codes across platforms. On Windows, the native terminal does not interpret ANSI escape sequences the way Unix-like systems do, making it difficult to write portable code that produces colored output everywhere. Colorama wraps the standard output stream and automatically converts ANSI codes to the appropriate native calls on Windows, while passing them through unchanged on other platforms. This allows developers to write color code once and have it work consistently.

The library suits any Python project that needs to output colored text to the terminal, from command-line tools to build scripts to interactive applications. It is particularly valuable for developers who want to add visual polish to CLI applications without maintaining separate code paths for different operating systems. The approach is lightweight and requires minimal changes to existing code—developers can use standard ANSI escape sequences or the library's own simple API.

The project shows steady maintenance with regular updates addressing compatibility issues and edge cases. The codebase remains focused on its core responsibility of cross-platform color handling without feature creep. Development activity indicates attention to reported issues and a commitment to keeping the library working across Python versions and terminal environments.