{ "info": { "author": "Rafael Goncalves Martins", "author_email": "rafael@rafaelmartins.eng.br", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Module colors\n ~~~~~~~~~~~~~~\n \n Python module to ease the use of colors on programs that run on CLI.\n Works fine on Linux and any Operating System running BaSH or compatibles.\n If the shell's not color compatible, he'll get the raw string.\n The module have predefined some basic colors, but you can use any color,\n if you know the color code.\n\n\n Usage example\n -------------\n\n >>> from colors import Color\n >>> yellow = Color('1;33')\n >>> print yellow('Hello World')\n Hello World\n \n >>> from colors import red\n >>> print red('Ola Mundo')\n\n\n Working with this module as an optional dependency\n --------------------------------------------------\n\n If you don't want to force the users to have PyColors installed\n you can make the use of the colors module optional. For example: ::\n \n # trying to use colors\n try:\n from colors import light_blue, light_red, red, white\n except:\n light_blue = light_red = red = white = lambda(x): str(x)\n \n With this, if the user don't have the colors module, he'll get the\n raw strings normally.\n \n :copyright: 2009 Rafael Goncalves Martins.\n :license: BSD, see LICENSE for more details.", "description_content_type": null, "docs_url": "https://pythonhosted.org/pycolors/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://packages.python.org/pycolors/", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "pycolors", "package_url": "https://pypi.org/project/pycolors/", "platform": "any", "project_url": "https://pypi.org/project/pycolors/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://packages.python.org/pycolors/" }, "release_url": "https://pypi.org/project/pycolors/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Python module to ease the use of colors on programs that run on CLI", "version": "0.1.2" }, "last_serial": 797062, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "17d7974c6a52f2ef0bf39ceb03d01603", "sha256": "d599b6e9a50ba9d034a8740d25986554c001e29ce3ef5cd37e28a7d6467de496" }, "downloads": -1, "filename": "pycolors-0.1.tar.gz", "has_sig": false, "md5_digest": "17d7974c6a52f2ef0bf39ceb03d01603", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2608, "upload_time": "2009-09-26T05:07:33", "url": "https://files.pythonhosted.org/packages/f0/f6/2e15e50642d13de2d6ce4eda19c90f89dd9752914467f6be12391c33e72c/pycolors-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "2469e7080644244519d3ef190a6adaf1", "sha256": "ba20936ffd7da47573c5938c43a9cc377fe13eb0b8d38081aa35b8e476504c7c" }, "downloads": -1, "filename": "pycolors-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2469e7080644244519d3ef190a6adaf1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2630, "upload_time": "2009-09-26T16:51:43", "url": "https://files.pythonhosted.org/packages/80/18/3c1c758adc2b821cfed6c1d1be30342ee374f78580d87af9a44e6c2e8383/pycolors-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "a66ea36bd661a0d2de0b9c6d21fc5d36", "sha256": "0ebf2ee318316606489990ef801d7258f24135e786336aa5ad6520cf46bcaf0f" }, "downloads": -1, "filename": "pycolors-0.1.2-py2.6.egg", "has_sig": false, "md5_digest": "a66ea36bd661a0d2de0b9c6d21fc5d36", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 5264, "upload_time": "2009-11-14T01:10:30", "url": "https://files.pythonhosted.org/packages/26/f6/684719402c7661eb4bc8aebe46a52a7f244742dc19324bcc9f1fade9adc5/pycolors-0.1.2-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "05b1d736f19a4312940fefa27702a7eb", "sha256": "3d5dc8649127e9e70497cedf68ee9cdb765a8c0d86b019a798be19464524044a" }, "downloads": -1, "filename": "pycolors-0.1.2.tar.gz", "has_sig": false, "md5_digest": "05b1d736f19a4312940fefa27702a7eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7327, "upload_time": "2009-11-14T01:04:11", "url": "https://files.pythonhosted.org/packages/a6/7d/bd57a149c8914f9dc80d317852fa30da87f9e81f8d55b15de7358f46ae3b/pycolors-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a66ea36bd661a0d2de0b9c6d21fc5d36", "sha256": "0ebf2ee318316606489990ef801d7258f24135e786336aa5ad6520cf46bcaf0f" }, "downloads": -1, "filename": "pycolors-0.1.2-py2.6.egg", "has_sig": false, "md5_digest": "a66ea36bd661a0d2de0b9c6d21fc5d36", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 5264, "upload_time": "2009-11-14T01:10:30", "url": "https://files.pythonhosted.org/packages/26/f6/684719402c7661eb4bc8aebe46a52a7f244742dc19324bcc9f1fade9adc5/pycolors-0.1.2-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "05b1d736f19a4312940fefa27702a7eb", "sha256": "3d5dc8649127e9e70497cedf68ee9cdb765a8c0d86b019a798be19464524044a" }, "downloads": -1, "filename": "pycolors-0.1.2.tar.gz", "has_sig": false, "md5_digest": "05b1d736f19a4312940fefa27702a7eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7327, "upload_time": "2009-11-14T01:04:11", "url": "https://files.pythonhosted.org/packages/a6/7d/bd57a149c8914f9dc80d317852fa30da87f9e81f8d55b15de7358f46ae3b/pycolors-0.1.2.tar.gz" } ] }