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-1.0.tar.gz (104.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-1.0-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: parver-1.0.tar.gz
  • Upload date:
  • Size: 104.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for parver-1.0.tar.gz
Algorithm Hash digest
SHA256 e59ad804a0d6ddd532033cb67c5bc26fdbfbfe3d06fe76f2bee48727e2fa5229
MD5 7eb829f6c0d2c74e788af467724f6abd
BLAKE2b-256 24246bf5a4462c04edeaed40c74b85bd4f481f634415fe8cdfece1ddabc042f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for parver-1.0.tar.gz:

Publisher: python-publish.yml on RazerM/parver

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: parver-1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for parver-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba201193c651d5d4de3761ee2709a31fb451280271325607ce1632653617a43e
MD5 7bc31a912e81e5106e0a18545d84f220
BLAKE2b-256 b9e4dcfdaf1fda1883e3fb34a410158cc61e68644c4024c4bdef81e1532cde06

See more details on using hashes here.

Provenance

The following attestation bundles were made for parver-1.0-py3-none-any.whl:

Publisher: python-publish.yml on RazerM/parver

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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