{ "info": { "author": "Estevao Fonseca", "author_email": "estevaopfon@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "refreshit\n=========\nA print to always print in the same line, refreshing the content\n\nSetup\n-----\n\n.. code-block:: bash\n\n $ pip install refreshit\n\nCode sample\n-----------\n\nRefreshing some text\n\n.. code-block:: python\n\n from refreshit import uprint\n from time import sleep\n\n uprint(\"Beautiful is better than ugly.\")\n sleep(1)\n uprint(\"Explicit is better than implicit.\\n\")\n sleep(1)\n\nLoading state\n\n.. code-block:: python\n\n from refreshit import uprint\n from time import sleep\n\n load = [\"Loading\", \"Loading.\", \"Loading..\", \"Loading...\"]\n for i in range(4):\n for item in load:\n uprint(item)\n sleep(0.2)\n uprint(\"Complete\\n\")\n\n\nA progress bar\n\n.. code-block:: python\n\n from refreshit import uprint\n from time import sleep\n\n n = 20\n squares = [u\"\\u25A0\"*x+\" \"+\"{:.0f}\".format((x/(n-1))*100)+\"%\" for x in range(n)]\n for i in range(2):\n for item in squares:\n uprint(item)\n sleep(0.1)\n print()\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/estevaofon/refreshit", "keywords": "print,refreshit,terminal", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "refreshit", "package_url": "https://pypi.org/project/refreshit/", "platform": "", "project_url": "https://pypi.org/project/refreshit/", "project_urls": { "Homepage": "https://github.com/estevaofon/refreshit" }, "release_url": "https://pypi.org/project/refreshit/0.2/", "requires_dist": null, "requires_python": "", "summary": "A print to always print in the same line, refreshing the content", "version": "0.2" }, "last_serial": 3375937, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "c1a125e240f4536ffe109e8bb0782f10", "sha256": "dc36809961f3869325c2ec40b2d312582007d7d4bce8001226ef3b4bb4535244" }, "downloads": -1, "filename": "refreshit-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c1a125e240f4536ffe109e8bb0782f10", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3199, "upload_time": "2017-11-28T18:33:04", "url": "https://files.pythonhosted.org/packages/3c/f7/47824b981534b121cde067275e13ed9a75c6572be423e57eb50d144b6a1f/refreshit-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d8948e4f9f5d3771d9058a84278f4a1f", "sha256": "dba954b6acbd269f2ae30405fd254ee852bc8fe346f7db8614b887c7564d719b" }, "downloads": -1, "filename": "refreshit-0.1.tar.gz", "has_sig": false, "md5_digest": "d8948e4f9f5d3771d9058a84278f4a1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2681, "upload_time": "2017-11-28T18:33:05", "url": "https://files.pythonhosted.org/packages/44/2a/73d63f4ee3fe9f6fc3bef293a2c3cad19ac3765786cb139bd6b16e5701db/refreshit-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "b1d594b883d0a3aab4123be91df99507", "sha256": "0cff582b7edf8aeae873ff883cf631fae14ea90cc3c8df306b41095c78098392" }, "downloads": -1, "filename": "refreshit-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b1d594b883d0a3aab4123be91df99507", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3561, "upload_time": "2017-11-30T01:38:43", "url": "https://files.pythonhosted.org/packages/93/31/efd864b27134c63b54adc12f8ad3223edb5477f46f00f684802c02b92103/refreshit-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6a70cd0488dd9112dfe1b517db833ede", "sha256": "aa0010e393ce67c365356d82c1abd6f2ef7bcf89651d6960b7c82b0c4ab4a338" }, "downloads": -1, "filename": "refreshit-0.2.tar.gz", "has_sig": false, "md5_digest": "6a70cd0488dd9112dfe1b517db833ede", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2996, "upload_time": "2017-11-30T01:38:45", "url": "https://files.pythonhosted.org/packages/cd/f1/57f2dc62907747825b00507594e9700a470233fd8a30f3a0462eb8c1f6fc/refreshit-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b1d594b883d0a3aab4123be91df99507", "sha256": "0cff582b7edf8aeae873ff883cf631fae14ea90cc3c8df306b41095c78098392" }, "downloads": -1, "filename": "refreshit-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b1d594b883d0a3aab4123be91df99507", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3561, "upload_time": "2017-11-30T01:38:43", "url": "https://files.pythonhosted.org/packages/93/31/efd864b27134c63b54adc12f8ad3223edb5477f46f00f684802c02b92103/refreshit-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6a70cd0488dd9112dfe1b517db833ede", "sha256": "aa0010e393ce67c365356d82c1abd6f2ef7bcf89651d6960b7c82b0c4ab4a338" }, "downloads": -1, "filename": "refreshit-0.2.tar.gz", "has_sig": false, "md5_digest": "6a70cd0488dd9112dfe1b517db833ede", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2996, "upload_time": "2017-11-30T01:38:45", "url": "https://files.pythonhosted.org/packages/cd/f1/57f2dc62907747825b00507594e9700a470233fd8a30f3a0462eb8c1f6fc/refreshit-0.2.tar.gz" } ] }