Skip to main content

Kroma

Kroma is a lightweight and powerful library for terminal output in Python. It allows you to set colors, text formatting, and more with ease!

Installation

It's super simple - just install it from PyPI via pip. You will need Python 3.10 or higher.

pip install kroma

Why use Kroma?

Kroma is significantly better than libraries like colorama, and Kroma even has features that the very popular and powerful module rich lacks, such as:

  • Dynamic color manipulation
  • Powerful gradient generation
  • Built-in color palettes
  • Global terminal color scheme management (via palettes)
  • Simple, intuitive, lightweight, and focused API

Documentation

Read the docs for the full API reference and detailed usage examples:

https://www.powerpcfan.xyz/docs/kroma/v2/

Release files for kroma 2.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for kroma 2.2.3
File Interpreter ABI Platform
kroma-2.2.3-py3-none-any.whl Python 3 none any Details

Release files / kroma-2.2.3-py3-none-any.whl

Download URL kroma-2.2.3-py3-none-any.whl
Size 23.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1c2ec76ed91bed86653f0f67882a623983333c19a3a3a00006b4bc8fad9b3ad
BLAKE2b-256 checksum
How to use checksums
80f2084092912da47757353d3221c1e909e3152e039832001deaed3e885f7efb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

2.2.3 This release

1 release file

2.2.2

1 release file

2.2.1

1 release file

2.2.0

1 release file

2.1.2

1 release file

2.1.0

1 release file

2.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page