Helpers for a better version management in python projects
Project description
Version Helper
version-helper
is a package for a better version management in python projects.
This package is still under development. Code may change frequently.
from version_helper import Version
# Parse output from `git describe --tag` and
# return a semantic versioning compatible `Version` object
v = Version.get_from_git_describe()
# Output core version string including major, minor and patch
print(v.core)
# Output full Semantic Version string including core, prerelease and build metadata
print(v.full)
Table of Contents
Installing version-helper
pip install version-helper
Code example see at the top of this page.
Publish
poetry publish --build [-r testpypi]
Changelog
All notable changes to this project will be documented in the CHANGELOG.md.
References
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
version-helper-0.2.0a1.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for version_helper-0.2.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59ba4016678880ebd4c03e98a128595c72a9175f335f113508a5ff61fe1b38d4 |
|
MD5 | b8ea59e99ebfb692698fcf7391e2f0ec |
|
BLAKE2b-256 | 82c682be1adf91453ef260e5c7fd39bd9a9a61680159ce3245090166eb4deaa9 |