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.1.1.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for version_helper-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a485a73f7c728a9793297e254e93111196424e191e757b08b99706149c4815d |
|
MD5 | 6a569c62ee9a027e47303f865f30b71f |
|
BLAKE2b-256 | 5ce5bf1c70045a37d21655583526b69e8c0843906264745490a6a8285610bb19 |