{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. -*- mode: rst -*-\n\npyfortified-dateutil\n--------------------\n\nImportant Note\n^^^^^^^^^^^^^^\n\nWork In Progress\n^^^^^^^^^^^^^^^^\n\nBadges\n------\n\n\nInstall\n-------\n\n.. code-block:: bash\n\n pip install pyfortified-dateutil\n\n\nFunctions\n---------\n\n.. code-block:: python\n\n import pyfortified_dateutil\n import datetime as dt\n\n month_first_date, month_last_date = pyfortified_dateutil.dates_month_first_last(dt.date(2016, 12, 20))\n print(month_first_date)\n print(month_last_date)\n\n.. code-block:: bash\n\n datetime.date(2016, 12, 1)\n datetime.date(2016, 12, 31)\n\n\n.. code-block:: python\n\n import pyfortified_dateutil\n import datetime as dt\n\n start_dt = dt.date(2015, 12, 20)\n end_dt = dt.date(2016, 1, 6)\n\n for dt in pyfortified_dateutil.date_range(start_dt, end_dt):\n pprint(dt.strftime(\"%Y-%m-%d\"))\n\n\n.. code-block:: bash\n\n '2015-12-20'\n '2015-12-21'\n '2015-12-22'\n '2015-12-23'\n '2015-12-24'\n '2015-12-25'\n '2015-12-26'\n '2015-12-27'\n '2015-12-28'\n '2015-12-29'\n '2015-12-30'\n '2015-12-31'\n '2016-01-01'\n '2016-01-02'\n '2016-01-03'\n '2016-01-04'\n '2016-01-05'\n '2016-01-06'\n\n\n.. code-block:: python\n\n import pyfortified_dateutil\n import datetime as dt\n\n start_dt = dt.date(2016, 12, 20)\n end_dt = dt.date(2018, 1, 11))\n\n for dt in pyfortified_dateutil.dates_months_list(start_dt, end_dt):\n print(dt)\n\n\n.. code-block:: bash\n\n '2016-12'\n '2017-01'\n '2017-02'\n '2017-03'\n '2017-04'\n '2017-05'\n '2017-06'\n '2017-07'\n '2017-08'\n '2017-09'\n '2017-10'\n '2017-11'\n '2017-12'", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/jeff00seattle/pyfortified-dateutil/archive/v0.1.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jeff00seattle/pyfortified-dateutil", "keywords": "pyfortified dateutil", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "pyfortified-dateutil", "package_url": "https://pypi.org/project/pyfortified-dateutil/", "platform": "", "project_url": "https://pypi.org/project/pyfortified-dateutil/", "project_urls": { "Download": "https://github.com/jeff00seattle/pyfortified-dateutil/archive/v0.1.1.tar.gz", "Homepage": "https://github.com/jeff00seattle/pyfortified-dateutil" }, "release_url": "https://pypi.org/project/pyfortified-dateutil/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Extension to Python `datetime` functionality.", "version": "0.1.1" }, "last_serial": 3865171, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d787511a42db7aa7f0d5928a8bbe0fe2", "sha256": "ded7a6b741c0ea0b88c9b428e23e2bfb3eb89241f6cefb02b3ce91b03edc4669" }, "downloads": -1, "filename": "pyfortified_dateutil-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d787511a42db7aa7f0d5928a8bbe0fe2", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 3138, "upload_time": "2018-05-15T15:15:53", "url": "https://files.pythonhosted.org/packages/e9/63/4b28e48f76d2392cf53649d2fab1ae05189c8f5203815f217ac95bea42a2/pyfortified_dateutil-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f3ca5e9301a9a39a2d6bf29bd7c73fb7", "sha256": "4fda76bd2c2cfd11c709e3e44cf865b48fe712b7427d79223d2188459d7c1222" }, "downloads": -1, "filename": "pyfortified-dateutil-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f3ca5e9301a9a39a2d6bf29bd7c73fb7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4178, "upload_time": "2018-05-15T15:15:52", "url": "https://files.pythonhosted.org/packages/b8/59/d3d56aae8c3df2fa55939f8fdbf1ec6fdea1f64b16ff6f4d292167dbabab/pyfortified-dateutil-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "a5cfe4e73e5580555dc39b4e5de2c59a", "sha256": "39fecb8437c01b03a41ec3ceebd7cefb5c4b74dcaf318214675d2b7135ab95a1" }, "downloads": -1, "filename": "pyfortified_dateutil-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a5cfe4e73e5580555dc39b4e5de2c59a", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 3131, "upload_time": "2018-05-15T15:59:57", "url": "https://files.pythonhosted.org/packages/bc/f0/7316e5e1e8dffe79437a997f2674a1dff911c81f945aab45045aa552fd93/pyfortified_dateutil-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e35d9cdb7ae60340bfd363c3c11a0f78", "sha256": "61f1fae782819185def360319edffc3564b398b276efc5a189f6b23fad80f207" }, "downloads": -1, "filename": "pyfortified-dateutil-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e35d9cdb7ae60340bfd363c3c11a0f78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4162, "upload_time": "2018-05-15T15:59:55", "url": "https://files.pythonhosted.org/packages/1b/1e/0ebe982bf7c8968ebd97b6f6f8d0938e326f686a5cc6f2362f25a9d715e2/pyfortified-dateutil-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a5cfe4e73e5580555dc39b4e5de2c59a", "sha256": "39fecb8437c01b03a41ec3ceebd7cefb5c4b74dcaf318214675d2b7135ab95a1" }, "downloads": -1, "filename": "pyfortified_dateutil-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a5cfe4e73e5580555dc39b4e5de2c59a", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 3131, "upload_time": "2018-05-15T15:59:57", "url": "https://files.pythonhosted.org/packages/bc/f0/7316e5e1e8dffe79437a997f2674a1dff911c81f945aab45045aa552fd93/pyfortified_dateutil-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e35d9cdb7ae60340bfd363c3c11a0f78", "sha256": "61f1fae782819185def360319edffc3564b398b276efc5a189f6b23fad80f207" }, "downloads": -1, "filename": "pyfortified-dateutil-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e35d9cdb7ae60340bfd363c3c11a0f78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4162, "upload_time": "2018-05-15T15:59:55", "url": "https://files.pythonhosted.org/packages/1b/1e/0ebe982bf7c8968ebd97b6f6f8d0938e326f686a5cc6f2362f25a9d715e2/pyfortified-dateutil-0.1.1.tar.gz" } ] }