packaging-version-increment


Namepackaging-version-increment JSON
Version 0.1.3 PyPI version JSON
download
home_pageNone
SummaryImplementation of version increase following PEP 440 and SemVer conventions
upload_time2024-11-12 20:49:56
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseMIT
keywords rocshers packaging
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # packaging-version-increment

Implementation of version increase following PEP 440 and SemVer conventions

[![PyPI](https://img.shields.io/pypi/v/packaging-version-increment)](https://pypi.org/project/packaging-version-increment/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/packaging-version-increment)](https://pypi.org/project/packaging-version-increment/)

[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=rocshers_packaging-version-increment&metric=coverage)](https://sonarcloud.io/summary/new_code?id=rocshers_packaging-version-increment)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=rocshers_packaging-version-increment&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=rocshers_packaging-version-increment)

[![Downloads](https://static.pepy.tech/badge/packaging-version-increment)](https://pepy.tech/project/packaging-version-increment)
[![GitLab stars](https://img.shields.io/gitlab/stars/rocshers/python/packaging-version-increment)](https://gitlab.com/rocshers/python/packaging-version-increment)
[![GitLab last commit](https://img.shields.io/gitlab/last-commit/rocshers/python/packaging-version-increment)](https://gitlab.com/rocshers/python/packaging-version-increment)

## Documentation

Install:

```bash
pip install packaging-version-increment
```

Usage:

```python
from packaging.version import Version
from packaging_version_increment import increment_version, IncrementEnum

version = Version('0.0.0')
print(version) # 0.0.0

new_version = increment_version(version, IncrementEnum.major)
print(new_version) # 1.0.0
```

## Contribute

Issue Tracker: <https://gitlab.com/rocshers/python/packaging-version-increment/-/issues>  
Source Code: <https://gitlab.com/rocshers/python/packaging-version-increment>

Before adding changes:

```bash
make install
```

After changes:

```bash
make format test
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "packaging-version-increment",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "rocshers, packaging",
    "author": null,
    "author_email": "Alekse Marusich <alekse.marusich@rocshers.com>",
    "download_url": "https://files.pythonhosted.org/packages/16/b6/949ade818b3ebcab5c688c0ab2cbd3785f06d1e0c642f933ef789052c0df/packaging_version_increment-0.1.3.tar.gz",
    "platform": null,
    "description": "# packaging-version-increment\n\nImplementation of version increase following PEP 440 and SemVer conventions\n\n[![PyPI](https://img.shields.io/pypi/v/packaging-version-increment)](https://pypi.org/project/packaging-version-increment/)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/packaging-version-increment)](https://pypi.org/project/packaging-version-increment/)\n\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=rocshers_packaging-version-increment&metric=coverage)](https://sonarcloud.io/summary/new_code?id=rocshers_packaging-version-increment)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=rocshers_packaging-version-increment&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=rocshers_packaging-version-increment)\n\n[![Downloads](https://static.pepy.tech/badge/packaging-version-increment)](https://pepy.tech/project/packaging-version-increment)\n[![GitLab stars](https://img.shields.io/gitlab/stars/rocshers/python/packaging-version-increment)](https://gitlab.com/rocshers/python/packaging-version-increment)\n[![GitLab last commit](https://img.shields.io/gitlab/last-commit/rocshers/python/packaging-version-increment)](https://gitlab.com/rocshers/python/packaging-version-increment)\n\n## Documentation\n\nInstall:\n\n```bash\npip install packaging-version-increment\n```\n\nUsage:\n\n```python\nfrom packaging.version import Version\nfrom packaging_version_increment import increment_version, IncrementEnum\n\nversion = Version('0.0.0')\nprint(version) # 0.0.0\n\nnew_version = increment_version(version, IncrementEnum.major)\nprint(new_version) # 1.0.0\n```\n\n## Contribute\n\nIssue Tracker: <https://gitlab.com/rocshers/python/packaging-version-increment/-/issues>  \nSource Code: <https://gitlab.com/rocshers/python/packaging-version-increment>\n\nBefore adding changes:\n\n```bash\nmake install\n```\n\nAfter changes:\n\n```bash\nmake format test\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Implementation of version increase following PEP 440 and SemVer conventions",
    "version": "0.1.3",
    "project_urls": null,
    "split_keywords": [
        "rocshers",
        " packaging"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "db7fdc99d0cbeba3605276ed17664a98de0e8523c36e3a67400af8aa884f3607",
                "md5": "71d4d63f4e2144e7365b570120505adc",
                "sha256": "fbb97ff7b12e6c122f50a148af4bcf00e44e094a0b6c3ce5bf37f0cfa78617b4"
            },
            "downloads": -1,
            "filename": "packaging_version_increment-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "71d4d63f4e2144e7365b570120505adc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 5042,
            "upload_time": "2024-11-12T20:49:54",
            "upload_time_iso_8601": "2024-11-12T20:49:54.679928Z",
            "url": "https://files.pythonhosted.org/packages/db/7f/dc99d0cbeba3605276ed17664a98de0e8523c36e3a67400af8aa884f3607/packaging_version_increment-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "16b6949ade818b3ebcab5c688c0ab2cbd3785f06d1e0c642f933ef789052c0df",
                "md5": "e5e7b087d84fc59e2c2c32e429dcb761",
                "sha256": "26817fa0708ff47a66e7a5507409e3b15aea1631ad3a8c06749d6f784d66fe04"
            },
            "downloads": -1,
            "filename": "packaging_version_increment-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "e5e7b087d84fc59e2c2c32e429dcb761",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 5253,
            "upload_time": "2024-11-12T20:49:56",
            "upload_time_iso_8601": "2024-11-12T20:49:56.600635Z",
            "url": "https://files.pythonhosted.org/packages/16/b6/949ade818b3ebcab5c688c0ab2cbd3785f06d1e0c642f933ef789052c0df/packaging_version_increment-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-12 20:49:56",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "packaging-version-increment"
}
        
Elapsed time: 0.44683s