{ "info": { "author": "Kyle Stark", "author_email": "kstarked@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8" ], "description": "===============================\nmonths\n===============================\n\n.. image:: https://img.shields.io/travis/kstark/months.svg\n :target: https://travis-ci.org/kstark/months\n\n.. image:: https://img.shields.io/pypi/v/months.svg\n :target: https://pypi.python.org/pypi/months\n\n.. image:: https://readthedocs.org/projects/months/badge/?version=latest\n :target: https://readthedocs.org/projects/months/?badge=latest\n :alt: Documentation Status\n\n\nPython library for representing specific months\n\n* Free software: MIT license\n* Documentation: https://months.readthedocs.org.\n\nFeatures\n--------\n\n- Represent specific months along with their years\n- Convert to and from native datetime and date objects\n- Convenient math operations for adding / subtracting month intervals\n- Convenient operations for displaying months\n\n\n\n\nHistory\n-------\n\n2.0.0 (2019-10-18)\n---------------------\n\n* Thanks to nolanbconaway for their contributions!\n* New methods to handle relations between months:\n * ``month.to(other)`` for generating intervals of months.\n * ``month.distance(other)`` for computing distance between months.\n* New methods for month date info\n * ``month.n_days`` to return the number of days in the month.\n * ``month.dates`` to return a list of all days in the month.\n * ``month.nth(day)`` to return a specific day in the month.\n* ``__int__`` and ``__float__`` methods added.\n * Also a ``month.gregorian_month_number`` method to compute number of months\n since year 0.\n\n1.1.0 (2019-10-18)\n---------------------\n\n* Support up to Python 3.8, drop explicit support for 2.6/3.2/3.3\n* Raise TypeError on invalid addition/subtraction instead of ValueError\n\n1.0.0 (2015-04-13)\n---------------------\n\n* Documentation added\n* 2.6 support added\n* Tests for bad math added\n\n0.1.0 (2015-04-13)\n---------------------\n\n* First release on PyPI.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kstark/months", "keywords": "months", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "months", "package_url": "https://pypi.org/project/months/", "platform": "", "project_url": "https://pypi.org/project/months/", "project_urls": { "Homepage": "https://github.com/kstark/months" }, "release_url": "https://pypi.org/project/months/2.0.0/", "requires_dist": null, "requires_python": "", "summary": "Python library for representing specific months", "version": "2.0.0" }, "last_serial": 5997050, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6e0fc909cb931356bb72ad2bbab563db", "sha256": "04e716454a48043f18fff9a7e17d4fba392c1e2bd02be628408721c23b519ff9" }, "downloads": -1, "filename": "months-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6e0fc909cb931356bb72ad2bbab563db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11711, "upload_time": "2015-04-14T01:18:23", "url": "https://files.pythonhosted.org/packages/67/f8/9a64e45eea5526f2659a809468a3b4db22fdbf85ecc1962eb93c4284e708/months-0.1.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "c1598bb0b80d57b3525a0983777e15e6", "sha256": "483c77e54a5e40bda47fb1be693a43986dcbbef49097d7dd2268aec1da645789" }, "downloads": -1, "filename": "months-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c1598bb0b80d57b3525a0983777e15e6", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4175, "upload_time": "2015-04-14T01:53:22", "url": "https://files.pythonhosted.org/packages/7c/3f/8194657b78c12ac8130b44ec1a868b61d4051c9a675c59bdcfe5bc5f2948/months-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "24dcbbab6f221aacfdfc71f96c13d645", "sha256": "699cb00234429c87c35b95cd4252a465852272c4ea4c1c514675f4c5cbcbab8c" }, "downloads": -1, "filename": "months-1.0.0.tar.gz", "has_sig": false, "md5_digest": "24dcbbab6f221aacfdfc71f96c13d645", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12173, "upload_time": "2015-04-14T01:53:18", "url": "https://files.pythonhosted.org/packages/30/e8/dcfc946f98cba2a8333b9e0e5bd5666daba648778a4a38b752844e1f046a/months-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "4f9ba0f79b58a6792664c59674656301", "sha256": "f059e87bca39540f9559e028e4abd87615055efecbd7df9038f3b426940a3c49" }, "downloads": -1, "filename": "months-1.1.0.tar.gz", "has_sig": false, "md5_digest": "4f9ba0f79b58a6792664c59674656301", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12015, "upload_time": "2019-10-18T18:04:35", "url": "https://files.pythonhosted.org/packages/bd/78/79eb95b28329934efaa20bf2da226e81e123a9f485b235bf077d7f52535c/months-1.1.0.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "68e72040fb575780bb96193706930cde", "sha256": "035c7f92c5a64d575b321df7c0f5647aca9d7bd97188971ae70fc9b4e50715b1" }, "downloads": -1, "filename": "months-2.0.0.tar.gz", "has_sig": false, "md5_digest": "68e72040fb575780bb96193706930cde", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15675, "upload_time": "2019-10-18T18:48:35", "url": "https://files.pythonhosted.org/packages/9e/89/ecc190bfff05b4a3ae12bacfc0ed2b90c6fe17486d4af05b2964eceefd74/months-2.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "68e72040fb575780bb96193706930cde", "sha256": "035c7f92c5a64d575b321df7c0f5647aca9d7bd97188971ae70fc9b4e50715b1" }, "downloads": -1, "filename": "months-2.0.0.tar.gz", "has_sig": false, "md5_digest": "68e72040fb575780bb96193706930cde", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15675, "upload_time": "2019-10-18T18:48:35", "url": "https://files.pythonhosted.org/packages/9e/89/ecc190bfff05b4a3ae12bacfc0ed2b90c6fe17486d4af05b2964eceefd74/months-2.0.0.tar.gz" } ] }