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.2.2-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kroma-2.2.2-py3-none-any.whl
  • Upload date:
  • Size: 23.9 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.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6f86abc827d08acaa50796f8d13dac0640e9f003d329654f1b8227d2cd41157c
MD5 38d0365d8a90b4aad1c20f2bae1bb491
BLAKE2b-256 87637211855c7cced64202b5b0ffa049758c4269de1af4a5e6ac6003f5540105

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