📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

packaging-version-increment

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

packaging-version-increment

Implementation of version increase following PEP 440 and SemVer conventions

0.1.3
PyPI
Maintainers
1

packaging-version-increment

Implementation of version increase following PEP 440 and SemVer conventions

PyPI PyPI - Python Version

Coverage Quality Gate Status

Downloads GitLab stars GitLab last commit

Documentation

Install:

pip install packaging-version-increment

Usage:

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:

make install

After changes:

make format test

Keywords

rocshers

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts