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.2.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for version_helper-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d35a9831db6708faabead1e27eff2d81807c68ac0dc8a850d4c2eb1ba43034ad |
|
MD5 | bcb38eef97d2a54811620c6ecb2a13be |
|
BLAKE2b-256 | f7b83cb9d46f842594d2d45cb18c3f0334381cf196afce78b81d88a09a9204e9 |