Go to file
Frazer McLean 2f9396d5fc
Merge pull request #22 from RazerM/fix/docs
Fix copyright in docs
2022-12-20 19:57:02 +00:00
.github/workflows Use build 2022-11-11 22:29:07 +01:00
docs Fix copyright in docs 2022-12-04 19:18:43 +01:00
src/parver Fix neighbouring strings after formatting with black 2022-11-11 22:10:04 +01:00
tests Fix flake8 warnings 2022-12-02 22:53:27 +01:00
.gitignore Initial commit 2018-05-03 00:15:02 +02:00
.pre-commit-config.yaml Update pre-commit hooks 2022-11-10 16:14:38 +01:00
.readthedocs.yaml Use .readthedocs.yaml file 2022-12-04 19:21:33 +01:00
CHANGELOG.rst Bump version number to 0.4 2022-11-11 22:24:29 +01:00
LICENSE Add LICENSE and MANIFEST.in 2018-05-20 01:00:27 +02:00
MANIFEST.in .coveragerc doesn't exist anymore 2022-12-02 23:01:05 +01:00
README.rst Update badge 2020-09-28 21:15:41 +02:00
pyproject.toml Remove redundant wheel dep from pyproject.toml 2022-11-12 07:01:16 +01:00
setup.cfg Move project metadata to pyproject.toml 2022-11-11 21:54:11 +01:00
tox.ini Fix tox docs 2022-11-11 21:05:16 +01:00

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