Skip to main content

packaging-version-git

Implementation of creating version based on git status

PyPI PyPI - Python Version

Coverage Quality Gate Status

Downloads GitLab stars GitLab last commit

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

Release files for packaging-version-git 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for packaging-version-git 0.1.2
File Size Uploaded
packaging_version_git-0.1.2.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for packaging-version-git 0.1.2
File Interpreter ABI Platform
packaging_version_git-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.0 kB

Release files / packaging_version_git-0.1.2.tar.gz

Download URL packaging_version_git-0.1.2.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
371e5bbf1bfcbd9c641e5ef18cee8bdf07ec86f29b93cf17ce1902d5ab1ba569
BLAKE2b-256 checksum
How to use checksums
9aa91fc119e04ea2e1d0e3429a83c91a28a99282f856c38414d43af98bf3d6c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.2

Release files / packaging_version_git-0.1.2-py3-none-any.whl

Download URL packaging_version_git-0.1.2-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d17a9a45e925d17c16a51903a5cda6d7c6e47073c01a198990e6f302f6e1f9b2
BLAKE2b-256 checksum
How to use checksums
b6543c06c9ad39468a9fe387a961c873a43be8315e7c92d4d9df691a34e96f99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.2

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page