rsxdalv/Extract Python Package Version

Extract version from setup.py, pyproject.toml, or __init__.py files

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
file-pathPath to the file containing version (setup.py, pyproject.toml, __init__.py)noauto
fallback-versionFallback version if no version is foundno0.0.0
namedescription
versionThe extracted version number
tagThe version with v prefix (e.g., v1.2.3)
majorMajor version number
minorMinor version number
patchPatch version number