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 .
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.1.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.1.tar.gz.
File metadata
- Download URL: kcolours-1.0.1.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 |
eee2842b2b95ed9017ce28c30b41a2e9116b79459c01c41d5263b30289f65263
|
|
| MD5 |
6427b1b801a7834be265b20e74ce3ce6
|
|
| BLAKE2b-256 |
11b4b1286cf722a0dc6fa89dc764498c0a7c492622b69119f574fc115808252c
|
File details
Details for the file kcolours-1.0.1-py3-none-any.whl.
File metadata
- Download URL: kcolours-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.4 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 |
825cd484efe1d109b9d0b568dc006edce2d819fc2af8ac229fabda08c2f288c5
|
|
| MD5 |
c2af953887671454932b628fa143309f
|
|
| BLAKE2b-256 |
01e0d1637964cbd73e434686bc38ec08dfb4e2a6f88ad73437ea336c79f80769
|