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:
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)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|