{ "info": { "author": "Heitor Polidoro", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Colors [![Latest](https://img.shields.io/github/release/heitorpolidoro/colors.svg?label=latest)](https://github.com/heitorpolidoro/colors/releases/latest)\nSet of constants to simplify print with colors\n\n#### How to use:\n```\nfrom colors import *\nprint(Red, 'Error')\n```\nError\n\nThe package creates a wrapper in the default `print` to remove the color \non every print. So you don't have to worry to put the `Color_Off`. \n```\nprint('This is ', Green, 'Green.')\nprint('This is not.')\n```\nThis is Green.
\nThis is not.\n\nUnless you really wanted to\n```\nprint(Blue, 'Color on', Color_Off, ' Color off')\n```\nColor on Color off\n\n**SIDE EFFECTS**\n\nThe wrapper removes single spaces strings (`\" \"`) so this:\n```\nprint('Hello', 'World')\n```\nWill print: `HelloWorld` instead of `Hello World`.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/heitorpolidoro/colors", "keywords": "", "license": "unlicense", "maintainer": "", "maintainer_email": "", "name": "polidoro-py-colors", "package_url": "https://pypi.org/project/polidoro-py-colors/", "platform": "", "project_url": "https://pypi.org/project/polidoro-py-colors/", "project_urls": { "Homepage": "https://github.com/heitorpolidoro/colors" }, "release_url": "https://pypi.org/project/polidoro-py-colors/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Set of constants to simplify print with colors.", "version": "1.0.0" }, "last_serial": 5844038, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "6421f71ce6037d71018ac93bbbcc9d52", "sha256": "5b68590091ab6907b7b5b9ffb943d06ba37263d42f767ccc76e8a4b385a9ba2f" }, "downloads": -1, "filename": "polidoro_py_colors-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "6421f71ce6037d71018ac93bbbcc9d52", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3993, "upload_time": "2019-09-17T20:54:14", "url": "https://files.pythonhosted.org/packages/ad/40/c45a42745627a78d75a65dbdba79c2fdac597391a7f52295b2107af8ef15/polidoro_py_colors-1.0.0-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6421f71ce6037d71018ac93bbbcc9d52", "sha256": "5b68590091ab6907b7b5b9ffb943d06ba37263d42f767ccc76e8a4b385a9ba2f" }, "downloads": -1, "filename": "polidoro_py_colors-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "6421f71ce6037d71018ac93bbbcc9d52", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3993, "upload_time": "2019-09-17T20:54:14", "url": "https://files.pythonhosted.org/packages/ad/40/c45a42745627a78d75a65dbdba79c2fdac597391a7f52295b2107af8ef15/polidoro_py_colors-1.0.0-py3-none-any.whl" } ] }