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)
Built Distributions
Close
Hashes for verser-0.0.0.6rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 072ffae9d27aa0db56519d8fdc3fa789d539ebd3230916ebe03483c97576616d |
|
MD5 | 588a1c31ebc719b7470a70ac10b050e2 |
|
BLAKE2b-256 | 7524a7397fdf368c2cbbbad887bb887eed7e3817bad76a2fef946a279b52c6db |
Close
Hashes for verser-0.0.0.6rc1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab998c55a11784e0ca4bf79f48fbd0630af5ee06d2deb2d6b538633daa92f820 |
|
MD5 | fbe6d9853fa2d6ec0c9fc1feb70e9eba |
|
BLAKE2b-256 | 06063a6319e84fd559769c279c2c2e261f481b66eaed7ae45220f54de13d0682 |