{ "info": { "author": "Kenneth Reitz", "author_email": "me@kennethreitz.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "\nCrayons: Text UI colors for Python.\n===================================\n\n.. image:: https://img.shields.io/pypi/v/crayons.svg\n :target: https://pypi.python.org/pypi/crayons\n\n.. image:: https://travis-ci.com/MasterOdin/crayons.svg?branch=master\n :target: https://travis-ci.com/MasterOdin/crayons\n\n.. image:: https://img.shields.io/pypi/l/crayons.svg\n :target: https://pypi.python.org/pypi/crayons\n\n.. image:: https://img.shields.io/pypi/wheel/crayons.svg\n :target: https://pypi.python.org/pypi/crayons\n\n.. image:: https://img.shields.io/pypi/pyversions/crayons.svg\n :target: https://pypi.python.org/pypi/crayons\n\n\nThis module is really simple, it gives you colored strings for terminal\nusage. Included colors are ``red``, ``green``, ``yellow``, ``blue``, ``black``, ``magenta``, ``cyan``, ``white``, and ``normal`` ( as well as ``clean`` and ``disable``).\n\n**Crayons** is nice because it automatically wraps a given string in both the foreground color, as well as returning to the original state after the string is complete. Most terminal color libraries make you manage this yourself.\n\n\n.. image:: https://d3vv6lp55qjaqc.cloudfront.net/items/3q0I293q1z293R3a3a3n/Screen%20Shot%202017-01-23%20at%206.00.02%20PM.png?X-CloudApp-Visitor-Id=2577\n\n\nArguments include ``always=True`` and ``bold=True``.\n\nFeatures\n--------\n\n- If you call ``disable()``, all future calls to colors will be ignored.\n- If you call ``normal()``, color is reset to default foreground color\n- If the current process is not in a TTY (e.g. being piped), no colors will be displayed.\n- Length of ColoredStrings can be properly calculated.\n- Powered by colorama.\n\nUsage is simple\n---------------\n\n::\n\n # red is red, white is white.\n >>> print('{} white'.format(crayons.red('red')))\n red white\n\nThat's it!\n\nInstallation\n------------\n\n::\n\n $ pip install crayons\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/MasterOdin/crayons", "keywords": "", "license": "MIT", "maintainer": "Matthew Peveler", "maintainer_email": "matt.peveler@gmail.com", "name": "crayons", "package_url": "https://pypi.org/project/crayons/", "platform": "", "project_url": "https://pypi.org/project/crayons/", "project_urls": { "Homepage": "https://github.com/MasterOdin/crayons" }, "release_url": "https://pypi.org/project/crayons/0.3.0/", "requires_dist": [ "colorama" ], "requires_python": "", "summary": "TextUI colors for Python.", "version": "0.3.0" }, "last_serial": 5951422, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b09c5996029cbcc03f4f6f7fcedde0fc", "sha256": "b699a224b9c188c31150f6bd92bee63a19625797142f9526e7bcf4a3e38adc33" }, "downloads": -1, "filename": "crayons-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "b09c5996029cbcc03f4f6f7fcedde0fc", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 3851, "upload_time": "2017-01-20T00:34:13", "url": "https://files.pythonhosted.org/packages/e4/1c/9aa8e4876ac1ede96ae6f7e245ab7dfc2cc00ccc609d279dd7f60d992a55/crayons-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7f937eeb6490bc55f5ed943d996a3f06", "sha256": "a9daffdd5d68a9d12a4fdad51ffe96bc923344b2717124b692f43bcbe94c743d" }, "downloads": -1, "filename": "crayons-0.1.0.tar.gz", "has_sig": false, "md5_digest": "7f937eeb6490bc55f5ed943d996a3f06", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2743, "upload_time": "2017-01-20T00:34:12", "url": "https://files.pythonhosted.org/packages/f4/62/9769587baf2077383159de26759adbea3c076ac44f0f4a27022b043e36ab/crayons-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "fed724f33d9c50c2511e228eeed173eb", "sha256": "80d17593b3b894fb578dd56df8de548791b48ecd1c0cfebe3ae7645ef9ec5c16" }, "downloads": -1, "filename": "crayons-0.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "fed724f33d9c50c2511e228eeed173eb", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4052, "upload_time": "2017-01-20T00:36:34", "url": "https://files.pythonhosted.org/packages/b6/82/eeaea08fc3d696ea78e6b635f54536b2b3c903da55a5418c606b2d9dec3a/crayons-0.1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a34d0ab35a8a41a0cf15d6d68e0ce21b", "sha256": "2e4a85425d11ff8449f39416fd4e2e6ace312a813c7a57a45d4a3e4d51e0ef09" }, "downloads": -1, "filename": "crayons-0.1.1.tar.gz", "has_sig": false, "md5_digest": "a34d0ab35a8a41a0cf15d6d68e0ce21b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2855, "upload_time": "2017-01-20T00:36:32", "url": "https://files.pythonhosted.org/packages/ce/b9/5aa996035134c1fa51bd8c1e06ac80defb45fdcf3a19e745031ed4d0cf6f/crayons-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "af7aa9a4b3f365ed0b6ba853b0c8f2c9", "sha256": "6f51241d0c4faec1c04c1c0ac6a68f1d66a4655476ce1570b3f37e5166a599cc" }, "downloads": -1, "filename": "crayons-0.1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "af7aa9a4b3f365ed0b6ba853b0c8f2c9", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4455, "upload_time": "2017-01-24T02:41:21", "url": "https://files.pythonhosted.org/packages/fb/96/5f68c8572c5af02b12c5244dd511e7120aeb523ce03285ffa29a4b3cda39/crayons-0.1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "29140ff72efcd6e7e6f2bf7ae86e880b", "sha256": "5e17691605e564d63482067eb6327d01a584bbaf870beffd4456a3391bd8809d" }, "downloads": -1, "filename": "crayons-0.1.2.tar.gz", "has_sig": false, "md5_digest": "29140ff72efcd6e7e6f2bf7ae86e880b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3168, "upload_time": "2017-01-24T02:41:20", "url": "https://files.pythonhosted.org/packages/14/fa/635fdd47686a0f29692d927333fcf39e0279fc39c81704866c97adc34053/crayons-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "116d1d095e945d8454383604adee5c0b", "sha256": "8edcadb7f197e25f2cc094aec5bf7f1b6001d3f76c82d56f8d46f6fb1405554f" }, "downloads": -1, "filename": "crayons-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "116d1d095e945d8454383604adee5c0b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4279, "upload_time": "2019-02-21T13:36:31", "url": "https://files.pythonhosted.org/packages/b6/ee/1a4f411c66f2788baf82a91b6f726473d9f4075ec7b86c860ba15294ce90/crayons-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aca6bc2328aad8d5077a1a7d4c214501", "sha256": "41f0843815a8e3ac6fb445b7970d8b9c766e6f164092d84e7ea809b4c91418ec" }, "downloads": -1, "filename": "crayons-0.2.0.tar.gz", "has_sig": false, "md5_digest": "aca6bc2328aad8d5077a1a7d4c214501", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3526, "upload_time": "2019-02-21T13:36:32", "url": "https://files.pythonhosted.org/packages/db/54/a02e9e743dc2445979f2a2d77e589e4fc3d191a53d5c79082695def71bac/crayons-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "085d83ef2703388f96671a83012168b3", "sha256": "8c9e4a3a607bc10e9a9140d496ecd16c6805088dd16c852c378f1f1d5db7aeb6" }, "downloads": -1, "filename": "crayons-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "085d83ef2703388f96671a83012168b3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4565, "upload_time": "2019-10-09T18:50:34", "url": "https://files.pythonhosted.org/packages/f8/64/ab71c69db049a5f404f1f2c7627578f4b59aca55e6ad9d939721ce6466dd/crayons-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9c1f6e39178a91f8f079961075cfa166", "sha256": "50e5fa729d313e2c607ae8bf7b53bb487652e10bd8e7a1e08c4bc8bf62755ffc" }, "downloads": -1, "filename": "crayons-0.3.0.tar.gz", "has_sig": false, "md5_digest": "9c1f6e39178a91f8f079961075cfa166", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3857, "upload_time": "2019-10-09T18:50:36", "url": "https://files.pythonhosted.org/packages/ec/c9/8ade2831bfa5448f7e5b42f417bffe1269423893b435af556eb582356187/crayons-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "085d83ef2703388f96671a83012168b3", "sha256": "8c9e4a3a607bc10e9a9140d496ecd16c6805088dd16c852c378f1f1d5db7aeb6" }, "downloads": -1, "filename": "crayons-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "085d83ef2703388f96671a83012168b3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4565, "upload_time": "2019-10-09T18:50:34", "url": "https://files.pythonhosted.org/packages/f8/64/ab71c69db049a5f404f1f2c7627578f4b59aca55e6ad9d939721ce6466dd/crayons-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9c1f6e39178a91f8f079961075cfa166", "sha256": "50e5fa729d313e2c607ae8bf7b53bb487652e10bd8e7a1e08c4bc8bf62755ffc" }, "downloads": -1, "filename": "crayons-0.3.0.tar.gz", "has_sig": false, "md5_digest": "9c1f6e39178a91f8f079961075cfa166", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3857, "upload_time": "2019-10-09T18:50:36", "url": "https://files.pythonhosted.org/packages/ec/c9/8ade2831bfa5448f7e5b42f417bffe1269423893b435af556eb582356187/crayons-0.3.0.tar.gz" } ] }