{ "info": { "author": "Sean Wareham", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet", "Topic :: Terminals", "Topic :: Utilities" ], "description": "Timeleft\n========\n\n\nTimeleft is a simple command line utility for displaying the amount of time left in a download. In the command line, one simply needs to input the file size remaining and the average download speed expected. Timeleft will output the time remaining in units that are easy to read.\n\n\nUsage\n-----\n\n\n.. code-block:: bash\n\n $ timeleft 100MB 100MBps\n 1.0 second\n $ timeleft 100MB 100mbps\n 8.0 seconds\n $ timeleft 100MB 100mb/s\n 8.0 seconds\n $ timeleft 100MB 1kbps\n 9.0 days, 11.0 hours, 33.0 minutes, 20.0 seconds\n $ 3.4GB 3.4MBps\n 17.0 minutes, 4.0 seconds\n $ timeleft 1.5YB 10gbps\n 28561641.0 years, 172.0 days, 10.0 hours, 21.0 minutes, 39.25 seconds\n $ timeleft 100GB 100GBPS\n 1.0 second\n\nAs shown in the examples above, Timeleft can take a variety of inputs to produce a human-readable output.\nArguments can be input in any order: the only requirement for arguments is that one has file size units and the other has download speed units.\n\nFeatures\n--------\n\n- Both bits and bytes are supported as file and speed units are supported (don't let your ISP pull the wool over your eyes there). Accordingly, Timeleft is case-sensitive in that it distinguishes between B and b (i.e., 1MB = 8 Mb; all other characters *should* be case independent).\n\n- Speed units can take the format of B/s or Bps (e.g., both 1MBps and 1MB/s are accepted).\n\n- Sizes prefixes ranging from bits all the way up to yottabytes (2\\ :sup:`80` bytes) are currently supported.\n\n- The output format only shows the largest unit necessary to display the time remaining (i.e., \"0.0 minutes, 23.0 seconds\" will never occur).\n\n\n\nDependencies\n------------\n\nTimeleft is tested on Python 2.7 and 3.5 but should work on all versions 2.6 and above. There are no dependencies outside of the standard library. Testing (optionally included) is handled with Pytest.\n\n\nInstallation\n------------\n\n\nTo install Timeleft, simply:\n\n.. code-block:: bash\n\n $ pip install timeleft\n\nAlternatively, if you would like to install from source:\n\n.. code-block:: bash\n\n $ pip install git+https://github.com/swareham/timeleft.git\n\n\n\n\nPip will automatically add the \"timeleft\" executable to your path and you will be ready to go!\n\n\nCredits\n-------\n\n- Logic for powering Timeleft: Sean Wareham\n- Template for pip / setuptools support: Kenneth Reitz and all of the developers of requests at https://github.com/kennethreitz/requests\n\n0.0.2 (2016-04-23)\n++++++++++++++++++\n\n* First Public Release\n* Updated to use a module hierarchy\n* Added ability to install via pip\n* Updated error handling\n\n\n0.0.1 (2015-06-29)\n++++++++++++++++++\n\n* Original Implementation\n* Personal Utility\n* Unpublished", "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/srwareham/timeleft", "keywords": null, "license": "GPL 3.0", "maintainer": null, "maintainer_email": null, "name": "timeleft", "package_url": "https://pypi.org/project/timeleft/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/timeleft/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/srwareham/timeleft" }, "release_url": "https://pypi.org/project/timeleft/0.2/", "requires_dist": null, "requires_python": null, "summary": "A simple command line utility for displaying the amount of time left in a download.", "version": "0.2" }, "last_serial": 2081598, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "c4c51e53621e5df01024e0f1520e1c6f", "sha256": "1220b5784a05498e0e3cdca40478e3f52680fd10df4b1b542ea7a29d4361ec07" }, "downloads": -1, "filename": "timeleft-0.2.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "c4c51e53621e5df01024e0f1520e1c6f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7838, "upload_time": "2016-04-24T20:05:37", "url": "https://files.pythonhosted.org/packages/bd/d9/8c660f76bcca0ddbafae80f7a1445221bb0a47cca2deca0ff39fc38573f4/timeleft-0.2.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "fa9c9dd1fda2eff33d4a4ccb535b9055", "sha256": "ec9b4c68f7278da701d97b0ca2fa133cc9329940b913581f0de09e198d0437b8" }, "downloads": -1, "filename": "timeleft-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fa9c9dd1fda2eff33d4a4ccb535b9055", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8146, "upload_time": "2016-04-24T20:05:33", "url": "https://files.pythonhosted.org/packages/36/f3/e6d4678c157545028a50236bd28bdebe03b736d2c4426b60a9f6d22d2fc8/timeleft-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "070f8fbf13f2f529712cfb6aa32b42b7", "sha256": "463e03d00b883dba964544c5dd0a73fb5142b0217cf2e5141deb91eb36d29c59" }, "downloads": -1, "filename": "timeleft-0.2.tar.gz", "has_sig": false, "md5_digest": "070f8fbf13f2f529712cfb6aa32b42b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5788, "upload_time": "2016-04-24T20:05:42", "url": "https://files.pythonhosted.org/packages/e2/6a/b6c40894d8f63662105c1f863253ba7abcbcc678c624ed801d627ba6085c/timeleft-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c4c51e53621e5df01024e0f1520e1c6f", "sha256": "1220b5784a05498e0e3cdca40478e3f52680fd10df4b1b542ea7a29d4361ec07" }, "downloads": -1, "filename": "timeleft-0.2.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "c4c51e53621e5df01024e0f1520e1c6f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7838, "upload_time": "2016-04-24T20:05:37", "url": "https://files.pythonhosted.org/packages/bd/d9/8c660f76bcca0ddbafae80f7a1445221bb0a47cca2deca0ff39fc38573f4/timeleft-0.2.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "fa9c9dd1fda2eff33d4a4ccb535b9055", "sha256": "ec9b4c68f7278da701d97b0ca2fa133cc9329940b913581f0de09e198d0437b8" }, "downloads": -1, "filename": "timeleft-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fa9c9dd1fda2eff33d4a4ccb535b9055", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8146, "upload_time": "2016-04-24T20:05:33", "url": "https://files.pythonhosted.org/packages/36/f3/e6d4678c157545028a50236bd28bdebe03b736d2c4426b60a9f6d22d2fc8/timeleft-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "070f8fbf13f2f529712cfb6aa32b42b7", "sha256": "463e03d00b883dba964544c5dd0a73fb5142b0217cf2e5141deb91eb36d29c59" }, "downloads": -1, "filename": "timeleft-0.2.tar.gz", "has_sig": false, "md5_digest": "070f8fbf13f2f529712cfb6aa32b42b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5788, "upload_time": "2016-04-24T20:05:42", "url": "https://files.pythonhosted.org/packages/e2/6a/b6c40894d8f63662105c1f863253ba7abcbcc678c624ed801d627ba6085c/timeleft-0.2.tar.gz" } ] }