picol
picol (pronounced "pickle") is a Python script to fetch the ten most used colors in an image and present the hex colors.
Screens
Short description
This script uses the colorgram library to extract the ten most used colors in an image. It then makes an image like shown in the screens above, or it can output text with links to www.hex-color.com.
How to use
Minimum to run the script is with path to an image as an argument: ./picol.py ~/Pictures/picture.jpg
usage: picol.py [-h] [-s] [-d] [-st] image
positional arguments:
image
optional arguments:
-h, --help show this help message and exit
-s, --save-image Save image to a given file
-d, --do-not-show Do not show the image that is made
-st, --save-text Save text to a given file
Dependencies:
- colorgram
- Pillow
Metadata
Release files for picol 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| picol-0.2.tar.gz | 1.0 MB | Without provenance | Details for picol-0.2.tar.gz |
Release files / picol-0.2.tar.gz
| Download URL | picol-0.2.tar.gz |
|---|---|
| Size | 1.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40e946f0fbbe09aec8443efb746caec73cf0e1a90df7914761986950957e58b2
|
|
BLAKE2b-256 checksum How to use checksums |
5dd74ae316c0688ec4efa503ba63a3994606d25938a7bac4d83c472b6e3a0f4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for picol 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.