Skip to main content

Parse and manipulate version numbers.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parver-0.4.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

parver-0.4-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file parver-0.4.tar.gz.

File metadata

  • Download URL: parver-0.4.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for parver-0.4.tar.gz
Algorithm Hash digest
SHA256 d4a3dbb93c53373ee9a0ba055e4858c44169b204b912e49d003ead95db9a9bca
MD5 382590ee6459de1eb6e86e1bbb20b2cb
BLAKE2b-256 cea50a2f93e7bb5ab3c35b37c991885264864c5803f4da830cf519c663991d78

See more details on using hashes here.

File details

Details for the file parver-0.4-py3-none-any.whl.

File metadata

  • Download URL: parver-0.4-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for parver-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c66d3347a4858643875ef959d8ba7a269d5964bfb690b0dd998b8f39da930be2
MD5 2814e0db90655a1e4f190daae4bcb01a
BLAKE2b-256 dd624e57467a2690df92c61bbf0afbb32a1f8763e34f7bf6c1577c6b80b98ebd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page