Python package to validate version code.
Project description
Python package to validate version code.
How do I get this package?
As usual, just use pip:
pip install validate_version_code
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.1.tar.gz
.
File metadata
- Download URL: validate_version_code-1.0.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.13.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 660427c3bcff27fb259ccd6c5be555acc3fb276b023e558540d95fc572646d16 |
|
MD5 | 784ca91c1cf0e3e4c5668b31e33514a7 |
|
BLAKE2b-256 | 0541cb891482eaf08b680f09a0f7ad254cb6cca62af1812de79d80dcfd2f6715 |