verser
Project description
verser
from verser import Project, get_next_version
creates version.py file on your package's root
#__version__.py
#3.1.2.0
next_version = get_next_version(
project=Project("my_cool_project"),
increment_=True,
pre_release=False,
verbose=True
)
# pre_release : False, and increment_ True returns
# 3.1.2.0
# pre_release : True, and increment_ True returns
# 3.1.2.1rc1
# pre_release : True, and increment_ True returns
# 3.1.2.1rc2
# pre_release : False, and increment_ True returns
# 3.1.2.1
next version number for your project
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("Getting next version", next_version)
Version tracker for your python package
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for verser-0.0.0.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 684e2625b02ee9f925d007306e713b45b425e26cc12a586110c723c34f05f7fb |
|
MD5 | e37051954eab2cf42e7e46c67dab93a4 |
|
BLAKE2b-256 | 31f3cdd494e66cef0c10096d5afd30898d59d75b236c13d4df035222ce7e7396 |