A simple simple git version helper in python.
Project description
pyGitVersionHelper
A tiny library to help versioning management of git python projects
Because a good developer is a lazy developer and version management in CI/CD can be very time consuming.
Checkout Latest Documentation.
Features
- list tags
- get last tag
- get last version
- get current version (bumped)
- convert / switch from SemVer to PEP440 (both ways)
- automatic version format detection (SemVer by default)
- get commit message history
Options
- restrict to same branch
- both SemVer and PEP440 support
- custom output format
- configurable default bump type: major, minor, patch or dev
- configurable default bump strategy: post, pre-patch, pre-minor, pre-major
- ignore non-version tag
- force version format
Process
- full CI/CD developpment: Gitea / Jenkins + few python libs (pytlint, coverage, unittest, mkdocs)
- documentation generated mkdocs and self-hosted
- CI/CD on Linux, manually tested in Windows environnement
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
pygitversionhelper-1.3.6.tar.gz
(110.0 kB
view details)
Built Distribution
File details
Details for the file pygitversionhelper-1.3.6.tar.gz
.
File metadata
- Download URL: pygitversionhelper-1.3.6.tar.gz
- Upload date:
- Size: 110.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23c1e1ec80e3a3e6acb02f2464729dcb692994194067af1d0178e76e4c8cd089 |
|
MD5 | d03d04c5ca935bb1f6d09397e72ee7b0 |
|
BLAKE2b-256 | 09b5ad133ada670cfc9dd348368e09929cd283bf103ce6b0c56e18f7434d3f86 |
File details
Details for the file pygitversionhelper-1.3.6-py3-none-any.whl
.
File metadata
- Download URL: pygitversionhelper-1.3.6-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8321bc2203bab19a9dfce31ff10a50882fde7efa864e8d8ae74cc6ed1b00f3b3 |
|
MD5 | 9a4e8922ea1a2056d4e7bd2cf0cc001d |
|
BLAKE2b-256 | 552fa5f5f806e2d64fc5d0f64a50ce1ced2847721390873c95232c219759bb53 |