{ "info": { "author": "Nathaniel J. Smith", "author_email": "njs@pobox.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "colorspacious\n=============\n\n.. image:: https://travis-ci.org/njsmith/colorspacious.svg?branch=master\n :target: https://travis-ci.org/njsmith/colorspacious\n :alt: Automated test status\n\n.. image:: https://codecov.io/gh/njsmith/colorspacious/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/njsmith/colorspacious\n :alt: Test coverage\n\n.. image:: https://readthedocs.org/projects/colorspacious/badge/?version=latest\n :target: http://colorspacious.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://zenodo.org/badge/38525000.svg\n :target: https://zenodo.org/badge/latestdoi/38525000\n\nColorspacious is a powerful, accurate, and easy-to-use library for\nperforming colorspace conversions.\n\nIn addition to the most common standard colorspaces (sRGB, XYZ, xyY,\nCIELab, CIELCh), we also include: color vision deficiency (\"color\nblindness\") simulations using the approach of Machado et al (2009); a\ncomplete implementation of `CIECAM02\n`_; and the perceptually\nuniform CAM02-UCS / CAM02-LCD / CAM02-SCD spaces proposed by Luo et al\n(2006).\n\nTo get started, simply write::\n\n from colorspacious import cspace_convert\n\n Jp, ap, bp = cspace_convert([64, 128, 255], \"sRGB255\", \"CAM02-UCS\")\n\nThis converts an sRGB value (represented as integers between 0-255) to\nCAM02-UCS `J'a'b'` coordinates (assuming standard sRGB viewing\nconditions by default). This requires passing through 4 intermediate\ncolorspaces; ``cspace_convert`` automatically finds the optimal route\nand applies all conversions in sequence:\n\nThis function also of course accepts arbitrary NumPy arrays, so\nconverting a whole image is just as easy as converting a single value.\n\nDocumentation:\n http://colorspacious.readthedocs.org/\n\nInstallation:\n ``pip install colorspacious``\n\nDownloads:\n https://pypi.python.org/pypi/colorspacious/\n\nCode and bug tracker:\n https://github.com/njsmith/colorspacious\n\nContact:\n Nathaniel J. Smith \n\nDependencies:\n * Python 2.6+, or 3.3+\n * NumPy\n\nDeveloper dependencies (only needed for hacking on source):\n * nose: needed to run tests\n\nLicense:\n MIT, see LICENSE.txt for details.\n\nReferences for algorithms we implement:\n * Luo, M. R., Cui, G., & Li, C. (2006). Uniform colour spaces based on\n CIECAM02 colour appearance model. Color Research & Application, 31(4),\n 320\u2013330. doi:10.1002/col.20227\n * Machado, G. M., Oliveira, M. M., & Fernandes, L. A. (2009). A\n physiologically-based model for simulation of color vision\n deficiency. Visualization and Computer Graphics, IEEE Transactions on,\n 15(6), 1291\u20131298. http://www.inf.ufrgs.br/~oliveira/pubs_files/CVD_Simulation/CVD_Simulation.html\n\nOther Python packages with similar functionality that you might want\nto check out as well or instead:\n\n* ``colour``: http://colour-science.org/\n* ``colormath``: http://python-colormath.readthedocs.org/\n* ``ciecam02``: https://pypi.python.org/pypi/ciecam02/\n* ``ColorPy``: http://markkness.net/colorpy/ColorPy.html\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/njsmith/colorspacious", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "colorspacious", "package_url": "https://pypi.org/project/colorspacious/", "platform": "", "project_url": "https://pypi.org/project/colorspacious/", "project_urls": { "Homepage": "https://github.com/njsmith/colorspacious" }, "release_url": "https://pypi.org/project/colorspacious/1.1.2/", "requires_dist": [ "numpy" ], "requires_python": "", "summary": "A powerful, accurate, and easy-to-use Python library for doing colorspace conversions", "version": "1.1.2" }, "last_serial": 3744923, "releases": { "0.0.0-dev": [], "0.1.0": [ { "comment_text": "", "digests": { "md5": "abedf7c3774a86b2f8e7055ae99a765c", "sha256": "a4a9965d73ba07273268b5c104b5b14d13d0155a34f68d6f648d7fc1bbad59bc" }, "downloads": -1, "filename": "colorspacious-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "abedf7c3774a86b2f8e7055ae99a765c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 35182, "upload_time": "2015-07-08T05:57:01", "url": "https://files.pythonhosted.org/packages/ba/ed/14efa57e558d69f37d0e7d426bcffff7a2628b7a6b2fbc3ce6c9fd83c2fe/colorspacious-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6124bac92c630e7f225f943c81fe016e", "sha256": "e2fc6bbae0605d0c843648131bd93f11fb82961724c9301125f730b61b7f29af" }, "downloads": -1, "filename": "colorspacious-0.1.0.zip", "has_sig": false, "md5_digest": "6124bac92c630e7f225f943c81fe016e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 56106, "upload_time": "2015-07-08T05:56:57", "url": "https://files.pythonhosted.org/packages/a6/79/db7fd8b90bb20bbcd22df93efd554d491b573ac1b4d46f5d33bedc792f99/colorspacious-0.1.0.zip" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "f321c7f06dc66bd6e975f2e7f9c6a886", "sha256": "55d17d5d08081ca2fcfe6a98323c1ca7ccec32e05f160b26e615746d32798afd" }, "downloads": -1, "filename": "colorspacious-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f321c7f06dc66bd6e975f2e7f9c6a886", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 37444, "upload_time": "2015-11-03T07:27:11", "url": "https://files.pythonhosted.org/packages/c7/fc/8a470549f47af35dc97bce6b4ca21ecb490f4b0656ffbcdc56adccc7e0e8/colorspacious-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "437218f372a0a832a70299cc6397feb1", "sha256": "4952a629eb87059d7946c05bd4214413af26915e811c6f9ecb369c1775bb48de" }, "downloads": -1, "filename": "colorspacious-1.0.0.zip", "has_sig": false, "md5_digest": "437218f372a0a832a70299cc6397feb1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 696780, "upload_time": "2015-11-03T07:27:22", "url": "https://files.pythonhosted.org/packages/6e/60/23f080488d7567bfc9da937483f0615809ebea1bd04e975931e15b01ccdb/colorspacious-1.0.0.zip" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "746105abcaf3eea4520d614daefeec8d", "sha256": "fc5cb7a93a2d5c4b2b9d5cc2ccc7b62d85d63c55ccd2635447f9d534806bd03e" }, "downloads": -1, "filename": "colorspacious-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "746105abcaf3eea4520d614daefeec8d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 37643, "upload_time": "2016-11-10T02:42:35", "url": "https://files.pythonhosted.org/packages/06/86/1a81bead5516fdd92df61ed272e6ae3993d4d7f9e6c805df60c9cea28699/colorspacious-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6efe75b86ddfca6414d11dff890d87a4", "sha256": "7fd83cdb22224335c51c1f85e54a55f18568660452680d21f4b306d4454aec56" }, "downloads": -1, "filename": "colorspacious-1.1.0.zip", "has_sig": false, "md5_digest": "6efe75b86ddfca6414d11dff890d87a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 698745, "upload_time": "2016-11-10T02:42:41", "url": "https://files.pythonhosted.org/packages/1d/0e/2381e8dffccf15ee2124de8bc75ecf7669058914fdf8fc1981fcf7ecbb9f/colorspacious-1.1.0.zip" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "e113a25456887b2e9babc4196de083c4", "sha256": "33317422e348a7814cce43153d33e60e64d07b4f8ba8836f4442fe41a7e74789" }, "downloads": -1, "filename": "colorspacious-1.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e113a25456887b2e9babc4196de083c4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 37701, "upload_time": "2018-04-02T06:08:16", "url": "https://files.pythonhosted.org/packages/44/fc/6d36b0af326fc39af9426417baf3aa9e835ca393d23e847fa3df42101b59/colorspacious-1.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1e1dc73062a07ceaf34fa24e526c9238", "sha256": "d14411814d7c8b0519906ae777d40757a97d4729dd1efb56b2db4d05503cab90" }, "downloads": -1, "filename": "colorspacious-1.1.1.tar.gz", "has_sig": false, "md5_digest": "1e1dc73062a07ceaf34fa24e526c9238", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 688321, "upload_time": "2018-04-02T06:08:30", "url": "https://files.pythonhosted.org/packages/03/2f/44c1d198ebf050382eec726966bf35648ed7c44e0c77e468ecd0ad14f389/colorspacious-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "950cb853f03016cc311fa5f5d4e7447a", "sha256": "c78befa603cea5dccb332464e7dd29e96469eebf6cd5133029153d1e69e3fd6f" }, "downloads": -1, "filename": "colorspacious-1.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "950cb853f03016cc311fa5f5d4e7447a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 37735, "upload_time": "2018-04-08T04:27:22", "url": "https://files.pythonhosted.org/packages/ab/a1/318b9aeca7b9856410ededa4f52d6f82174d1a41e64bdd70d951e532675a/colorspacious-1.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f457686bd0afb8b0816b68cd903b8f9", "sha256": "5e9072e8cdca889dac445c35c9362a22ccf758e97b00b79ff0d5a7ba3e11b618" }, "downloads": -1, "filename": "colorspacious-1.1.2.tar.gz", "has_sig": false, "md5_digest": "2f457686bd0afb8b0816b68cd903b8f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 688573, "upload_time": "2018-04-08T04:27:30", "url": "https://files.pythonhosted.org/packages/75/e4/aa41ae14c5c061205715006c8834496d86ec7500f1edda5981f0f0190cc6/colorspacious-1.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "950cb853f03016cc311fa5f5d4e7447a", "sha256": "c78befa603cea5dccb332464e7dd29e96469eebf6cd5133029153d1e69e3fd6f" }, "downloads": -1, "filename": "colorspacious-1.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "950cb853f03016cc311fa5f5d4e7447a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 37735, "upload_time": "2018-04-08T04:27:22", "url": "https://files.pythonhosted.org/packages/ab/a1/318b9aeca7b9856410ededa4f52d6f82174d1a41e64bdd70d951e532675a/colorspacious-1.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f457686bd0afb8b0816b68cd903b8f9", "sha256": "5e9072e8cdca889dac445c35c9362a22ccf758e97b00b79ff0d5a7ba3e11b618" }, "downloads": -1, "filename": "colorspacious-1.1.2.tar.gz", "has_sig": false, "md5_digest": "2f457686bd0afb8b0816b68cd903b8f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 688573, "upload_time": "2018-04-08T04:27:30", "url": "https://files.pythonhosted.org/packages/75/e4/aa41ae14c5c061205715006c8834496d86ec7500f1edda5981f0f0190cc6/colorspacious-1.1.2.tar.gz" } ] }