{ "info": { "author": "Friedrich Paetzke", "author_email": "f.paetzke@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: User Interfaces", "Topic :: Terminals", "Topic :: Utilities" ], "description": "consolor\n========\n\n.. image:: https://travis-ci.org/paetzke/consolor.png?branch=master\n :target: https://travis-ci.org/paetzke/consolor\n.. image:: https://coveralls.io/repos/paetzke/consolor/badge.png?branch=master\n :target: https://coveralls.io/r/paetzke/consolor?branch=master\n.. image:: https://pypip.in/v/consolor/badge.png\n :target: https://pypi.python.org/pypi/consolor/\n\nConsolor provides highlighting functions for terminals.\n\nIt comes with there 3 functions:\n\nget_line\n Returns a string with the given formatting.\n\nprint_line\n Prints a string with the given formatting.\n\nupdate_line\n Overwrites the output of the current line and prints s on the same line without a new line.\n\nAll these functions accept the following formatting parameters:\n\n* *bold*: bool, default False\n* *underline*: bool, default False\n* *blinking*: bool, default False\n* *color*: str, default None\n* *bgcolor*: str, default None\n\n.. image:: https://paetzke.me/static/images/consolor.png\n\nSome examples:\n\n.. code:: python\n\n import consolor\n \n consolor.print_line('light green', color=consolor.Color.LightGreen)\n consolor.print_line('underline', underline=True)\n consolor.print_line('green bg', bgcolor=consolor.BgColor.Green)\n consolor.update_line('0%')\n consolor.update_line('100%')\n print()\n\nFor more colors and background colors see *consolor.Color* and *consolor.BgColor*.\n\nYou can also use it in builtin *print()*:\n\n.. code:: python\n\n import consolor\n \n print(consolor.Color.Red, 'Red')\n print('Red two')\n print(consolor.Color.Reset, end='') # You have to handle resetting your self.\n print('Not Red')\n \n print(consolor.BgColor.Red, 'Red')\n print('Red two', consolor.BgColor.Reset)\n print('None')\n\nTo install ``consolor`` use pip.\n\n.. code:: python\n\n pip install consolor\n\nBugs and improvements\n---------------------\n\nFeel free to open tickets or send pull requests with improvements.\nThese `contributors `_ have done so.\n\nLinks\n-----\n\n* `http://ascii-table.com/ansi-escape-sequences-vt-100.php `_\n* `http://wiki.ubuntuusers.de/Bash/Prompt `_\n\nCopyright\n---------\n\nCopyright (c) 2013-2015 Friedrich P\u00e4tzke.\nSee `LICENSE `_ for further details.\n\nSee you. `Friedrich `_.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/paetzke/consolor", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "consolor", "package_url": "https://pypi.org/project/consolor/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/consolor/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/paetzke/consolor" }, "release_url": "https://pypi.org/project/consolor/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Consolor provides highlighting functions for terminals.", "version": "0.1.2" }, "last_serial": 1508963, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "ce55f6bee06a3d69efe8aca770658439", "sha256": "a7b2620b6bfd7b8d302fe763dd011c2cd7e93906e574ab95a48129b9f8499acd" }, "downloads": -1, "filename": "consolor-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ce55f6bee06a3d69efe8aca770658439", "packagetype": "bdist_wheel", "python_version": "3.3", "requires_python": null, "size": 4562, "upload_time": "2013-12-22T13:45:55", "url": "https://files.pythonhosted.org/packages/01/10/22799ca7aae25b9ed70e175f51940e8ef10d3d2f310565fb0043777068e3/consolor-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4985f2fb018d8b6c3e7a505e92676f61", "sha256": "7fe79731188556c507dc4d83b3a68fe8dc564fe0f60ff6c0b674bac315e7d2ee" }, "downloads": -1, "filename": "consolor-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4985f2fb018d8b6c3e7a505e92676f61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3557, "upload_time": "2013-12-22T13:45:52", "url": "https://files.pythonhosted.org/packages/29/24/99a543f24655f684a92b8861a74b89492a3be0d96376e7f9f02c497e28d7/consolor-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "9f671db03fa00795b3b262223f931e06", "sha256": "161f31eb5d17ddae5cb49086c36d6bbd0b52a1222c029459a583a550c9f043cc" }, "downloads": -1, "filename": "consolor-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9f671db03fa00795b3b262223f931e06", "packagetype": "bdist_wheel", "python_version": "3.3", "requires_python": null, "size": 4981, "upload_time": "2014-01-13T20:06:47", "url": "https://files.pythonhosted.org/packages/fc/b8/fe3a3effa2c3f9f22cc1ba0833f4d8873194677c75aa9226e68b0a93f3a8/consolor-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "219dc67365e9ea93b0ca97219e06c103", "sha256": "656e3881431b9e555e1193a6975f558207b34551851fcb982aace814d4f7c71f" }, "downloads": -1, "filename": "consolor-0.0.3.tar.gz", "has_sig": false, "md5_digest": "219dc67365e9ea93b0ca97219e06c103", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3699, "upload_time": "2014-01-13T20:06:44", "url": "https://files.pythonhosted.org/packages/cc/4e/ff66ff1d952db5265898df733031429385cace53a952d6c05879d62655c4/consolor-0.0.3.tar.gz" } ], "0.1.0": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "8af190a4e45b71baca0950de34ac49e5", "sha256": "3776450794f7c48159ae8f1838cb89930f34ac008b1a25be0e01cc775624a47c" }, "downloads": -1, "filename": "consolor-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8af190a4e45b71baca0950de34ac49e5", "packagetype": "bdist_wheel", "python_version": "3.3", "requires_python": null, "size": 5035, "upload_time": "2014-01-26T19:58:09", "url": "https://files.pythonhosted.org/packages/e3/cf/2179ae8dc5292139f1e92991bb74a7653598842f13d32edb654aff07bc92/consolor-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "212468e08d0f89648b4773e187f73536", "sha256": "9e2459f7288dffa2dd83e4aef88b9d5e28d095629975569751207ba6ae0aaca9" }, "downloads": -1, "filename": "consolor-0.1.1.tar.gz", "has_sig": false, "md5_digest": "212468e08d0f89648b4773e187f73536", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3717, "upload_time": "2014-01-26T19:58:04", "url": "https://files.pythonhosted.org/packages/1b/27/e072591234916d77f45882b955b987bf737242678f5b71c5a1192c84bcc6/consolor-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "8442a892dd11fd9c5128e1b9fe0a00b3", "sha256": "a90353c35aa0a915c017588edc4b2ebb7e6d21a68ea8b1a0166ec5c6fe05f7a5" }, "downloads": -1, "filename": "consolor-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8442a892dd11fd9c5128e1b9fe0a00b3", "packagetype": "bdist_wheel", "python_version": "3.3", "requires_python": null, "size": 5083, "upload_time": "2014-02-11T19:21:06", "url": "https://files.pythonhosted.org/packages/26/94/e6c185e9c381199b3965fb8c2491294acf8830e7096a7618494cd1f2a65e/consolor-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "de7b9824fcc08e3f9489dc27c083449b", "sha256": "dbfd70cf71bcf0788359ba06468bd1e663b3dbc1c5314d41e5016a14b9186485" }, "downloads": -1, "filename": "consolor-0.1.2.tar.gz", "has_sig": false, "md5_digest": "de7b9824fcc08e3f9489dc27c083449b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3802, "upload_time": "2014-02-11T19:21:03", "url": "https://files.pythonhosted.org/packages/94/1c/d005f288aae9c872541d9fb5ae21abdc3981d8e30f9827ab8517e9077c16/consolor-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8442a892dd11fd9c5128e1b9fe0a00b3", "sha256": "a90353c35aa0a915c017588edc4b2ebb7e6d21a68ea8b1a0166ec5c6fe05f7a5" }, "downloads": -1, "filename": "consolor-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8442a892dd11fd9c5128e1b9fe0a00b3", "packagetype": "bdist_wheel", "python_version": "3.3", "requires_python": null, "size": 5083, "upload_time": "2014-02-11T19:21:06", "url": "https://files.pythonhosted.org/packages/26/94/e6c185e9c381199b3965fb8c2491294acf8830e7096a7618494cd1f2a65e/consolor-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "de7b9824fcc08e3f9489dc27c083449b", "sha256": "dbfd70cf71bcf0788359ba06468bd1e663b3dbc1c5314d41e5016a14b9186485" }, "downloads": -1, "filename": "consolor-0.1.2.tar.gz", "has_sig": false, "md5_digest": "de7b9824fcc08e3f9489dc27c083449b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3802, "upload_time": "2014-02-11T19:21:03", "url": "https://files.pythonhosted.org/packages/94/1c/d005f288aae9c872541d9fb5ae21abdc3981d8e30f9827ab8517e9077c16/consolor-0.1.2.tar.gz" } ] }