GitVersioned¶
Opinionated PEP 440 Python versioning for Git repos and submodules. Enforces CI/User authority and generates rich version.py files with deep metadata for auditability. Native Hatch & Setuptools support. Simple, predictable, and foolproof automation.
Overview¶
What's Included¶
Getting Started
Installation guide, quick start tutorial, and common workflow walkthroughs.
Guides
Step-by-step guides for common tasks, integrations, and configuration patterns.
Security
Our security policy, responsible disclosure process, and supported versions.
Quick Install¶
Build Configuration¶
GitVersioned is primarily used as a build plugin. The preferred pathway is to configure it in your pyproject.toml:
[build-system]
requires = ["hatchling", "gitversioned"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "gitversioned"
For advanced installation options, Setuptools alternatives, and step-by-step onboarding, see the Installation Guide.