cietools


Namecietools JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
SummaryA C-based python library to convert CIE formats/calculate Delta E
upload_time2025-02-16 14:30:12
maintainerNone
docs_urlNone
authorItzSkyReed
requires_python>=3.13
licenseCC-BY-4.0
keywords
VCS
bugtrack_url
requirements wheel setuptools
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # CIE Tools


## Convert Formats: RGB/XYZ/LAB/LCH
```py
import cietools

rgb = (150, 24, 51)
xyz = cietools.rgb2xyz(rgb)
lab = cietools.rgb2lab(rgb)
lch = cietools.rgb2lch(rgb)

...
lch_from_xyz = cietools.xyz2lch(xyz)
rgb_from_lch = cietools.lch2rgb(lch)
```

## Calculate Delta E 76/94/CMC/2000
```py
import cietools

lab1 = (43.54, 54.58, 22.87)
lab2 = (43.54, 60.58, 87.87)

delta_76 = cietools.deltaE76(lab1, lab2)
delta_94 = cietools.deltaE94(lab1, lab2)
delta_cmc = cietools.deltaE_CMC(lab1, lab2)
delta_2000 = cietools.deltaE2000(lab1, lab2)
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "cietools",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.13",
    "maintainer_email": null,
    "keywords": null,
    "author": "ItzSkyReed",
    "author_email": null,
    "download_url": null,
    "platform": null,
    "description": "# CIE Tools\n\n\n## Convert Formats: RGB/XYZ/LAB/LCH\n```py\nimport cietools\n\nrgb = (150, 24, 51)\nxyz = cietools.rgb2xyz(rgb)\nlab = cietools.rgb2lab(rgb)\nlch = cietools.rgb2lch(rgb)\n\n...\nlch_from_xyz = cietools.xyz2lch(xyz)\nrgb_from_lch = cietools.lch2rgb(lch)\n```\n\n## Calculate Delta E 76/94/CMC/2000\n```py\nimport cietools\n\nlab1 = (43.54, 54.58, 22.87)\nlab2 = (43.54, 60.58, 87.87)\n\ndelta_76 = cietools.deltaE76(lab1, lab2)\ndelta_94 = cietools.deltaE94(lab1, lab2)\ndelta_cmc = cietools.deltaE_CMC(lab1, lab2)\ndelta_2000 = cietools.deltaE2000(lab1, lab2)\n```\n",
    "bugtrack_url": null,
    "license": "CC-BY-4.0",
    "summary": "A C-based python library to convert CIE formats/calculate Delta E",
    "version": "0.2.0",
    "project_urls": {
        "Homepage": "https://github.com/ItzSkyReed/CIETools"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "df82010ff0d3664c82a44aef37922ae18fd01cd28231a9c3ffbde8aa9c50ba61",
                "md5": "a31f82c626042b973e54c1bb6b8e4b1a",
                "sha256": "6ff21fb97601c64b02ed6712595524c783038ccd5998517add4c0a6871c019d3"
            },
            "downloads": -1,
            "filename": "cietools-0.2.0-cp313-cp313-macosx_10_13_universal2.whl",
            "has_sig": false,
            "md5_digest": "a31f82c626042b973e54c1bb6b8e4b1a",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.13",
            "size": 26207,
            "upload_time": "2025-02-16T14:30:12",
            "upload_time_iso_8601": "2025-02-16T14:30:12.896195Z",
            "url": "https://files.pythonhosted.org/packages/df/82/010ff0d3664c82a44aef37922ae18fd01cd28231a9c3ffbde8aa9c50ba61/cietools-0.2.0-cp313-cp313-macosx_10_13_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6d75fd0ec51f7976326ba1e98163b49dad094a0ff05300cfdc65fc8a674cc180",
                "md5": "c684827ac8204409a608c427d711cc7c",
                "sha256": "145a4dc7f03f3ee2151cab79145c797b0670ef60e9e729e734fd137ef2498954"
            },
            "downloads": -1,
            "filename": "cietools-0.2.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "c684827ac8204409a608c427d711cc7c",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.13",
            "size": 42996,
            "upload_time": "2025-02-16T14:30:14",
            "upload_time_iso_8601": "2025-02-16T14:30:14.660914Z",
            "url": "https://files.pythonhosted.org/packages/6d/75/fd0ec51f7976326ba1e98163b49dad094a0ff05300cfdc65fc8a674cc180/cietools-0.2.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b064db6f309ddb747adeadc568494734b17529657d5ad459d9a22f20a1d75b8d",
                "md5": "4b07329371f058e5dfd9a9cf250344b3",
                "sha256": "a4e51e49d20f77af3fb5ff91d91e0aae1f1599ef602fd93df3039093c203f202"
            },
            "downloads": -1,
            "filename": "cietools-0.2.0-cp313-cp313-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "4b07329371f058e5dfd9a9cf250344b3",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.13",
            "size": 34665,
            "upload_time": "2025-02-16T14:30:15",
            "upload_time_iso_8601": "2025-02-16T14:30:15.696943Z",
            "url": "https://files.pythonhosted.org/packages/b0/64/db6f309ddb747adeadc568494734b17529657d5ad459d9a22f20a1d75b8d/cietools-0.2.0-cp313-cp313-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-16 14:30:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ItzSkyReed",
    "github_project": "CIETools",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "wheel",
            "specs": [
                [
                    ">=",
                    "0.45.1"
                ]
            ]
        },
        {
            "name": "setuptools",
            "specs": [
                [
                    ">=",
                    "75.8.0"
                ]
            ]
        }
    ],
    "lcname": "cietools"
}
        
Elapsed time: 1.30827s