{ "info": { "author": "Adomas Paltanavicius", "author_email": "adomas.paltanavicius@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Topic :: Database :: Front-Ends", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Convert time deltas into phrases like \"5 minutes ago\",\n\"3 hours ago\", \"2 days ago\" etc.\n\nThis package has a number of modules in it, each for separate\nlanguage. It is standard that module pytimeago.X has function\nX, which accepts at least on argument -- number of seconds\nbetween two events. It may also accept extra keywords, which\nshould be documented in the docstring of the function.\nReturned is always unicode string.\n\nUsage pattern:\n\n from pytimeago.english import english\n from time import time, sleep\n\n a = time()\n # ...do something here...\n delta = int(time() - a) # could use sometimedetal.total_seconds()\n print \"job started %s\" % english(delta)\n\nPrints, e.g.\n\n job started 15 minutes ago\n\nAvailable languages are:\n\n from pytimeago.english import english\n from pytimeago.english import english_short\n from pytimeago.french import french\n\nLicenced under GNU Lesser General Public License,\nyou can get a copy at: http://www.gnu.org/licenses/lgpl.html\n\nWritten by Adomas Paltanavicius (adomas.paltanavicius@gmail.com).\nPackaged, french added, and computation enhanced by Stephane \"Twidi\" Angel (s.angel@twidi.com)", "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/twidi/pytimeago", "keywords": null, "license": "LGPL", "maintainer": null, "maintainer_email": null, "name": "pytimeago", "package_url": "https://pypi.org/project/pytimeago/", "platform": "any", "project_url": "https://pypi.org/project/pytimeago/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/twidi/pytimeago" }, "release_url": "https://pypi.org/project/pytimeago/2.0/", "requires_dist": null, "requires_python": null, "summary": "Human-oriented representation of time deltas, a Python library", "version": "2.0" }, "last_serial": 2004531, "releases": { "1.0.2": [ { "comment_text": "", "digests": { "md5": "084623d64a4f4a35fe89f99508f2ddc3", "sha256": "e59e60716d2e87bce3c4f4e7f843773bfb3d8b8cc6708a8db0aeb293b47c3888" }, "downloads": -1, "filename": "pytimeago-1.0.2.tar.gz", "has_sig": false, "md5_digest": "084623d64a4f4a35fe89f99508f2ddc3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3882, "upload_time": "2014-03-18T21:38:37", "url": "https://files.pythonhosted.org/packages/71/1f/09ef33b650ec54e5ae4024d1dd67b603ec4b388553de1235defcd45e3f6d/pytimeago-1.0.2.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "94b7ecfc06fd4e678ab6d602a49d092e", "sha256": "0fbd901c165686db911886105bcdccb88c022a8ec8241e8fb4f0dc840dfe4313" }, "downloads": -1, "filename": "pytimeago-2.0.tar.gz", "has_sig": false, "md5_digest": "94b7ecfc06fd4e678ab6d602a49d092e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4076, "upload_time": "2016-03-13T16:51:27", "url": "https://files.pythonhosted.org/packages/7f/0e/364065b68fd2fd6cbfacce6e8e56a0f2a5497e109cfe1938929d3c2ce2a8/pytimeago-2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "94b7ecfc06fd4e678ab6d602a49d092e", "sha256": "0fbd901c165686db911886105bcdccb88c022a8ec8241e8fb4f0dc840dfe4313" }, "downloads": -1, "filename": "pytimeago-2.0.tar.gz", "has_sig": false, "md5_digest": "94b7ecfc06fd4e678ab6d602a49d092e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4076, "upload_time": "2016-03-13T16:51:27", "url": "https://files.pythonhosted.org/packages/7f/0e/364065b68fd2fd6cbfacce6e8e56a0f2a5497e109cfe1938929d3c2ce2a8/pytimeago-2.0.tar.gz" } ] }