{ "info": { "author": "Ralf Schmitt", "author_email": "ralf@systemexit.de", "bugtrack_url": null, "classifiers": [], "description": "Usage\n=====\n\ntimelib is a short wrapper around php's internal timelib module.\nIt currently only provides a few functions:\n\ntimelib.strtodatetime:\n\n>>> timelib.strtodatetime('today')\ndatetime.datetime(2009, 6, 23, 0, 0)\n>>> timelib.strtodatetime('today')\ndatetime.datetime(2009, 6, 23, 0, 0)\n>>> timelib.strtodatetime('next friday')\ndatetime.datetime(2009, 6, 26, 0, 0)\n>>> timelib.strtodatetime('29 feb 2008 -108 years')\ndatetime.datetime(1900, 3, 1, 0, 0)\n\ntimelib.strtotime:\n\n>>> import time, timelib\n>>> time.ctime(timelib.strtotime(\"now\"))\n'Tue Jun 23 15:17:32 2009'\n>>> time.ctime(timelib.strtotime(\"4 hours ago\"))\n'Tue Jun 23 11:17:38 2009'\n>>> time.ctime(timelib.strtotime(\"20080229 -1 year\"))\n'Thu Mar 1 01:00:00 2007'\n\nLicense\n=======\next-date-lib contains unmodified sources from the php source\ndistribution. These are distributed under the `php license`_, version\n3.01.\n\nThe remaining part is distributed under the zlib/libpng license:\n\nCopyright (c) 2009-2011 PediaPress GmbH\n\nThis software is provided 'as-is', without any express or implied\nwarranty. In no event will the authors be held liable for any damages\narising from the use of this software.\n\nPermission is granted to anyone to use this software for any purpose,\nincluding commercial applications, and to alter it and redistribute it\nfreely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not\n claim that you wrote the original software. If you use this software\n in a product, an acknowledgment in the product documentation would be\n appreciated but is not required.\n\n2. Altered source versions must be plainly marked as such, and must not be\n misrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source\n distribution.\n\n\n.. _php license: http://www.php.net/license/3_01.txt", "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/pediapress/timelib/", "keywords": null, "license": "zlib/php", "maintainer": null, "maintainer_email": null, "name": "timelib", "package_url": "https://pypi.org/project/timelib/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/timelib/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/pediapress/timelib/" }, "release_url": "https://pypi.org/project/timelib/0.2.4/", "requires_dist": null, "requires_python": null, "summary": "parse english textual date descriptions", "version": "0.2.4" }, "last_serial": 1033615, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "c1e820a0d3a64f0a747c2303a44aedd8", "sha256": "2434ae2ba76ce19d641fb4fdb7c9ee1e56cd2bb29b2f8bae12c81b76a869ff67" }, "downloads": -1, "filename": "timelib-0.1.tar.gz", "has_sig": false, "md5_digest": "c1e820a0d3a64f0a747c2303a44aedd8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 325396, "upload_time": "2009-06-23T15:38:03", "url": "https://files.pythonhosted.org/packages/60/6b/559d05eef6ab9a91e37a9235c1b234174ed1e4ec3a5e74e8acc22f8b9987/timelib-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "08a4e484c7ae35f32338e762b1995d41", "sha256": "9f0e6befb2792c22de6763b810ef6264493536f4cd49a2466adefca9c06dbf4b" }, "downloads": -1, "filename": "timelib-0.2.tar.gz", "has_sig": false, "md5_digest": "08a4e484c7ae35f32338e762b1995d41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 289464, "upload_time": "2009-06-24T14:34:40", "url": "https://files.pythonhosted.org/packages/ee/26/78c27b2774ea8b3edf4e0ce4e67564428dbf653ee54a3fdbaa71bf833936/timelib-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "d31c4b4bcc315ec3383a1efbc64e95f3", "sha256": "db57ea22fa43e7255673f68e05fee682f5f70d7a7bb38f608ea18836e10551ae" }, "downloads": -1, "filename": "timelib-0.2.1.tar.gz", "has_sig": false, "md5_digest": "d31c4b4bcc315ec3383a1efbc64e95f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 287814, "upload_time": "2009-11-12T15:14:20", "url": "https://files.pythonhosted.org/packages/0a/41/4dce1bd414f645e1be3e50e08323bf0fa336281e9680cb97a9fc92ea031f/timelib-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "0764b0c58815b418e90df2bfd7ccc99a", "sha256": "80fae14e86d71e375290bd460f3c4de6b6f8742e55fca089d6f04303222c7e19" }, "downloads": -1, "filename": "timelib-0.2.2.tar.gz", "has_sig": false, "md5_digest": "0764b0c58815b418e90df2bfd7ccc99a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 289526, "upload_time": "2010-10-13T11:33:32", "url": "https://files.pythonhosted.org/packages/65/aa/daffdd98337c1e85d16aac632dcdd34a516cbdf6d0bbf5952c37500072b5/timelib-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "a4f466aff72da48a13c62d7722681fc0", "sha256": "65420a98db482b011bb98a8fab953f27eca09e1b8fb60e85c59f3716e43d69cd" }, "downloads": -1, "filename": "timelib-0.2.3.zip", "has_sig": false, "md5_digest": "a4f466aff72da48a13c62d7722681fc0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 318349, "upload_time": "2011-10-06T12:56:20", "url": "https://files.pythonhosted.org/packages/6d/2d/c79a9328f19724a5c0b5e89cf08ba53c22894ba3a555e7004c28a7bfb706/timelib-0.2.3.zip" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "400e316f81001ec0842fa9b2cef5ade9", "sha256": "49142233bdb5971d64a41e05a1f80a408a02be0dc7d9f8c99e7bdd0613ba81cb" }, "downloads": -1, "filename": "timelib-0.2.4.zip", "has_sig": false, "md5_digest": "400e316f81001ec0842fa9b2cef5ade9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 281070, "upload_time": "2012-09-17T14:02:59", "url": "https://files.pythonhosted.org/packages/ce/ce/d6910b46ec4c5e48f9260eadb3b3ca9ed2a2afa4fed83e230c1c2f639146/timelib-0.2.4.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "400e316f81001ec0842fa9b2cef5ade9", "sha256": "49142233bdb5971d64a41e05a1f80a408a02be0dc7d9f8c99e7bdd0613ba81cb" }, "downloads": -1, "filename": "timelib-0.2.4.zip", "has_sig": false, "md5_digest": "400e316f81001ec0842fa9b2cef5ade9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 281070, "upload_time": "2012-09-17T14:02:59", "url": "https://files.pythonhosted.org/packages/ce/ce/d6910b46ec4c5e48f9260eadb3b3ca9ed2a2afa4fed83e230c1c2f639146/timelib-0.2.4.zip" } ] }