{ "info": { "author": "Ken Dreyer", "author_email": "ktdreyer@ktdreyer.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6" ], "description": "Red Hat business days calendar\n==============================\n\n.. image:: https://travis-ci.org/ktdreyer/rhcalendar.svg?branch=master\n :target: https://travis-ci.org/ktdreyer/rhcalendar\n\n.. image:: https://badge.fury.io/py/rhcalendar.svg\n :target: https://badge.fury.io/py/rhcalendar\n\n\nThis module builds on `workdays `_ to\nprovide a ``networkdays()`` method that knows about the Red Hat business\nholidays.\n\nExample: determine number of business days from today\n-----------------------------------------------------\n\n.. code-block:: python\n\n import datetime\n from rhcalendar import networkdays\n\n today = datetime.date.today()\n to_date = datetime.date(2020, 1, 1) # something far away...\n\n days = networkdays(from_date=today, to_date=to_date)\n\n print('%s is %d Red Hat business days from now.' % (to_date, days))\n # prints \"2020-01-01 is 435 Red Hat business days from now.\"\n\nLocales\n-------\n\nCurrently this module has the Red Hat holiday calendars for the US and Quebec,\nCanada. Contributions welcome for other locales.\n\n.. code-block:: python\n\n # Locale option defaults to 'en-US':\n days = workdays(from_date, to_date)\n\n # Or use Quebec, Canada holidays:\n days = workdays(from_date, to_date, locale='qc-CA')\n\nPackages that use this package\n------------------------------\n\n* `helga-productpages `_", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ktdreyer/rhcalendar", "keywords": "workdays", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "rhcalendar", "package_url": "https://pypi.org/project/rhcalendar/", "platform": "", "project_url": "https://pypi.org/project/rhcalendar/", "project_urls": { "Homepage": "https://github.com/ktdreyer/rhcalendar" }, "release_url": "https://pypi.org/project/rhcalendar/1.2.0/", "requires_dist": null, "requires_python": "", "summary": "Red Hat business days calendar", "version": "1.2.0" }, "last_serial": 5984655, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "79a1f374f121438792f500d590508cac", "sha256": "94b18ddfbca73b8bccf79d3574bd0a358c4dc5a049f27eebefa40ef0876ce632" }, "downloads": -1, "filename": "rhcalendar-1.0.0.tar.gz", "has_sig": true, "md5_digest": "79a1f374f121438792f500d590508cac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3071, "upload_time": "2018-03-28T20:29:59", "url": "https://files.pythonhosted.org/packages/5d/fa/9342c57d4be497acc361b2e4606d05606e056feebb2c1ce47b771e9f041d/rhcalendar-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "b7fbc0ab0c9c17d37b306bdecf757a4a", "sha256": "355d328a63b7e4cb0694f38fc86ed07d62f8676ee7bc21502aadac11bf4b8728" }, "downloads": -1, "filename": "rhcalendar-1.0.1.tar.gz", "has_sig": true, "md5_digest": "b7fbc0ab0c9c17d37b306bdecf757a4a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3082, "upload_time": "2018-03-28T20:34:46", "url": "https://files.pythonhosted.org/packages/5f/ca/d6802fc05e000eea4b7024b87af179ddd5facf9e7df36dfd83c6f3f637dd/rhcalendar-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "a8448865b21e6406414d70decf5d927b", "sha256": "8e1f336314d63a472c9d7e9b2e884bf3071ac6e483ee616b34e071c477fffc86" }, "downloads": -1, "filename": "rhcalendar-1.1.0.tar.gz", "has_sig": true, "md5_digest": "a8448865b21e6406414d70decf5d927b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3944, "upload_time": "2018-03-29T19:33:32", "url": "https://files.pythonhosted.org/packages/32/f6/2f0450c3c8a6e55fe9af64874f9526dfaeef8ebefab52f39d33b79d7a231/rhcalendar-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "51a0a86318c1c3c2a7a3b3b773176eda", "sha256": "49474a33f932f23bb8393838702f58478f796f51982be2fdb5e1ece56992e1f8" }, "downloads": -1, "filename": "rhcalendar-1.2.0.tar.gz", "has_sig": true, "md5_digest": "51a0a86318c1c3c2a7a3b3b773176eda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4203, "upload_time": "2019-10-16T16:12:08", "url": "https://files.pythonhosted.org/packages/e2/ee/83c50563c3ef4ea604d0893402d5f3db8f7fa783496f0fa409a1ee63ce6b/rhcalendar-1.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "51a0a86318c1c3c2a7a3b3b773176eda", "sha256": "49474a33f932f23bb8393838702f58478f796f51982be2fdb5e1ece56992e1f8" }, "downloads": -1, "filename": "rhcalendar-1.2.0.tar.gz", "has_sig": true, "md5_digest": "51a0a86318c1c3c2a7a3b3b773176eda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4203, "upload_time": "2019-10-16T16:12:08", "url": "https://files.pythonhosted.org/packages/e2/ee/83c50563c3ef4ea604d0893402d5f3db8f7fa783496f0fa409a1ee63ce6b/rhcalendar-1.2.0.tar.gz" } ] }