{ "info": { "author": "Kasper Jacobsen", "author_email": "k@mackwerk.dk", "bugtrack_url": null, "classifiers": [], "description": ".. image:: https://travis-ci.org/Dinoshauer/SemVerPy.svg?branch=master :target: https://travis-ci.org/Dinoshauer/SemVerPy\n.. image:: https://gemnasium.com/Dinoshauer/SemVerPy.svg?branch=master :target: https://gemnasium.com/Dinoshauer/SemVerPy\n.. image:: https://coveralls.io/repos/Dinoshauer/SemVerPy/badge.png?branch=master :target: https://coveralls.io/r/Dinoshauer/SemVerPy\n\nSemVerPy\n========\n\nBumping versions. Semantically.\n\nUsage is pretty simple:\n\n.. code-block:: python\n\n >>> from semverpy import SemVerPy\n >>> version = SemVerPy('1.0.0')\n >>> version.bump_minor()\n \n >>> str(version)\n '1.1.0'\n\nIt also supports comparisons:\n\n.. code-block:: python\n\n >>> version == SemVerPy('1.1.0')\n True\n >>> version > SemVerPy('1.0.0')\n True\n >>> version > SemVerPy('2.0.0')\n False\n\nWhen you bump a version, all the smaller version numbers are set to zeroes.\n\n.. code-block:: python\n\n >>> version.bump_major()\n \n >>> str(version)\n '2.0.0'\n\nYou can also define a build number when bumping a version:\n\n.. code-block:: python\n\n >>> version.bump_minor('buildinfo')\n \n >>> str(version)\n '2.1.0-buildinfo'\n\nLastly, if you define a partial version, you can be used as a dependency.\n\n.. code-block:: python\n\n >>> version.satisfies(SemVerPy('2.0'))\n False\n >>> version.satisfies(SemVerPy('2.1'))\n True\n >>> version.satisfies(SemVerPy('2'))\n True\n >>> version == SemVerPy('2.1')\n False\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Dinoshauer/SemVerPy", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "SemVerPy", "package_url": "https://pypi.org/project/SemVerPy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/SemVerPy/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Dinoshauer/SemVerPy" }, "release_url": "https://pypi.org/project/SemVerPy/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Bump versions. Semantically.", "version": "0.1.0" }, "last_serial": 1086530, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d59ee6df784bee945e7a6dfbb1d67c72", "sha256": "7b041c156435c605dbf01c7d7cdee6bec599c50b0065e8f9d85f37f55eee1616" }, "downloads": -1, "filename": "SemVerPy-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d59ee6df784bee945e7a6dfbb1d67c72", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2758, "upload_time": "2014-05-09T08:00:25", "url": "https://files.pythonhosted.org/packages/f2/31/24bf2822c5654c32c3b2e72f48a8331ff0eb3ac996be81a8142beea9066e/SemVerPy-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "06622a0917cf81731c79861055607436", "sha256": "ed7679448fa155ee664d8a2f9fd435c44775d3b9e19b873375b7364a47c336e4" }, "downloads": -1, "filename": "SemVerPy-0.1.0.tar.gz", "has_sig": false, "md5_digest": "06622a0917cf81731c79861055607436", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2769, "upload_time": "2014-05-09T09:16:34", "url": "https://files.pythonhosted.org/packages/66/21/2f992a5158cb0b4d5db9c65d4ab7db681a704272cf2cac1ec4948c2ee8cd/SemVerPy-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "06622a0917cf81731c79861055607436", "sha256": "ed7679448fa155ee664d8a2f9fd435c44775d3b9e19b873375b7364a47c336e4" }, "downloads": -1, "filename": "SemVerPy-0.1.0.tar.gz", "has_sig": false, "md5_digest": "06622a0917cf81731c79861055607436", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2769, "upload_time": "2014-05-09T09:16:34", "url": "https://files.pythonhosted.org/packages/66/21/2f992a5158cb0b4d5db9c65d4ab7db681a704272cf2cac1ec4948c2ee8cd/SemVerPy-0.1.0.tar.gz" } ] }