$npx skillfedfor your agent

crayons

TextUI colors for Python.

With conditionsPyPI TerminalsReleased Aug 2020500.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — crayons-0.4.0-py2.py3-none-any.whl
v0.4.0 · released 2020-08-26 · 1 runtime deps: colorama

Yes, if you need simple terminal colors and don't require active maintenance. Crayons is lightweight, has no complex dependencies beyond colorama, and works reliably for basic colored output. However, the abandoned status means no bug fixes or Python version updates will be released—use it only if you're comfortable with a stable but unmaintained package, or if you're targeting Python versions it already supports.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Installation is straightforward with low friction.
  • The package is abandoned as of 2020-08-26, so no active maintenance is expected, though it remains stable for basic terminal color use.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.

last release 2020-08-26 (2179 days) · last repo commit 2020-08-26 · 417 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 500,822 downloads/mo, #6,319 on PyPI

Verify before relying

pip install crayons

import crayons
print(crayons.red('red text'))
print(crayons.green('green text'))
print(crayons.blue('blue text'))
  • Whether the package works reliably with Python versions beyond 3.8 (classifiers list 3.8 as the latest tested version)
  • Current compatibility with modern versions of colorama, its sole runtime dependency
Same gist for agents: .md · .json

What it is and what it does

Crayons is a lightweight wrapper around colorama that simplifies colored terminal output in Python. It provides named color functions (red, green, yellow, blue, black, magenta, cyan, white) that automatically wrap text in the appropriate ANSI codes and reset the terminal state afterward, eliminating the need to manually manage color state. The package detects whether output is going to a TTY and suppresses colors when piped, and it correctly calculates string length for colored output.

The package is powered by colorama and has a single runtime dependency. It supports Python 2.7 and Python 3.4 through 3.8 according to its classifiers. Since its last release in 2020, the project is no longer actively maintained, though the core functionality remains stable for basic terminal coloring tasks.

Use it for

  • Add colored output to CLI tools and scripts for better readability and user feedback
  • Highlight errors, warnings, and success messages in terminal applications with distinct colors
  • Create visually distinct log output or status reports in command-line utilities
  • Build interactive terminal UIs where color improves navigation and information hierarchy

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need simple terminal colors and don't require active maintenance.

Crayons is lightweight, has no complex dependencies beyond colorama, and works reliably for basic colored output. However, the abandoned status means no bug fixes or Python version updates will be released—use it only if you're comfortable with a stable but unmaintained package, or if you're targeting Python versions it already supports.

Install

crayons on PyPI

Before you install

Installation is straightforward with low friction. The package is abandoned as of 2020-08-26, so no active maintenance is expected, though it remains stable for basic terminal color use.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.

Quickstart

pip install crayons

import crayons
print(crayons.red('red text'))
print(crayons.green('green text'))
print(crayons.blue('blue text'))

Verify before relying

  • Whether the package works reliably with Python versions beyond 3.8 (classifiers list 3.8 as the latest tested version)
  • Current compatibility with modern versions of colorama, its sole runtime dependency

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
colorama
MaintenanceAbandoned 2,179 days since the last release
Last repo commit
First released
Downloads500,822 / month, #6,319 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Evidence: crayons-0.4.0-py2.py3-none-any.whl

Tags

Capabilities
terminal text colorscolored output pythonansi color codesterminal stylingconsole text coloringtty color formattingterminal ui colors
Topics
terminal-uicli-colors

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “console text coloring”

  • crayonsCrayons provides colored text output for terminal applications by…
  • tendoTendo provides utility functions for Python that fill gaps in the…
  • pansiPansi provides a clean interface for rendering text and graphics in…

Give your agent the search over MCP, or paste the wish link into any chat.

More Terminals packages

tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
rich Worth it
PyPI · Terminals · released Apr 2026

Rich renders styled text, tables, progress bars, syntax highlighting, markdown, and tracebacks to the terminal with minimal code.

MITpure Python · 3.9.0+
613.9Mdownloads / mo
colorama Worth it
PyPI · Terminals · released Oct 2022

Colorama makes ANSI escape sequences for colored terminal text work on Windows by intercepting and converting them to win32 API calls, while passing through unchanged on other platforms.

Install it if you need colored terminal output to work on Windows or want to use ANSI-based libraries portably; skip it only if you target non-Windows platforms…

BSD-3-Clausepure Python
431.0Mdownloads / mo
wcwidth Worth it
PyPI · Libraries · released Jun 2026

Measures the displayed width of Unicode strings in terminals, accounting for wide characters, combining marks, and terminal escape sequences that standard Python string functions mishandle.

Install it if your application formats text for terminals and handles non-ASCII characters.

MITpure Python · 3.8+
306.5Mdownloads / mo
ptyprocess With conditions
PyPI · Terminals · released Dec 2020

Run a subprocess in a pseudo terminal (pty) and interact with its input and output, enabling automation of interactive programs that require terminal features like password prompts or curses-style interfaces.

However, note that it is aging (last release 2020-12-28) and not actively maintained; it works well for its narrow, well-defined purpose but won't receive updates for…

ISCpure Pythonaging
205.2Mdownloads / mo
pexpect With conditions
PyPI · Software Development · released Nov 2023

Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.

ISCpure Pythonaging
200.8Mdownloads / mo

See also histoprint · simple-colors · wasabi · ansi2html · pastel · terminaltexteffects · colorclass · colored-traceback · curtsies · ascii-colors