{ "info": { "author": "David N. Mashburn", "author_email": "david.n.mashburn@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Human-readable time delta formatter with relative precision (\"ndigits\")\nGives human-readable output for basic timing benchmarks\nReturns a string formatted in: \"Y years, W weeks, D days, HH:MM:SSs\"\n (or ms, us, ns, ps, fs for very small times)\nAutomatically reduces fields which are larger than the time passed or\n smaller than the requested precision.\n\nExamples with ndigits=4:\n format_seconds(0.00096685) -> \"966.9us\"\n format_seconds(0.00387514) -> \"3.875ms\"\n format_seconds(0.01553157) -> \"15.53ms\"\n format_seconds(0.06225062) -> \"62.25ms\"\n format_seconds(0.24950074) -> \"0.2495s\"\n format_seconds(1.0 ) -> \"1s\"\n format_seconds(4.008004 ) -> \"4.008s\"\n format_seconds(16.0640960) -> \"16.06s\"\n format_seconds(64.3849612) -> \"1:04.4s\"\n format_seconds(258.055182) -> \"4:18.1s\"\n format_seconds(1034.28620) -> \"17:14s\"\n format_seconds(4145.42323) -> \"1:09:05s\"\n format_seconds(16614.8729) -> \"4:36:55s\"\n format_seconds(66592.4771) -> \"18:29m\"\n format_seconds(266902.914) -> \"3 days, 02:08m\"\n format_seconds(1069747.94) -> \"1 week, 5 days, 9h\"\n format_seconds(4287554.06) -> \"7 weeks, 0 days, 14h\"\n format_seconds(17184533.8) -> \"28 weeks, 2 days\"\n format_seconds(68875680.3) -> \"2 years, 9 weeks, 4 days\"\n format_seconds(276054002.) -> \"8 years, 39 weeks, 2 days\"", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/human_time_formatter/", "keywords": "", "license": "LICENSE.txt", "maintainer": "", "maintainer_email": "", "name": "human_time_formatter", "package_url": "https://pypi.org/project/human_time_formatter/", "platform": "", "project_url": "https://pypi.org/project/human_time_formatter/", "project_urls": { "Homepage": "http://pypi.python.org/pypi/human_time_formatter/" }, "release_url": "https://pypi.org/project/human_time_formatter/1.0.0.6/", "requires_dist": null, "requires_python": "", "summary": "Human-readable time delta formatter with relative precision (\"ndigits\")", "version": "1.0.0.6" }, "last_serial": 3730894, "releases": { "1.0.0.0": [ { "comment_text": "", "digests": { "md5": "5ca3c5dcbe837ec4e834610d07c48cb7", "sha256": "2f7fc541316fcef56d5bba39dce4239a98026551a6bf6040c77879acf90e871d" }, "downloads": -1, "filename": "human_time_formatter-1.0.0.0.tar.gz", "has_sig": false, "md5_digest": "5ca3c5dcbe837ec4e834610d07c48cb7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3543, "upload_time": "2016-12-01T21:51:44", "url": "https://files.pythonhosted.org/packages/e3/be/2c6472cfbc3dc45b5935e5fb4747903410509116e0a9a8f53a3daa035754/human_time_formatter-1.0.0.0.tar.gz" } ], "1.0.0.1": [ { "comment_text": "", "digests": { "md5": "ade7c8508cd90f0d3396a32e1a19c0cb", "sha256": "2a1949fcb2b21d16bd73084e962fdfa658f6a6c7c5d25e5aa6a75972aeb84995" }, "downloads": -1, "filename": "human_time_formatter-1.0.0.1.tar.gz", "has_sig": false, "md5_digest": "ade7c8508cd90f0d3396a32e1a19c0cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3533, "upload_time": "2016-12-01T21:58:59", "url": "https://files.pythonhosted.org/packages/ad/d2/bce0f84be29318c8feb8a3998375f3d37264f81be1647a0286dd8e1fdfc9/human_time_formatter-1.0.0.1.tar.gz" } ], "1.0.0.2": [ { "comment_text": "", "digests": { "md5": "557e4dd313a97de084ed2da12cb75d57", "sha256": "d8cc281a9b9a414463a17bd026e16a0441b27d6cdc1f2a45a7340a46da9ee0c4" }, "downloads": -1, "filename": "human_time_formatter-1.0.0.2.tar.gz", "has_sig": false, "md5_digest": "557e4dd313a97de084ed2da12cb75d57", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3534, "upload_time": "2016-12-01T22:02:53", "url": "https://files.pythonhosted.org/packages/67/a4/e30e8cd5e95c8f1defb72ae321fa1a69fd9aa47dfbb6a2edbf9970aa090e/human_time_formatter-1.0.0.2.tar.gz" } ], "1.0.0.3": [ { "comment_text": "", "digests": { "md5": "e06406888e06cd6e585ffcde1f6ce45d", "sha256": "eba509abc31249583950357f575ece279212ce62a1322e3a6a71f48df12b4d77" }, "downloads": -1, "filename": "human_time_formatter-1.0.0.3.tar.gz", "has_sig": false, "md5_digest": "e06406888e06cd6e585ffcde1f6ce45d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3532, "upload_time": "2016-12-01T22:04:22", "url": "https://files.pythonhosted.org/packages/09/0b/61a79c05188e63e40fb70aa2485859f09d289ec7ad82b37bf1e80771c1f8/human_time_formatter-1.0.0.3.tar.gz" } ], "1.0.0.4": [ { "comment_text": "", "digests": { "md5": "b5a550c2c4c5ead26b257f05abf1cc53", "sha256": "19f935a203ad04d41e7fbf40af615f6e976ab17bc0bc65b200e128f374821ee5" }, "downloads": -1, "filename": "human_time_formatter-1.0.0.4.tar.gz", "has_sig": false, "md5_digest": "b5a550c2c4c5ead26b257f05abf1cc53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3531, "upload_time": "2016-12-01T22:07:58", "url": "https://files.pythonhosted.org/packages/7c/eb/4cd8b2cf605c8ae41881f6d793708ddb3c87ee0d38dcc1b01c30b8e4022e/human_time_formatter-1.0.0.4.tar.gz" } ], "1.0.0.5": [ { "comment_text": "", "digests": { "md5": "2fd50924e79277accb109fa23a6af63d", "sha256": "7842d83705a15cef8d188c30f209f2b2dbdb4c43066b2ff9234a5a686211c9c2" }, "downloads": -1, "filename": "human_time_formatter-1.0.0.5.tar.gz", "has_sig": false, "md5_digest": "2fd50924e79277accb109fa23a6af63d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3529, "upload_time": "2016-12-01T22:16:51", "url": "https://files.pythonhosted.org/packages/81/f5/62892b3d68c4aed29376b6dbe969e2dcb26eded50c2892defb4dccd61fd2/human_time_formatter-1.0.0.5.tar.gz" } ], "1.0.0.6": [ { "comment_text": "", "digests": { "md5": "87476e5a03c3227be973cc6bd65ac524", "sha256": "703e57a716893be6552b2a5f69b0ba6fe375043da2a1b0c251fa486b2841a4b7" }, "downloads": -1, "filename": "human_time_formatter-1.0.0.6.tar.gz", "has_sig": false, "md5_digest": "87476e5a03c3227be973cc6bd65ac524", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3595, "upload_time": "2018-04-03T19:33:45", "url": "https://files.pythonhosted.org/packages/4e/72/55fb3d18c87277c98cfbfc23146b597449c95d10848da0d5acbdbd460849/human_time_formatter-1.0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "87476e5a03c3227be973cc6bd65ac524", "sha256": "703e57a716893be6552b2a5f69b0ba6fe375043da2a1b0c251fa486b2841a4b7" }, "downloads": -1, "filename": "human_time_formatter-1.0.0.6.tar.gz", "has_sig": false, "md5_digest": "87476e5a03c3227be973cc6bd65ac524", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3595, "upload_time": "2018-04-03T19:33:45", "url": "https://files.pythonhosted.org/packages/4e/72/55fb3d18c87277c98cfbfc23146b597449c95d10848da0d5acbdbd460849/human_time_formatter-1.0.0.6.tar.gz" } ] }