{ "info": { "author": "UNKNOWN", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "**Note**: This package has been built automatically by\n`zero2pypi `_.\nIf possible, you should use the zero-install feed instead:\nhttp://gfxmonk.net/dist/0install/python-termstyle.xml\n\n----------------\n\n=========\ntermstyle\n=========\n\ntermstyle is a simple python library for adding coloured output to\nterminal (console) programs. The definitions come from ECMA-048_, the\n\"Control Functions for Coded Character Sets\" standard.\n\nInstallation:\n-------------\n\nI thoroughly recommend using the zero-install feed (see the project homepage) to manage your dependencies if at all possible. zero-install_ provides a much better system than pip or easy_install, and works with absolutely any language and allows decentralised package management that requires no special privileges to install.\n\nExample Usage:\n--------------\n::\n\n\tfrom termstyle import *\n\tprint \"%s:%s\" % (red('Hey'), green('how are you?'))\n\tprint blue('How ', bold('you'), ' doin?')\n\nor, you can use a colour just as a string::\n\n\tprint \"%sBlue!%s\" % (blue, reset)\n\nStyles:\n-------\n::\n\n\treset or default (no colour / style)\n\ncolour::\n\n\tblack\n\tred\n\tgreen\n\tyellow\n\tblue\n\tmagenta\n\tcyan\n\twhite\n\nbackground colour::\n\n\tbg_black\n\tbg_red\n\tbg_green\n\tbg_yellow\n\tbg_blue\n\tbg_magenta\n\tbg_cyan\n\tbg_white\n\tbg_default\n\nIn terminals supporting transparency ``bg_default`` is often used to set\nthe background to transparent [#]_.\n\nweight::\n\n\tbold\n\tinverted\n\nstyle::\n\n\titalic\n\tunderscore\n\nControls:\n---------\n::\n\n\tauto() - sets colouring on only if sys.stdout is a terminal\n\tdisabe() - disable colours\n\tenable() - enable colours\n\n.. [#] Supporting terminals include rxvt-unicode_, and Eterm_.\n\n.. _ECMA-048: http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-048.pdf\n.. _rxvt-unicode: http://software.schmorp.de/\n.. _Eterm: http://www.eterm.org/\n.. _zero-install: http://0install.net/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/gfxmonk/termstyle", "keywords": "output colour console ansi", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "termstyle", "package_url": "https://pypi.org/project/termstyle/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/termstyle/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/gfxmonk/termstyle" }, "release_url": "https://pypi.org/project/termstyle/0.1.11/", "requires_dist": null, "requires_python": null, "summary": "console colouring for python", "version": "0.1.11" }, "last_serial": 2315275, "releases": { "0.0.0": [], "0.1.10": [], "0.1.11": [ { "comment_text": "", "digests": { "md5": "b6ec81a1c7ebe06f139ce3c294bd3ff8", "sha256": "ef74b83698ea014112040cf32b1a093c1ab3d91c4dd18ecc03ec178fd99c9f9f" }, "downloads": -1, "filename": "termstyle-0.1.11.tar.gz", "has_sig": false, "md5_digest": "b6ec81a1c7ebe06f139ce3c294bd3ff8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4580, "upload_time": "2016-08-31T09:02:12", "url": "https://files.pythonhosted.org/packages/65/53/4dfdfe12b499f375cc78caca9cf146c01e752bab7713de4510d35e3da306/termstyle-0.1.11.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b6ec81a1c7ebe06f139ce3c294bd3ff8", "sha256": "ef74b83698ea014112040cf32b1a093c1ab3d91c4dd18ecc03ec178fd99c9f9f" }, "downloads": -1, "filename": "termstyle-0.1.11.tar.gz", "has_sig": false, "md5_digest": "b6ec81a1c7ebe06f139ce3c294bd3ff8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4580, "upload_time": "2016-08-31T09:02:12", "url": "https://files.pythonhosted.org/packages/65/53/4dfdfe12b499f375cc78caca9cf146c01e752bab7713de4510d35e3da306/termstyle-0.1.11.tar.gz" } ] }