Kroma is a lightweight and powerful library for terminal output in Python. It allows you to set colors, text formatting, and more with ease!
It's super simple - just install it from PyPI via pip. You will need Python 3.10 or higher.
pip install kromaKroma 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
Read the docs for the full API reference and detailed usage examples: