Python package to validate version codes.
Project description
Python package to validate version codes.
How do I install this package?
As usual, just download it using pip:
pip install validate_version_code
Tests Coverage
Since some software handling coverages sometimes get slightly different results, here’s three of them:
Usage example
He’s a basic how-to:
from validate_version_code import validate_version_code
valid_version_code = "1.2.3"
invalid_version_code = "beta.3"
assert validate_version_code(valid_version_code)
assert not validate_version_code(invalid_version_code)
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
File details
Details for the file validate_version_code-1.0.4.tar.gz
.
File metadata
- Download URL: validate_version_code-1.0.4.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d766d1b9b9c10f354542f6376bfd764037c8bdf4f6e59dfc9ed60dc14e2600b |
|
MD5 | 1cec56353892de597cffaa93081c5dec |
|
BLAKE2b-256 | 283f3f9ff0a9b70272341b72a3a377d5142e987ed8ae6f836a6672a6d6f7c7a6 |