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.0a0.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for version_helper-0.2.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a89f4d18e93ab982e16835d266e49913207936fc904d619dec2412c5eda12fa |
|
MD5 | cec9caec6460e73d0e0de224bdc37a26 |
|
BLAKE2b-256 | 85205a4975e5097d4dcb7e3a87fc82a3ed8e7bc97675c99a51eed973fb580feb |