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.0.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.0.tar.gz.
File metadata
- Download URL: kcolours-1.0.0.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 |
87d5fb7de138ee8a6406e0fb844e75d8e09877080a351956f2f160e9fa796c8f
|
|
| MD5 |
9374e70c7c4576fe51f58e98c0e58d4c
|
|
| BLAKE2b-256 |
906da24776224bb9803c0979e0f05428f7f2cc90a8fb45d86555820b6434335a
|
File details
Details for the file kcolours-1.0.0-py3-none-any.whl.
File metadata
- Download URL: kcolours-1.0.0-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 |
90dbbd1faf41d1c191d776b85fa86b4c1cc5dc770013cb42be99db06dc67daa9
|
|
| MD5 |
2425f0b9a80efb2ed1b170ea18967462
|
|
| BLAKE2b-256 |
724ffd63d7d567e877a1aaf312be440aedc976ae1056d55601b6ed438489f784
|