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 top of this readme file.
Publish
poetry publish --build [-r testpypi]
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.1.0.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for version_helper-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10f53e28ea847d0f9448dec4fd00f787e191ab4d099c6d745d3f168194c5f3ff |
|
MD5 | 0d042c9dcacddf97669d66d9787272ce |
|
BLAKE2b-256 | 375844255d515950e2f794c7b7a2e243b394d6573b8e8f0f25079d4cee9b4b19 |