Python package to validate version codes.
Project description
validate_version_code
Python package to validate version codes.
How do I install this package?
As usual, just download it using pip:
pip install validate_version_code
Usage Example
Here’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)
License
This package is distributed under the MIT license. This license can be found here.
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.5.tar.gz.
File metadata
- Download URL: validate_version_code-1.0.5.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70b1ec0474b7280339da3de2214ba8804c39a6d0290cd00905c8348796fa6dd5
|
|
| MD5 |
e15f616ae62d1e82fdea573f39ef5740
|
|
| BLAKE2b-256 |
0e64eb5884db8549c1b2d0ac8d7bbea3f898d5e3c9da6d7f7bf65f188c5b7d57
|