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.5rc1.tar.gz
(10.4 kB
view hashes)
Built Distribution
Close
Hashes for verser-0.0.0.5rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e97cf3e2621580eb205fefbb888e1490d62bc0c5b428b14d371b0329aa7b54af |
|
MD5 | 51dcd6239bd2b88ab9ebfc1e8ca264b3 |
|
BLAKE2b-256 | 119cee7afa833fa0a357dec6dbebdf6e51e5cebca77338d13d55edd76591562b |