deltae2000 is an implementation of the CIEDE2000 algorithm to calculate the perceptual distance between two colours. This is implemented in pure Python with the intention to run optimal on the PyPy interpreter.
See the Wikipedia article for more information on the distance calculation.
Example usage:
from deltae2000 import delta_e_cie2000
from colormath.color_conversions import convert_color
from colormath.color_objects import sRGBColor, LabColor
delta_e_cie2000(
convert_color(sRGBColor(255, 0, 0, is_upscaled=True), LabColor),
convert_color(sRGBColor(125, 255, 125, is_upscaled=True), LabColor)
)
This is based on the implementation from colormath which uses Numpy in the implementation. Use the colormath version if you are using the CPython interpreter.
Release files for deltae2000 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| deltae2000-1.0.0.tar.gz | 1.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| deltae2000-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.2 kB
Release files / deltae2000-1.0.0.tar.gz
| Download URL | deltae2000-1.0.0.tar.gz |
|---|---|
| Size | 1.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d76cd26409f46d432112af69c2b34a15ee2087e7d746328ed41f12400097041
|
|
BLAKE2b-256 checksum How to use checksums |
9bce40d4aa8f62827d42cc05ef16b00c8486ca93eb96a4751e41559912b410f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|
Release files / deltae2000-1.0.0-py3-none-any.whl
| Download URL | deltae2000-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0563f1b6055f02c1f8792ad942d197e466f3100381c0a36f11cde98e32223f5
|
|
BLAKE2b-256 checksum How to use checksums |
fcf9ea6453bd01cda1c0315361de88740cce92a6fc291d82bf1bb6023bd76b65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|