Skip to main content

Automatic next version number for your project, you may keep tracks history of your package.

Project description

verser

from verser import Project, get_next_version

Version tracker for your python package

next version

project = Project(package_name="my_cool_package", default_version="0.0.0.0")

next_version = get_next_version(
    project=project,
    increment_=True,
    pre_release=False,
    verbose=True
)  
print(next_version)
# 0.0.0.1

pre release

project = Project(package_name="my_cool_package", default_version="0.0.0.0")

next_version = get_next_version(
    project=project,
    increment_=True,
    pre_release=True ,
    verbose=True
)  
print(next_version)
# 0.0.0.1rc1

creates version.py file with your new version

project = Project(package_name="my_cool_package", default_version="0.0.0.0")

next_version = get_next_version(
    project=project,
    increment_=True,
    pre_release=True ,
    verbose=True
)  
print(next_version)
# 0.0.0.1rc1

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

verser-0.0.0.6rc1.tar.gz (10.4 kB view hashes)

Uploaded Source

Built Distributions

verser-0.0.0.6rc1-py3-none-any.whl (11.3 kB view hashes)

Uploaded Python 3

verser-0.0.0.6rc1-py2.py3-none-any.whl (11.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page