{ "info": { "author": "Arthur Leonardo de Alencar Paulino", "author_email": "arthurleonardo.ap@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": ".. -*- mode: rst -*-\n\n|license|_ |pypi|_\n\n.. |license| image:: https://img.shields.io/badge/License-MIT-yellow.svg\n.. _license: https://opensource.org/licenses/MIT\n\n.. |pypi| image:: https://badge.fury.io/py/temprint.svg\n.. _pypi: https://pypi.org/project/temprint/\n\ntemprint\n========\n\n *temprint* is an acronym for *temporary print*\n\nThis package provides an easy way to output temporary prints intended to be\noverwritten by other messages. Use it if you want to avoid flooding your terminal\nwith old prints.\n\nUsage\n-----\n\n1. Install it with ``$ pip install temprint``\n\n2. Now you can use the ``temprint`` function, as in:\n\n.. code:: python\n\n from time import sleep\n from temprint import temprint\n\n msgs = [\n 'a short message',\n 'a slightly longer message',\n 'a tiny msg',\n 'a very big message. it is so big that it cannot fit in your ' +\n 'terminal width and temprint will behave as a regular print',\n 'now a short message again',\n 'and a shorter message'\n ]\n\n for msg in msgs:\n temprint(msg)\n sleep(2)\n\nYou should see the messages being printed and then erased iteratively.\n\nIf the message is longer than your terminal width, ``temprint`` will behave as\nthe regular built-in ``print`` function.\n\nThe ``temprint`` function can receive a series of objects to be printed and a\nseparator:\n\n>>> temprint('first', 'second', 'third', sep='/')\nfirst/second/third", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/arthurpaulino/temprint", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "temprint", "package_url": "https://pypi.org/project/temprint/", "platform": "", "project_url": "https://pypi.org/project/temprint/", "project_urls": { "Homepage": "https://github.com/arthurpaulino/temprint" }, "release_url": "https://pypi.org/project/temprint/1.0.3/", "requires_dist": null, "requires_python": "", "summary": "An easy way to print messages intended to be overwritten.", "version": "1.0.3" }, "last_serial": 5233615, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "e2f9ad6a540e70f967c98abff119e31b", "sha256": "52b4efa5f6dab4cc6b5636f1d8e51db355a06d7508e4c9990973842a96dc6e00" }, "downloads": -1, "filename": "temprint-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e2f9ad6a540e70f967c98abff119e31b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2656, "upload_time": "2019-05-06T15:15:33", "url": "https://files.pythonhosted.org/packages/43/79/6f06338afa255f1a3e31ab88407294d731f076428bc35ff96414a6796486/temprint-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "bfe79f208d27e35e6e53cde347e8f84c", "sha256": "2c349b951010705dc4019f6202b1a4846688f57f798878d9e9de98802d4b2ca1" }, "downloads": -1, "filename": "temprint-1.0.1.tar.gz", "has_sig": false, "md5_digest": "bfe79f208d27e35e6e53cde347e8f84c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2635, "upload_time": "2019-05-06T15:19:16", "url": "https://files.pythonhosted.org/packages/f6/e6/19630026f3ab3063e47234c9a89621d218b284bd8d3e9eaff4688b8d2ef6/temprint-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "3cdd10a11706403cb9424a2b16814331", "sha256": "3ef3b69b9fbfc2159c21dfd3dc42d1b179aa954cca03e4ccbc94b0690709424f" }, "downloads": -1, "filename": "temprint-1.0.2.tar.gz", "has_sig": false, "md5_digest": "3cdd10a11706403cb9424a2b16814331", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2633, "upload_time": "2019-05-06T15:23:38", "url": "https://files.pythonhosted.org/packages/d0/f6/82c17b1ed0f210c17bc8cf77c37dcb31413e439d0175a8fe5db827161cd7/temprint-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "ea576bae52dba3af4a92dc14c36f7492", "sha256": "119d7df90d04cbfe030c2d9de730f486a73b52caa727c7de70181cc3944f3c03" }, "downloads": -1, "filename": "temprint-1.0.3.tar.gz", "has_sig": false, "md5_digest": "ea576bae52dba3af4a92dc14c36f7492", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2637, "upload_time": "2019-05-06T15:32:41", "url": "https://files.pythonhosted.org/packages/b6/be/7bc01416ce47612069cbf5ff6f4d3c523ef8c4420a5893560e288f3981cf/temprint-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ea576bae52dba3af4a92dc14c36f7492", "sha256": "119d7df90d04cbfe030c2d9de730f486a73b52caa727c7de70181cc3944f3c03" }, "downloads": -1, "filename": "temprint-1.0.3.tar.gz", "has_sig": false, "md5_digest": "ea576bae52dba3af4a92dc14c36f7492", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2637, "upload_time": "2019-05-06T15:32:41", "url": "https://files.pythonhosted.org/packages/b6/be/7bc01416ce47612069cbf5ff6f4d3c523ef8c4420a5893560e288f3981cf/temprint-1.0.3.tar.gz" } ] }