parver
Parse and manipulate version numbers.
What it is and what it does
parver is a lightweight library for working with PEP 440 version numbers in Python. It provides a Version class that can parse version strings in various formats (including non-normalized forms like 'v1.2.alpha-3'), expose version components as attributes, and perform common operations like bumping development versions or normalizing to canonical form.
The package has no external dependencies and targets modern Python versions, making it straightforward to integrate into build tools, version management scripts, or any system that needs to reason about version numbers programmatically. It handles the complexity of PEP 440's grammar so you don't have to.
Use it for:
- Bump development or release versions in build automation and CI/CD pipelines.
- Parse and validate version strings from package metadata or Git tags.
- Check whether a version is a pre-release, alpha, beta, or release candidate.
- Normalize non-standard version strings to PEP 440 canonical form for comparison.
- Extract version components for conditional logic in version-aware tools.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
parver parses and manipulates PEP 440 version numbers, allowing you to inspect version components, check pre-release status, and perform version bumping operations.
Yes. parver is a stable, actively maintained library with zero dependencies, a permissive MIT license, and no known vulnerabilities. Install it if you need to parse or manipulate PEP 440 versions; the low friction and focused scope make it a straightforward choice for version-handling tasks.
Install
parver on PyPI
pip
pip install parveruv
uv add parverpoetry
poetry add parverInstalling parver
Before you install
Low install friction with no runtime dependencies. The package is actively maintained with a recent release and supports current Python versions.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.
Quickstart
pip install parver
from parver import Version
v = Version.parse('1.3')
v.bump_dev()
v2 = Version.parse('v1.2.alpha-3')
print(v2.is_alpha)
print(v2.normalize())
Requires Python 3.10 or later.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 15 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 7,815,628/month — #1,691 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: parver-1.0.1.post0-py3-none-any.whl
Keywords: parse, pep440, version
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
awesomeversionParse and compare version strings across…
permissive · top 5,000 on PyPI
verlib2Provides standalone version comparison and…
unclear · top 15,000 on PyPI
semverParse, compare, and manipulate semantic version…
permissive · top 1,000 on PyPI
vcvervcver generates version strings for Python…
permissive · top 15,000 on PyPI
dep-logicPerforms logical operations (AND, OR) on PEP…
permissive · top 5,000 on PyPI
dunamaiDunamai generates dynamic, standards-compliant…
permissive · top 5,000 on PyPI
setuptools-git-versioningAutomatically generates PEP 440-compliant…
permissive · top 5,000 on PyPI
semver4Parses and manipulates semantic versions with…
permissive · top 15,000 on PyPI
bumpAutomatically increments version numbers in…
permissive · top 15,000 on PyPI
packversProvides core utilities for Python package…
permissive · top 15,000 on PyPI