{ "info": { "author": "Thomas Leichtfuss", "author_email": "thomaslfuss@gmx.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.7" ], "description": "daytime\n=========\n\nThis module extends the datetime.time-module and makes it more handy\nrespectivly to comparison, addition and substraction.\nYou can compare, add and substract a daytime with another daytime, a\ndatetime.time-object or an int or float as total amount of seconds.\nMaking sums is also possible with a datetime.timedelta.\n\n\n\nLatest Version\n--------------\nThe latest version of this project can be found at : http://github.com/thomst/daytime.\n\n\nInstallation\n------------\n* Option 1 : Install via pip ::\n\n pip install daytime\n\n* Option 2 : If you have downloaded the source ::\n\n python setup.py install\n\n\nDocumentation\n-------------\nHow to use? ::\n\n from daytime import DayTime\n import datetime\n\n daytime1 = DayTime(2, 20, 23, 90000)\n daytime2 = DayTime(12, 25, 0, 8400)\n\n daytime1 - daytime2 # DayTime(13, 55, 23, 81600)\n daytime2 + datetime.time(22,3,4,5) # DayTime(10, 28, 4, 8405)\n daytime1 - 12400 # DayTime(22, 53, 43, 90000)\n\n daytime1 < daytime2 # True\n daytime2 > 4800 # True\n\n DayTime.utcfromtimestamp(24000.4) # DayTime(6, 40, 0, 400000)\n\n\nReporting Bugs\n--------------\nPlease report bugs at github issue tracker:\nhttps://github.com/thomst/daytime/issues\n\n\nAuthor\n------\nthomst \nThomas Leichtfu\u00df\n\n* http://github.com/thomst", "description_content_type": null, "docs_url": null, "download_url": "https://pypi.python.org/packages/source/d/daytime/daytime-0.4.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/thomst/daytime", "keywords": "datetime time daytime comparison", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "daytime", "package_url": "https://pypi.org/project/daytime/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/daytime/", "project_urls": { "Download": "https://pypi.python.org/packages/source/d/daytime/daytime-0.4.tar.gz", "Homepage": "https://github.com/thomst/daytime" }, "release_url": "https://pypi.org/project/daytime/0.4/", "requires_dist": null, "requires_python": null, "summary": "Extension for datetime.time with the main focus on comarison an making sums.", "version": "0.4" }, "last_serial": 847323, "releases": { "0.2": [], "0.3": [ { "comment_text": "", "digests": { "md5": "e32f4ae673bae610f8f7f06585946b94", "sha256": "159d9152ab80074673b9dc2e46ad11206388a2c5aa9c298fa4ae4e4f2d254498" }, "downloads": -1, "filename": "daytime-0.3.tar.gz", "has_sig": false, "md5_digest": "e32f4ae673bae610f8f7f06585946b94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2014, "upload_time": "2013-04-19T14:32:38", "url": "https://files.pythonhosted.org/packages/8d/29/0c73e6d87d9a82b32b89e73191f16f1fd5b116e7bf17a3120c42ab6db5b6/daytime-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "1783cdc3da778c42aa8a6ea358ee1b7b", "sha256": "653c2af965966d677db6342e6de20d34a4a9261fe27e33b04a14f0ec74fd567d" }, "downloads": -1, "filename": "daytime-0.4.tar.gz", "has_sig": false, "md5_digest": "1783cdc3da778c42aa8a6ea358ee1b7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2371, "upload_time": "2013-08-23T18:53:39", "url": "https://files.pythonhosted.org/packages/18/de/ba3d8b7a691971ba8805a2e8678c9054408e2caba210359245c306d1de52/daytime-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1783cdc3da778c42aa8a6ea358ee1b7b", "sha256": "653c2af965966d677db6342e6de20d34a4a9261fe27e33b04a14f0ec74fd567d" }, "downloads": -1, "filename": "daytime-0.4.tar.gz", "has_sig": false, "md5_digest": "1783cdc3da778c42aa8a6ea358ee1b7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2371, "upload_time": "2013-08-23T18:53:39", "url": "https://files.pythonhosted.org/packages/18/de/ba3d8b7a691971ba8805a2e8678c9054408e2caba210359245c306d1de52/daytime-0.4.tar.gz" } ] }