{ "info": { "author": "Matthew Burke", "author_email": "mperoburke@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "PyTimeNSW\n=========\n\nPyTimeNSW is a fork of `PyTime `__\nwith additional days added for NSW public holidays.\n\nInstallation\n------------\n\n.. code:: python\n\n pip install pytimeNSW\n\nTo Do List\n----------\n\n1. Add family\\_day public holiday for Canberra\n2. Add is\\_public\\_can and public\\_holidays\\_can functions for Canberra\n3. Add is\\_weekend function takes string or datimeTime and returns\n Boolean\n4. Add 'Monday rollover' for public holidays that land on a weekend\n5. Add days\\_until that accepts public holiday name as argument and\n returns int\n6. Change is\\_public to work for python2 list comprehensions ## Basic\n Usage\n\n.. code:: python\n\n >>>from pytimeNSW import pytimeNSW\n >>>\n >>>queen = pytimeNSW.queen() # Queen's Birthday\n >>>print(queen)\n datetime.date(2017, 6, 12)\n >>>\n >>>pytimeNSW.public(easter) # Easter Public Holidays\n [datetime.date(2017, 3, 30),\n datetime.date(2017, 3, 31),\n datetime.date(2017, 4, 1),\n datetime.date(2017, 4, 2)]\n >>>\n >>> labour = pytimeNSW.labour(2019) # 2019 Labour Day\n >>>print(labour)\n datetime.date(2019, 10, 7)\n\nOther public holidays\n\n.. code:: python\n\n >>>pytimeNSW.boxing() # Boxing Day\n datetime.date(2015, 12, 26)\n >>>\n >>>pytimekr.anzac() # Anzac Day\n datetime.date(2017, 4, 25)\n >>>\n >>>pytimeNSW.australia() # Australia Day\n datetime.date(2017, 1, 26)\n >>>pytimeNSW.public_holidays(1995) # List of public holidays in given year\n [datetime.date(1995, 4, 25),\n datetime.date(1995, 1, 26),\n datetime.date(1995, 4, 14),\n datetime.date(1995, 4, 15),\n datetime.date(1995, 4, 16),\n datetime.date(1995, 4, 17),\n datetime.date(1995, 1, 1),\n datetime.date(1995, 12, 25),\n datetime.date(1995, 12, 26),\n datetime.date(1995, 6, 12),\n datetime.date(1995, 10, 2)]\n >>>pytimeNSW.ispublic('April 25 2015') # Verifies if a date is a public holiday\n True\n\nLicense\n-------\n\nMIT\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/MatthewBurke1995/PyTimeNSW", "keywords": "datetime time datetime timeparser Australia NSW holiday", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pytimeNSW", "package_url": "https://pypi.org/project/pytimeNSW/", "platform": "", "project_url": "https://pypi.org/project/pytimeNSW/", "project_urls": { "Homepage": "https://github.com/MatthewBurke1995/PyTimeNSW" }, "release_url": "https://pypi.org/project/pytimeNSW/0.2.2/", "requires_dist": null, "requires_python": "", "summary": "PyTime fork for NSW, Australia", "version": "0.2.2" }, "last_serial": 3227057, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7db540b13349e29c3fed38a50ad31dac", "sha256": "fc8fcfbe5824c8cbc1844b7b5465169a67b5564ec78f13a62f7e70a1ec3f3772" }, "downloads": -1, "filename": "pytimeNSW-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7db540b13349e29c3fed38a50ad31dac", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8861, "upload_time": "2017-09-01T14:55:51", "url": "https://files.pythonhosted.org/packages/0f/f1/0da4e3f7c835a26587188552a2270244318afb6ed63554c1869cd3189304/pytimeNSW-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "861fe764ac94146a4a9f76bf432b462d", "sha256": "7ad481ae9abf062396c28da5bc48de680add591487238eb5beb7a0e88c4354cd" }, "downloads": -1, "filename": "pytimeNSW-0.1.0.tar.gz", "has_sig": false, "md5_digest": "861fe764ac94146a4a9f76bf432b462d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6759, "upload_time": "2017-08-22T13:16:44", "url": "https://files.pythonhosted.org/packages/55/f0/55eeff24d1b6e729268944bc1a2fd8d62e0a65f730cfd697785a8aab30c5/pytimeNSW-0.1.0.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "48f56b8a8730b26c8775713eba4e76de", "sha256": "ccd4af3a239566b9aef02239015cba8d0a04a58bf965d3718daeb4f19161dd96" }, "downloads": -1, "filename": "pytimeNSW-0.2.tar.gz", "has_sig": false, "md5_digest": "48f56b8a8730b26c8775713eba4e76de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7540, "upload_time": "2017-09-01T14:47:00", "url": "https://files.pythonhosted.org/packages/9f/2f/35027d016aac83192596f6d5de840b7ba97f1abe3e4b10444b833a4e979d/pytimeNSW-0.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "2ec43e9fd1d4dde35d5c607d691506a2", "sha256": "65b88412b0de0b42b18978201d1deb8b1632ed8cb0d9bb34ff7095e068f75741" }, "downloads": -1, "filename": "pytimeNSW-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2ec43e9fd1d4dde35d5c607d691506a2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9819, "upload_time": "2017-09-01T15:06:43", "url": "https://files.pythonhosted.org/packages/ee/f2/ae1367fbb4b6c421e2a1f34329bfe812a100e20ba40486aabd0981e93afe/pytimeNSW-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e249cf916356c95aea76db3f290adfc7", "sha256": "4388da25c310fae451231ea5c962a29038cff821bd18e260bdfb0779aa419037" }, "downloads": -1, "filename": "pytimeNSW-0.2.0.tar.gz", "has_sig": false, "md5_digest": "e249cf916356c95aea76db3f290adfc7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7539, "upload_time": "2017-09-01T14:58:36", "url": "https://files.pythonhosted.org/packages/ed/81/4cd1ecd6cd1ff3bd4d4b653ee348738c072960020f495d1f7476df0437a7/pytimeNSW-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "758197f05bdac560db8a952ed737aa93", "sha256": "492b60b5c3feac389b2b30b587a73264a013502b6e01bc7d7ac3081b993c392e" }, "downloads": -1, "filename": "pytimeNSW-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "758197f05bdac560db8a952ed737aa93", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9712, "upload_time": "2017-09-06T10:40:31", "url": "https://files.pythonhosted.org/packages/18/7f/76efe623e1de31331d3042bee48f10b1b39cd77563f4c316dd46ae0cc9a5/pytimeNSW-0.2.1-py2.py3-none-any.whl" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "689f05db651a4318b459aa2bdd7beeea", "sha256": "05b78fbb5633bedf9361aea440ccedcb4dc202a81d0a3e7f2346096a794cd955" }, "downloads": -1, "filename": "pytimeNSW-0.2.2.tar.gz", "has_sig": false, "md5_digest": "689f05db651a4318b459aa2bdd7beeea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7556, "upload_time": "2017-10-05T05:23:10", "url": "https://files.pythonhosted.org/packages/61/79/f7c22df3b09e41d7909c895c3cf712cad206f134bc08f1738b16b2d450b9/pytimeNSW-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "689f05db651a4318b459aa2bdd7beeea", "sha256": "05b78fbb5633bedf9361aea440ccedcb4dc202a81d0a3e7f2346096a794cd955" }, "downloads": -1, "filename": "pytimeNSW-0.2.2.tar.gz", "has_sig": false, "md5_digest": "689f05db651a4318b459aa2bdd7beeea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7556, "upload_time": "2017-10-05T05:23:10", "url": "https://files.pythonhosted.org/packages/61/79/f7c22df3b09e41d7909c895c3cf712cad206f134bc08f1738b16b2d450b9/pytimeNSW-0.2.2.tar.gz" } ] }