{ "info": { "author": "Armin Hanisch", "author_email": "mail@arminhanisch.de", "bugtrack_url": null, "classifiers": [], "description": "######\ndt8601\n######\n\ndt8601 (short for \"dates in ISO8601 logic\") provides useful functionality to work with gregorian\ndates. This is my first open source project in Python, so please bear with me. The code is based\non a date library I wrote back in to 90s in another language and has proven to be very helpful\nwhen you have to work with date arithmetic.\n\n\n***********\nQuick start\n***********\n\n*dt8601* provides two objects to work with dates. One allows for easy storages and calculations with\na date and the other provides functionality that is associated with a calendar year.\n\nTypical usage in most cases is as easy as this::\n\n #!/usr/bin/env python\n\n import dt8601\n\n ymd = dt8601.IsoDate(2013, 06, 25, 'DE')\n year = dr8601.IsoYear(2013)\n\n num_weeks = year.week_count # number if weeks in 2013\n\n print(ymd.day_of_year()) # day of year\n print(ymd.day_of_week()) # get week day for 2013-06-25\n print(ymd.week_of_year()) # get ISO calendar week for 2013-06-25\n\n\nYou would like to get a list of all the start dates for every ISO calendar week in 2013?\nAs easy as::\n\n from dt8601 import IsoYear\n\n yr = IsoYear(2013)\n\n for the_week in yr.iso_weeks:\n print(the_week['start'])\n\n\nYou can find more information in the ``docs`` folder (es gibt auch eine deutsche Doku dort!)\n\n\n\nThanks also to\n==============\n\nThis module is a result of porting and reworking a Borland Delphi library that is now more than 20 years old\n(yes, we had computers back then ). Many people inspired this library, helped and added code or explained things.\n\nBernd Strehuber - Holiday calculations\nCarley Phillips - Julian date calculations\nJeff Duntemann - Weekday calculations\nJudson McClendon - Easter calculations\nMartin Austermeier - Weekday calculations\nPaul Schlyter - Easter calculation\nPit Biernath - Julian date calculations\nScott Bussinger - Julian date calculations\nMarkus Kuhn for his ISO8601 summary\n\nAlso many thanks to the Wikipedia authors of the ISO8601 articles and last, but not least, the awesome group of\npeople on http://www.stackoverflow.com", "description_content_type": null, "docs_url": "https://pythonhosted.org/dt8601/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/dt8601/", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "dt8601", "package_url": "https://pypi.org/project/dt8601/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/dt8601/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/dt8601/" }, "release_url": "https://pypi.org/project/dt8601/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "Useful date routines.", "version": "0.2.0" }, "last_serial": 813756, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "84f85d82a8b246850f632ae9f134889f", "sha256": "a10c9d4a06090a5c5b3ddee919582928c5eb63aaa9509400f1612edc8cc96f15" }, "downloads": -1, "filename": "dt8601-0.2.0.tar.gz", "has_sig": false, "md5_digest": "84f85d82a8b246850f632ae9f134889f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 189316, "upload_time": "2013-07-09T23:19:51", "url": "https://files.pythonhosted.org/packages/ed/b6/14529962aa2c766ba27615f8f19c884bd05d652ed7ec92242a234752aeed/dt8601-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "84f85d82a8b246850f632ae9f134889f", "sha256": "a10c9d4a06090a5c5b3ddee919582928c5eb63aaa9509400f1612edc8cc96f15" }, "downloads": -1, "filename": "dt8601-0.2.0.tar.gz", "has_sig": false, "md5_digest": "84f85d82a8b246850f632ae9f134889f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 189316, "upload_time": "2013-07-09T23:19:51", "url": "https://files.pythonhosted.org/packages/ed/b6/14529962aa2c766ba27615f8f19c884bd05d652ed7ec92242a234752aeed/dt8601-0.2.0.tar.gz" } ] }