🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

validate-version-code

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

validate-version-code

Python package to validate version codes.

1.0.5
PyPI
Maintainers
1

validate_version_code

PyPI Downloads License Github Actions

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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts