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:
Metadata
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 | Actions Reset |
|---|---|---|---|---|
| kroma-2.2.3-py3-none-any.whl | Python 3 | none | any | Details for kroma-2.2.3-py3-none-any.whl |
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
|
Security for kroma 2.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.