{ "info": { "author": "Henning Jacobs", "author_email": "henning.jacobs@zalando.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4" ], "description": "===========\nTime Period\n===========\n\nPython module for determining if a datetime is within a time\nperiod.\n\nBased on the `original TimePeriod module`_ written by Paul Boyd .\n\n\nInstallation\n============\n\n.. code-block:: bash\n\n $ sudo pip install timeperiod2\n\nUsage\n=====\n\n.. code-block:: python\n\n import datetime\n import timeperiod\n # will return True iff we have Monday, Tuesday or Thursday:\n timeperiod.in_period('wd {mon tue thu}')\n # will return True iff we have \"office time\"\n timeperiod.in_period('wd {Mon-Fri} hr {9-17}', datetime.datetime.now())\n\nLicense\n=======\n\nReleased under the LGPL:\n\nhttp://www.gnu.org/licenses/#LGPL\n\nAlso see the LICENSE file.\n\n.. _original TimePeriod module: https://pypi.python.org/pypi/TimePeriod", "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/zalando/python-timeperiod2", "keywords": "timeperiod time period datetime", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "timeperiod2", "package_url": "https://pypi.org/project/timeperiod2/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/timeperiod2/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/zalando/python-timeperiod2" }, "release_url": "https://pypi.org/project/timeperiod2/0.1/", "requires_dist": null, "requires_python": null, "summary": "Python module for determining if a datetime is within a time period", "version": "0.1" }, "last_serial": 1339731, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "8e5839aca8c594ff494d661a70d347e8", "sha256": "9769f8bfa88fcf5a9fffb2d0c0cb13f57563d007d8dc5d01b6816e58edf79fe6" }, "downloads": -1, "filename": "timeperiod2-0.1.tar.gz", "has_sig": false, "md5_digest": "8e5839aca8c594ff494d661a70d347e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4212, "upload_time": "2014-12-11T10:32:21", "url": "https://files.pythonhosted.org/packages/6e/9b/12f57faebf030d8b872d06d151832e88c7251fa5a9af629ce049a88d0c24/timeperiod2-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8e5839aca8c594ff494d661a70d347e8", "sha256": "9769f8bfa88fcf5a9fffb2d0c0cb13f57563d007d8dc5d01b6816e58edf79fe6" }, "downloads": -1, "filename": "timeperiod2-0.1.tar.gz", "has_sig": false, "md5_digest": "8e5839aca8c594ff494d661a70d347e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4212, "upload_time": "2014-12-11T10:32:21", "url": "https://files.pythonhosted.org/packages/6e/9b/12f57faebf030d8b872d06d151832e88c7251fa5a9af629ce049a88d0c24/timeperiod2-0.1.tar.gz" } ] }