{ "info": { "author": "Ethan Chan", "author_email": "metakirby5@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "========\n colorz\n========\n\n|Sample Usage|\n\nColor scheme generator.\n\nInstallation\n------------\n\n::\n\n pip install colorz\n\nor just move ``colorz.py`` to somewhere in your ``$PATH``.\nIf you do the latter, you must install the dependencies in the\nfollowing section manually.\n\nDependencies\n------------\n\n- Python (2 or 3)\n- Pillow\n- scipy\n\nUsage\n-----\n\n::\n\n usage: colorz [-h] [-n NUM_COLORS] [--minv MINV] [--maxv MAXV] [--bold BOLD]\n [--font-size FONT_SIZE] [--bg-color BG_COLOR] [--no-bg-img]\n [--no-preview]\n image\n\n A color scheme generator. Takes an image (local or online) and grabs the most\n dominant colors using kmeans. Also creates bold colors by adding value to the\n dominant colors. Finally, outputs the colors to stdout (one normal and one\n bold per line, space delimited) and generates an HTML preview of the color\n scheme.\n\n positional arguments:\n image the image file or url to generate from.\n\n optional arguments:\n -h, --help show this help message and exit\n -n NUM_COLORS number of colors to generate (excluding bold).\n Default: 6\n --minv MINV minimum value for the colors. Default: 170\n --maxv MAXV maximum value for the colors. Default: 200\n --bold BOLD how much value to add for bold colors. Default: 50\n --font-size FONT_SIZE\n what font size to use, in rem. Default: 1\n --bg-color BG_COLOR what background color to use, in hex format. Default:\n #272727\n --no-bg-img whether or not to use a background image in the\n preview. Default: background image on\n --no-preview whether or not to generate and show the preview.\n Default: preview on\n\nThanks to\n---------\n\n- http://charlesleifer.com/blog/using-python-and-k-means-to-find-the-dominant-colors-in-images/\n- https://gist.github.com/radiosilence/3946121\n\n.. |Sample Usage| image:: http://i.imgur.com/QVLSXqK.png\n :target: colorz.png\n :alt: Color preview.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/metakirby5/colorz", "keywords": "colorz color scheme theme generator", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "colorz", "package_url": "https://pypi.org/project/colorz/", "platform": "", "project_url": "https://pypi.org/project/colorz/", "project_urls": { "Homepage": "https://github.com/metakirby5/colorz" }, "release_url": "https://pypi.org/project/colorz/1.0.3/", "requires_dist": null, "requires_python": "", "summary": "Color scheme generator.", "version": "1.0.3" }, "last_serial": 3150781, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "d8943fc3f6255b2adf01609a680de412", "sha256": "8ea97ff89386d5b1d9a819af5fdf9d5c0c765bb8c72e7ec457de867709091133" }, "downloads": -1, "filename": "colorz-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d8943fc3f6255b2adf01609a680de412", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7091, "upload_time": "2016-09-04T21:37:34", "url": "https://files.pythonhosted.org/packages/72/5a/a831e9b30c93a5447ddc37716a9c09aa469bbc5377d8e6907e5bac4179f3/colorz-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "23b0fcb71916921b0932caa4ef6ab751", "sha256": "9cb6d6b0fec70dcc84ae8e422bad16746827618ddaaf6152bd57f3d0a9a50f55" }, "downloads": -1, "filename": "colorz-1.0.0.tar.gz", "has_sig": false, "md5_digest": "23b0fcb71916921b0932caa4ef6ab751", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4923, "upload_time": "2016-09-04T21:37:31", "url": "https://files.pythonhosted.org/packages/07/e2/2cff86bb0e62b23932b9f88a8db721b819d07319fc62d0d4615255170b79/colorz-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "57076f0b5d1ac96400d03656d992875b", "sha256": "5b319edb271446d8cf606cb9f9f10967f1cbd709f16127517bc275ef7b9918a9" }, "downloads": -1, "filename": "colorz-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "57076f0b5d1ac96400d03656d992875b", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7076, "upload_time": "2016-09-04T21:42:38", "url": "https://files.pythonhosted.org/packages/e5/0b/4605c94ed6d1cf5c2c2e1c4709516634a1936aff293dc0a6482eaae50871/colorz-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "41a7652a019b1f1ea39a21da23b9c046", "sha256": "22e1e41046170056af9c89a9f82ebc213c0188d883a77188cfd9ec6a43f75a7f" }, "downloads": -1, "filename": "colorz-1.0.1.tar.gz", "has_sig": false, "md5_digest": "41a7652a019b1f1ea39a21da23b9c046", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4918, "upload_time": "2016-09-04T21:42:36", "url": "https://files.pythonhosted.org/packages/ec/9a/3cddf3e6505065c889247608d66f39a7933a1e17f11b7fe380d67dc2022d/colorz-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "93ea93b99e89ecb9900b38ace3074e01", "sha256": "a6531311780951013747a577bc6cfd4e09a0f435c115734259ee40973088f5a2" }, "downloads": -1, "filename": "colorz-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "93ea93b99e89ecb9900b38ace3074e01", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7328, "upload_time": "2016-12-02T07:36:20", "url": "https://files.pythonhosted.org/packages/e9/91/14fcccc45cbccf2774fd244063eb2f7f5510a2770e092373e19860cc4a3b/colorz-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d9a9a3ff59a0865db90254153ba2a1b7", "sha256": "7ed705cb771aeecb860d0a102198d7168b36721081fa28295dfe9fd700400179" }, "downloads": -1, "filename": "colorz-1.0.2.tar.gz", "has_sig": false, "md5_digest": "d9a9a3ff59a0865db90254153ba2a1b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5137, "upload_time": "2016-12-02T07:36:17", "url": "https://files.pythonhosted.org/packages/21/5e/a4c971b251bbb31e9d37089ebb62d6d211d83db8bc45da7f4cb1a38bedaf/colorz-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "26f4190ba5fc3fd4b42d74ddda590b12", "sha256": "8e15fcaa4211f9674b8c2f5c69eeace60a5bbed1e21e67e786787a914d924d14" }, "downloads": -1, "filename": "colorz-1.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "26f4190ba5fc3fd4b42d74ddda590b12", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 7314, "upload_time": "2017-09-05T15:42:20", "url": "https://files.pythonhosted.org/packages/6b/38/1dcc0641bfbf8edf1d3310a879cde418ff8e86c13f121c8d018940a992aa/colorz-1.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "83c05a0d3a55c81c2901684df0dfac92", "sha256": "c04ff63896281f2ee1327bcdff2e76a339f70559abd8a25d28c0d1fb28480d3e" }, "downloads": -1, "filename": "colorz-1.0.3.tar.gz", "has_sig": false, "md5_digest": "83c05a0d3a55c81c2901684df0dfac92", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5109, "upload_time": "2017-09-05T15:42:18", "url": "https://files.pythonhosted.org/packages/96/9d/639c635019131a3ff7fc9265fd2b4afb718ac60720ea321946ad3869b2eb/colorz-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "26f4190ba5fc3fd4b42d74ddda590b12", "sha256": "8e15fcaa4211f9674b8c2f5c69eeace60a5bbed1e21e67e786787a914d924d14" }, "downloads": -1, "filename": "colorz-1.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "26f4190ba5fc3fd4b42d74ddda590b12", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 7314, "upload_time": "2017-09-05T15:42:20", "url": "https://files.pythonhosted.org/packages/6b/38/1dcc0641bfbf8edf1d3310a879cde418ff8e86c13f121c8d018940a992aa/colorz-1.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "83c05a0d3a55c81c2901684df0dfac92", "sha256": "c04ff63896281f2ee1327bcdff2e76a339f70559abd8a25d28c0d1fb28480d3e" }, "downloads": -1, "filename": "colorz-1.0.3.tar.gz", "has_sig": false, "md5_digest": "83c05a0d3a55c81c2901684df0dfac92", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5109, "upload_time": "2017-09-05T15:42:18", "url": "https://files.pythonhosted.org/packages/96/9d/639c635019131a3ff7fc9265fd2b4afb718ac60720ea321946ad3869b2eb/colorz-1.0.3.tar.gz" } ] }