CLI tool to extract a colour palette from an image using k-means clustering.
Project description
kcolours
Extracts a colour palette from an image in the terminal using k-means clustering.
Example
Installation & Usage
Option 1: using uv (recommended)
Run without installing using uvx
uvx kcolours example.png
or install locally
uv tool install kcolours
kcolours example.png
Option 2: using pipx
pipx install kcolours
kcolours example.png
Option 3: using pip in a virtual environment
pip install kcolours
python -m kcolours example.png
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
kcolours-1.0.3.tar.gz
(4.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kcolours-1.0.3.tar.gz.
File metadata
- Download URL: kcolours-1.0.3.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a83f562addfcf6e3370dfe98d4f0f69b6912b87c91d1f70121fa5a62f170239
|
|
| MD5 |
2bf87c180812dac2d8019b09ad9b4172
|
|
| BLAKE2b-256 |
fc4703d172fb51c47b037f5ce99b6632c5eb9ba607edd940338ac8d2143889fa
|
File details
Details for the file kcolours-1.0.3-py3-none-any.whl.
File metadata
- Download URL: kcolours-1.0.3-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5adf3f254cd709af86ef380a623f3f3d7f8ffc2b8264514328728f5f10ed6e76
|
|
| MD5 |
3ae4d2fb67580405daa49301318e01f1
|
|
| BLAKE2b-256 |
ac5e9b37aec130d9282750a8cb4da09d78d5546c04d07ee304bf6c6439d9b776
|