Skip to main content

A terminal colouriser

Project description

Kalido

A python-based colouriser inspired by lolcat and kekcat, capable of handling both escape sequences and streamed input

Installation

Kalido is easily downloaded, simply run:

pip install kalido

Arguments

--stops <list> # Default = "random"
--count <int> # Default = 5
--size <int> # Default = 1




--stops

Define a list of hex codes which the gradient will go between, or alternatively use a premade template

Examples:

--stops "#000000" "#FFFFFF" Creates a gradient between black and white

--stops "#FFD800" "#790293" "#FFD800" Creates a gradient between yellow and purple, before returning to yellow

--stops aroace Uses the premade gradient of the aroace flag

Presets:

  • Rainbow
  • Lesbian
  • Gay (MLM)
  • Bisexual
  • Transgender
  • Queer
  • Intersex
  • Aroace
  • All (Combines every flag end-to-end)
  • Random (Will pick any preset)

--count

Define how many additional colours the gradient will have between your stops

Use 0 if you want there to be no additional colours added


--size

Define how many characters each colour will cover.




Known bugs

  • Interactive programs sometimes will leak escape sequences

AI Disclaimer

No AI was used to generate code nor this README

Project details


Download files

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

Source Distribution

kalido-1.0.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

kalido-1.0.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file kalido-1.0.0.tar.gz.

File metadata

  • Download URL: kalido-1.0.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for kalido-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3d4fcdefd3b8d644cf665d190c7160434e6a53939ed79025807934e0e87cecf9
MD5 32464a8ae1e735a3556d3fc17db720ab
BLAKE2b-256 210aa818774b0ae152142c0a611963aebec4784c525126db3656e76b593f9ad8

See more details on using hashes here.

File details

Details for the file kalido-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: kalido-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for kalido-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2b644c7c581ed9ea9bdad94bb734706f78912a28a195e5cf4b2122fa0292588
MD5 173b725780b83b7189de4c6a2d35378a
BLAKE2b-256 41e0571445902e39aa3b2862136389db040b6c602802257b79e6dbf4e75ba5df

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