{ "info": { "author": "Xavier Coponet", "author_email": "xavier.coponet@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Terminals" ], "description": "Tool for coloring print output in terminal\n\nFork of https://pypi.org/project/termcolor/\n\n# Example\n\n```\nimport sys\nfrom pytermcolor import colored, cprint\n\ntext = colored('Hello, World!', 'red', attrs=['reverse', 'blink'])\nprint(text)\ncprint('Hello, World!', 'green', 'red')\n\nprint_red_on_cyan = lambda x: cprint(x, 'red', 'cyan')\nprint_red_on_cyan('Hello, World!')\nprint_red_on_cyan('Hello, Universe!')\n\nfor i in range(10):\n cprint(i, 'magenta', end=' ')\n\ncprint(\"Attention!\", 'red', attrs=['bold'], file=sys.stderr)\n```\n\n# Text Properties\n\n\n## Text colors:\n - grey\n - red\n - green\n - yellow\n - blue\n - magenta\n - cyan\n - white\n\n## Text background:\n\n - on_grey\n - on_red\n - on_green\n - on_yellow\n - on_blue\n - on_magenta\n - on_cyan\n - on_white\n\n## Attributes:\n\n - bold\n - dark\n - underline\n - blink\n - reverse\n - concealed\n\n# Terminal properties\n \nTerminal | bold |dark| underline| blink |reverse| concealed\n------------|---------|----|----------|----------|-------|---------\nxterm | yes |no |yes | bold|yes |yes\nlinux | yes |yes |bold | yes |yes |no\nrxvt | yes |no |yes |bold/black|yes |no\ndtterm | yes |yes |yes |reverse |yes |yes\nteraterm | reverse |no |yes |rev/red |yes |no\naixterm | normal |no |yes |no |yes |yes\nPuTTY | color |no |yes |no |yes |no\nWindows | no |no |no |no |no |no\nCygwin SSH | yes |no |color |color |color |yes\nMac Terminal| yes |no |yes |yes |yes |yes", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/xcoponet/pytermcolor", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pytermcolor", "package_url": "https://pypi.org/project/pytermcolor/", "platform": "", "project_url": "https://pypi.org/project/pytermcolor/", "project_urls": { "Homepage": "https://gitlab.com/xcoponet/pytermcolor" }, "release_url": "https://pypi.org/project/pytermcolor/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "Color formatting for output in terminal.", "version": "0.0.1" }, "last_serial": 5714443, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "f32c250fcf09f316f0b767a6ab1ab89a", "sha256": "c33976e6110d885fb009f9120b9091242a79252c7950fbf5f4227848f136e961" }, "downloads": -1, "filename": "pytermcolor-0.0.1.tar.gz", "has_sig": false, "md5_digest": "f32c250fcf09f316f0b767a6ab1ab89a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5190, "upload_time": "2019-08-22T10:32:40", "url": "https://files.pythonhosted.org/packages/c3/4e/e108a88e4f921255155bed660dddd68ff19e601e79ce9a1704f3fa019ccd/pytermcolor-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f32c250fcf09f316f0b767a6ab1ab89a", "sha256": "c33976e6110d885fb009f9120b9091242a79252c7950fbf5f4227848f136e961" }, "downloads": -1, "filename": "pytermcolor-0.0.1.tar.gz", "has_sig": false, "md5_digest": "f32c250fcf09f316f0b767a6ab1ab89a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5190, "upload_time": "2019-08-22T10:32:40", "url": "https://files.pythonhosted.org/packages/c3/4e/e108a88e4f921255155bed660dddd68ff19e601e79ce9a1704f3fa019ccd/pytermcolor-0.0.1.tar.gz" } ] }