ADCM version
Name
ADCM version
Description
This package is intended to compare versions of the ADCM product.
Installation
pip install adcm-version
Usage
There are two major functions to compare versions:
compare_adcm_versions(this, other)- Compare two ADCM version stringscompare_prototype_versions(this, other)- Compare two prototype version strings for ADCM objects
Both returning:
ComparisonResult.NEWERwhenthisis newerComparisonResult.EQUALwhen versions are equalComparisonResult.OLDERwhenotheris newer
Example:
>>> from adcm_version import compare_prototype_versions, ComparisonResult
>>> compare_prototype_versions("2.1.10_b1", "2.1.6_b4")
ComparisonResult.NEWER
As for releases 2.x.y ComparisonResult can be treated as integer (returned value of 1.x.y versions).
Also there is a function to check if version format is legacy ADCM version format:
-
is_legacy(version)- returnTrue, if ADCM version format is old (for example2023.11.28.07), elseFalse>>> from adcm_version import is_legacy >>> is_legacy("2021.11.22.15") True
Metadata
Release files for adcm-version 2.0.0
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 |
|---|---|---|---|---|
| adcm_version-2.0.0.tar.gz | 1.8 kB | Without provenance | Details for adcm_version-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| adcm_version-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for adcm_version-2.0.0-py3-none-any.whl |
Total release size: 4.2 kB
Release files / adcm_version-2.0.0.tar.gz
| Download URL | adcm_version-2.0.0.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9abb776869b7155dff841b3c6364477d76cf9bc34395a20cc5815376060ce104
|
|
BLAKE2b-256 checksum How to use checksums |
0bf71d3eebccfe92d508ce2465df99b52af88f98f8f2678e8e0d8881e99baff6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.11.7 Linux/5.4.0-216-generic
|
Release files / adcm_version-2.0.0-py3-none-any.whl
| Download URL | adcm_version-2.0.0-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07113967ef43bbee29fadcef236da31e49a645681e8922d1af53b01a94b0608d
|
|
BLAKE2b-256 checksum How to use checksums |
3010eca3e77268aded8213c65b078ca7e58fd839dd640b417a0e243ad7594d6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.11.7 Linux/5.4.0-216-generic
|
Security for adcm-version 2.0.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.