{ "info": { "author": "Seena Burns", "author_email": "hello@seenaburns.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], "description": "Chroma\n======\n\nChroma is a Python module for handling colors with ease.\n\nManipulating colors can quickly escalate into a tedious and complicated task, particularly when you become concerned with color systems beyond RGB. Chroma is here to provide a simple API to do the heavy lifting, so that you can stay focused on the important parts of your projects.\n\nBefore you ask, Chroma is BSD licensed, available on `Github `_ and PyPI.\n\nFeatures\n--------\n\n- Hex (#rrggbb, #rrggbbaa)\n- RGB\n- HLS\n- HSV\n- CMY, CMYK\n- Alpha\n- Color Blending: additive and subtractive mixing\n\nRoadmap\n-------\n\n- Coordinates (sRGB, YIQ, CIE, LAB and more)\n- Color harmonies: complementary, analogous, triad\n- Color difference\n- Color detection in images\n\nQuickstart\n==========\n\nGetting started with the power of Chroma is meant to be straightforward\n::\n\n import chroma\n\n # Create a color object\n color = chroma.Color('#00FF00')\n\n # Handling different color systems\n color.cmy = (0.3, 0.7, 0.8)\n color.rgb # (0.7, 0.3, 0.2)\n color.hls # (0.0333, 0.45, 0.5556)\n\n # Alpha\n color.alpha = 0.5\n color.hsv # (0.03333, 0.7143, 0.7, 0.5)\n\n # Color blending\n color + chroma.Color(\"#FF00FF\")\n # #FF4DFF\n\nAnd there you have it. The `documentation `_ describes Chroma's functionality and usage in detail.\n\nInstallation\n------------\n\nInstallation is as easy as\n::\n\n pip install chroma\n\nOr if you're an easy_install-er\n::\n\n easy_install chroma\n\nChroma does not yet support Python 3, but, if you're interested, contribute!\n\nContribute\n==========\n\nChroma is under active development and could use your support. Even bug reports, feature suggestions and feedback can help push Chroma forward in the right direction.\n\nChroma is hosted on `Github `_ and there are a number of ideas of where to start in the `issues section `_.\n\n\nHistory\n=======\n\n0.2.0 (2013-02-01)\n------------------\n\n(Breaks backwards compatibility)\n\n- CMY, CMYK Support\n- Color Blending (Additive and Subtractive Mixing)\n- Comparison (eq, ne)\n- Remove color coordinate properties (direct modification)\n\nMajor Bug Fixes\n\n- Hex rounding\n- Force alpha between 0 and 1\n\nOther\n\n- Hue (HLS, HSV) in degrees not percent of degrees\n- RGB256 alpha in range 0-1, not 0-255\n- Force Hex to output in uppercase\n- ValueError on bad input\n- Extensive documentation on Read the Docs\n\n0.1.3 (2013-01-01)\n------------------\n- Direct modification of color coordinates\n\n0.1.2 (2012-12-28)\n------------------\n- Remove HLS256, HSV256 (critical bug)\n- Alpha support\n- Add RGB, RGB256, HLS, HSV as formats for Color initialization\n- Bug fixes\n\n0.1.1 (2012-12-16)\n------------------\n- HLS, HSV Support\n- API changes (setter methods)\n- Bug Fixes\n- Update to README\n\n0.1.0 (2012-12-15)\n------------------\n- Initial Release\n- RGB and Hex support", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/seenaburns/Chroma", "keywords": "", "license": "Copyright (c) 2012, Seena Burns\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n * Neither the name of the nor the\n names of its contributors may be used to endorse or promote products\n derived from this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", "maintainer": "", "maintainer_email": "", "name": "Chroma", "package_url": "https://pypi.org/project/Chroma/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Chroma/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/seenaburns/Chroma" }, "release_url": "https://pypi.org/project/Chroma/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "Color handling made simple.", "version": "0.2.0" }, "last_serial": 750947, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2fd7574a0940202e6dbc6a9401de0480", "sha256": "906b4ed9c54ff878cc3b7e8fb3350581925331b5344d67b616cff13005f4926f" }, "downloads": -1, "filename": "Chroma-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2fd7574a0940202e6dbc6a9401de0480", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2599, "upload_time": "2012-12-16T04:51:25", "url": "https://files.pythonhosted.org/packages/32/21/39f037249b479d392e1a406273a665685940b0ac011ea0b3fa86f0a42c7f/Chroma-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "4f44a1726c01d9fd6681284c3bb9a305", "sha256": "1674ff27f876c83239dfe7a3bc64bc513b13b396a9d881ca2f124d649fdc3db5" }, "downloads": -1, "filename": "Chroma-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4f44a1726c01d9fd6681284c3bb9a305", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3352, "upload_time": "2012-12-16T20:18:00", "url": "https://files.pythonhosted.org/packages/8d/91/ed723c83df1ad28bf41ae20a53c8ddf8d407306b3369226acf5547ae6c28/Chroma-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "205817b222fc2d9779db65e42b047a7f", "sha256": "267e86ea2207ff6cac1a4e0408db0d069a8bd10388950846b17b5ad977ca2568" }, "downloads": -1, "filename": "Chroma-0.1.2.tar.gz", "has_sig": false, "md5_digest": "205817b222fc2d9779db65e42b047a7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4565, "upload_time": "2012-12-29T02:37:35", "url": "https://files.pythonhosted.org/packages/97/4f/7372817fa35f915be4e38e4ed8ade768ec699b84b31144a4c1be19d82e90/Chroma-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "e94b675a1a5b26eb2356297f200635e0", "sha256": "3bd56aed26f113158ef6d810abf4d49d5f39d5d13dd86c3f18c7017e0593b6e9" }, "downloads": -1, "filename": "Chroma-0.1.3.tar.gz", "has_sig": false, "md5_digest": "e94b675a1a5b26eb2356297f200635e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4983, "upload_time": "2013-01-01T18:52:31", "url": "https://files.pythonhosted.org/packages/36/bb/4f9523c45448c8839220f8221d0fbd550ee17d51fbaa52f634a60b2eab8d/Chroma-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "396cfbc3a908b42ae219871a2bc731ff", "sha256": "e265bcd503e2b35c4448b83257467166c252ecf3ab610492432780691cdfb286" }, "downloads": -1, "filename": "Chroma-0.2.0.tar.gz", "has_sig": false, "md5_digest": "396cfbc3a908b42ae219871a2bc731ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5790, "upload_time": "2013-02-01T20:43:22", "url": "https://files.pythonhosted.org/packages/9f/f0/e747fa78cd8ff7d23a598ab21b79988b759c2248500e0d31f21620cb75f3/Chroma-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "396cfbc3a908b42ae219871a2bc731ff", "sha256": "e265bcd503e2b35c4448b83257467166c252ecf3ab610492432780691cdfb286" }, "downloads": -1, "filename": "Chroma-0.2.0.tar.gz", "has_sig": false, "md5_digest": "396cfbc3a908b42ae219871a2bc731ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5790, "upload_time": "2013-02-01T20:43:22", "url": "https://files.pythonhosted.org/packages/9f/f0/e747fa78cd8ff7d23a598ab21b79988b759c2248500e0d31f21620cb75f3/Chroma-0.2.0.tar.gz" } ] }