Skip to main content

Panversion

panversion is a tool to manage and compare versions.

Philosophy

As a simple tool, panversion is pure-python. You can use a simple library or take its unque file to integrate it in your project.

Known versions

Panversion aims to be able to work a maximal number of version systems.

Right now, panversion is able to work with:

Usage

Comparison:

>>> from panversion import Version
>>> Version("1.0.3-alpha") < Version("1.0.3")   # Semantic form
True
>>> Version("1.0-a8") < Version("1.0-post1")   # Version specifiers form
True

Sorting:

>>> from panversion import Version
>>> sorted(["1.0.0-alpha", "1.0.0-beta", "1.0.0-rc.1", "1.0.0-alpha.beta", "1.0.0"], key=Version)
['1.0.0-alpha', '1.0.0-alpha.beta', '1.0.0-beta', '1.0.0-rc.1', '1.0.0']
>>> sorted(["0.9", "1.0rc1", "1.0a2", "1.0", "1.0a1", "1!0.8", "1.1a1", "1.0b1"], key=Version)
['0.9', '1.0a1', '1.0a2', '1.0b1', '1.0rc1', '1.0', '1.1a1', '1!0.8']

Normalization:

>>> from panversion import Version
>>> Version("1.2-rev.12")
1.2.post12

Metadata

Release files for panversion 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for panversion 0.1.0
File Size Uploaded Provenance Actions
panversion-0.1.0.tar.gz 17.7 kB Without provenance Details for panversion-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for panversion 0.1.0
File Interpreter ABI Platform Actions
panversion-0.1.0-py3-none-any.whl Python 3 none any Details for panversion-0.1.0-py3-none-any.whl

Total release size: 34.1 kB

Release files / panversion-0.1.0.tar.gz

Download URL panversion-0.1.0.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3c96cda26b04474425543d1ff48314ffbf06ec1060c6edea05c428511ed20df8
BLAKE2b-256 checksum
How to use checksums
fbbbe7661c1b2b86ef9516e827ff05edee9112b40952a4556175d05270fe2078
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / panversion-0.1.0-py3-none-any.whl

Download URL panversion-0.1.0-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b95ca965c072d16ea4ee1403154a87541f453c9a7efd83e1aaf6a4e03a08dde
BLAKE2b-256 checksum
How to use checksums
6f24b997b26aeca1e20a5dbafb5fe33d6dd1d236514317b0654e98b2bdb640fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Security for panversion 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page