semver_range
Python package for semantic versioning 2.0.0 that mimics the node semver package. The interface is designed to be more “pythonic” and does not match semver’s logic 100%.
Usage
Install using pip install semver_range. Sample usage:
>>> from semver_range import Version, Range
>>> version_range = Range('>=0.1.1 <0.3.0')
>>> Version('0.2.2') in version_range
True
>>> version_range.highest_version(['0.1.1', '0.2.0', '0.3.0'])
<Version "0.2.0">
Alternatives
semantic_version is a great package which differs slightly in its implementation of semantic versioning, for example when incrementing a minor version of a pre-release.
Metadata
Release files for semver_range 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| semver_range-0.0.3.tar.gz | 6.1 kB | Without provenance | Details for semver_range-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| semver_range-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for semver_range-0.0.3-py3-none-any.whl |
Total release size: 13.1 kB
Release files / semver_range-0.0.3.tar.gz
| Download URL | semver_range-0.0.3.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ccd09d5a28da3627374e41740879e85c3ce68cd607cf37bf6cbb52beb1f3a90
|
|
BLAKE2b-256 checksum How to use checksums |
ce7783ecf5c4612ff5bac6e9566e5729c222c2daf51b065a8e136509de2f75f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Release files / semver_range-0.0.3-py3-none-any.whl
| Download URL | semver_range-0.0.3-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd609e036a2a0952474b1ccb1d694da407d681ae7f36f53abc2209e6d02189d3
|
|
BLAKE2b-256 checksum How to use checksums |
31e65b97fe25f2ed73490d6b793d01aef25ba61d32f35f3891b2d98ef3f55a6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Security for semver_range 0.0.3
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.