You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Frazer McLean 8fe3e931d7
Merge pull request #17 from RazerM/feature/py310
8 months ago
.github/workflows Test on Python 3.10 8 months ago
docs Fix copy/paste mistake 2 years ago
src/parver Bump version number to 0.3.1 2 years ago
tests Test untested branches of kwonly_args function 2 years ago
.gitignore Initial commit 4 years ago
.pre-commit-config.yaml Add pre-commit hooks 4 years ago
.readthedocs.yml Build docs on Python 3 4 years ago
CHANGELOG.md Update changelog 2 years ago
LICENSE Add LICENSE and MANIFEST.in 4 years ago
MANIFEST.in Add LICENSE and MANIFEST.in 4 years ago
README.rst Update badge 2 years ago
pyproject.toml Fix tox coverage paths 3 years ago
setup.cfg setup.cfg was uncommitted 2 years ago
setup.py Test on Python 3.10 8 months ago
tox.ini Test on Python 3.10 8 months ago

README.rst

PyPI

Documentation Status

CI Status

Test coverage

MIT License

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'>