Skip to main content

A lightweight and powerful colors library for terminal output in Python.

Project description

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/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kroma-2.1.2-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file kroma-2.1.2-py3-none-any.whl.

File metadata

  • Download URL: kroma-2.1.2-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for kroma-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ca5b804c79c07507053f9e633d1ff76490b88477a20af9affce599f84df92961
MD5 591b18151e035f292354597a661c93c2
BLAKE2b-256 95bc79aced048e37dfc6f4baad46f4e1b75af83187b458fe02f50d7b71fb36b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page