Parse and manipulate version numbers.
Project Links
Meta
Author: Frazer McLean
Requires Python: >=3.10
Classifiers
Development Status
- 5 - Production/Stable
Intended Audience
- Developers
Programming Language
- Python :: 3 :: Only
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
- Python :: 3.15
- Python :: Implementation :: CPython
- Python :: Implementation :: PyPy
parver
parver allows parsing and manipulation of PEP 440 version numbers.
Example
>>> Version.parse('1.3').bump_dev()
<Version '1.3.dev0'>
>>> v = Version.parse('v1.2.alpha-3')
>>> v.is_alpha
True
>>> v.pre
3
>>> v
<Version 'v1.2.alpha-3'>
>>> v.normalize()
<Version '1.2a3'>
1.0.1.post0
Jul 30, 2026
1.0.1
Jul 30, 2026
1.0
May 19, 2026
0.5
Oct 03, 2023
0.4
Nov 11, 2022
0.3.1
Sep 28, 2020
0.3.0
Feb 20, 2020
0.2.1
Dec 31, 2018
0.2.0
Nov 20, 2018
0.1.1
Jun 19, 2018
0.1.0
May 19, 2018
Wheel compatibility matrix
Files in release
No dependencies