parver


Nameparver JSON
Version 0.5 PyPI version JSON
download
home_page
SummaryParse and manipulate version numbers.
upload_time2023-10-03 21:06:54
maintainer
docs_urlNone
author
requires_python>=3.8
licenseMIT
keywords pep440 version parse
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: https://img.shields.io/pypi/v/parver.svg
   :target: https://pypi.org/project/parver/
   :alt: PyPI

.. image:: https://img.shields.io/badge/docs-read%20now-blue.svg
   :target: https://parver.readthedocs.io/en/latest/?badge=latest
   :alt: Documentation Status

.. image:: https://github.com/RazerM/parver/workflows/CI/badge.svg?branch=master
   :target: https://github.com/RazerM/parver/actions?workflow=CI
   :alt: CI Status

.. image:: https://codecov.io/gh/RazerM/parver/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/RazerM/parver
   :alt: Test coverage

.. image:: https://img.shields.io/github/license/RazerM/parver.svg
   :target: https://raw.githubusercontent.com/RazerM/parver/master/LICENSE.txt
   :alt: MIT License

parver
======

parver allows parsing and manipulation of `PEP 440`_ version numbers.

Example
=======

.. code:: python

    >>> Version.parse('1.3').bump_dev()
    <Version '1.3.dev0'>
    >>> v = Version.parse('v1.2.alpha-3')
    >>> v.is_alpha
    True
    >>> v.pre
    3
    >>> v
    <Version 'v1.2.alpha-3'>
    >>> v.normalize()
    <Version '1.2a3'>

.. _`PEP 440`: https://www.python.org/dev/peps/pep-0440/

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "parver",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "pep440,version,parse",
    "author": "",
    "author_email": "Frazer McLean <frazer@frazermclean.co.uk>",
    "download_url": "https://files.pythonhosted.org/packages/cc/e5/1c774688a90f0b76e872e30f6f1ba3f5e14056cd0d96a684047d4a986226/parver-0.5.tar.gz",
    "platform": null,
    "description": ".. image:: https://img.shields.io/pypi/v/parver.svg\n   :target: https://pypi.org/project/parver/\n   :alt: PyPI\n\n.. image:: https://img.shields.io/badge/docs-read%20now-blue.svg\n   :target: https://parver.readthedocs.io/en/latest/?badge=latest\n   :alt: Documentation Status\n\n.. image:: https://github.com/RazerM/parver/workflows/CI/badge.svg?branch=master\n   :target: https://github.com/RazerM/parver/actions?workflow=CI\n   :alt: CI Status\n\n.. image:: https://codecov.io/gh/RazerM/parver/branch/master/graph/badge.svg\n   :target: https://codecov.io/gh/RazerM/parver\n   :alt: Test coverage\n\n.. image:: https://img.shields.io/github/license/RazerM/parver.svg\n   :target: https://raw.githubusercontent.com/RazerM/parver/master/LICENSE.txt\n   :alt: MIT License\n\nparver\n======\n\nparver allows parsing and manipulation of `PEP 440`_ version numbers.\n\nExample\n=======\n\n.. code:: python\n\n    >>> Version.parse('1.3').bump_dev()\n    <Version '1.3.dev0'>\n    >>> v = Version.parse('v1.2.alpha-3')\n    >>> v.is_alpha\n    True\n    >>> v.pre\n    3\n    >>> v\n    <Version 'v1.2.alpha-3'>\n    >>> v.normalize()\n    <Version '1.2a3'>\n\n.. _`PEP 440`: https://www.python.org/dev/peps/pep-0440/\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Parse and manipulate version numbers.",
    "version": "0.5",
    "project_urls": {
        "Documentation": "https://parver.readthedocs.io",
        "Source Code": "https://github.com/RazerM/parver"
    },
    "split_keywords": [
        "pep440",
        "version",
        "parse"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0f4cf98024021bef4d44dce3613feebd702c7ad8883f777ff8488384c59e9774",
                "md5": "e0faa4b2264d504fa6f1cc96849a6722",
                "sha256": "2281b187276c8e8e3c15634f62287b2fb6fe0efe3010f739a6bd1e45fa2bf2b2"
            },
            "downloads": -1,
            "filename": "parver-0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e0faa4b2264d504fa6f1cc96849a6722",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 15172,
            "upload_time": "2023-10-03T21:06:52",
            "upload_time_iso_8601": "2023-10-03T21:06:52.796909Z",
            "url": "https://files.pythonhosted.org/packages/0f/4c/f98024021bef4d44dce3613feebd702c7ad8883f777ff8488384c59e9774/parver-0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cce51c774688a90f0b76e872e30f6f1ba3f5e14056cd0d96a684047d4a986226",
                "md5": "9868dd676bd453f4628708d3d95c7986",
                "sha256": "b9fde1e6bb9ce9f07e08e9c4bea8d8825c5e78e18a0052d02e02bf9517eb4777"
            },
            "downloads": -1,
            "filename": "parver-0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "9868dd676bd453f4628708d3d95c7986",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 26908,
            "upload_time": "2023-10-03T21:06:54",
            "upload_time_iso_8601": "2023-10-03T21:06:54.506668Z",
            "url": "https://files.pythonhosted.org/packages/cc/e5/1c774688a90f0b76e872e30f6f1ba3f5e14056cd0d96a684047d4a986226/parver-0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-03 21:06:54",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "RazerM",
    "github_project": "parver",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "parver"
}
        
Elapsed time: 0.12933s