Implementation of creating version based on git status
Project description
packaging-version-git
Implementation of creating version based on git status
Documentation
Install:
pip install packaging-version-git
Usage:
from packaging_version_git import GitVersion
version = GitVersion.from_tag()
print(version) # 0.1.0
version = GitVersion.from_commit(as_dev=True)
print(version) # 0.1.0.dev5+ef7fd31
Contribute
Issue Tracker: https://gitlab.com/rocshers/python/packaging-version-git/-/issues
Source Code: https://gitlab.com/rocshers/python/packaging-version-git
Before adding changes:
make install
After changes:
make format test
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file packaging_version_git-0.1.2.tar.gz.
File metadata
- Download URL: packaging_version_git-0.1.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
371e5bbf1bfcbd9c641e5ef18cee8bdf07ec86f29b93cf17ce1902d5ab1ba569
|
|
| MD5 |
382fdfdf03b923257b0e60a8b1a0e9ee
|
|
| BLAKE2b-256 |
9aa91fc119e04ea2e1d0e3429a83c91a28a99282f856c38414d43af98bf3d6c2
|
File details
Details for the file packaging_version_git-0.1.2-py3-none-any.whl.
File metadata
- Download URL: packaging_version_git-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d17a9a45e925d17c16a51903a5cda6d7c6e47073c01a198990e6f302f6e1f9b2
|
|
| MD5 |
d250ce28945cf47f601dcb3982d9ba71
|
|
| BLAKE2b-256 |
b6543c06c9ad39468a9fe387a961c873a43be8315e7c92d4d9df691a34e96f99
|