Skip to main content

Python package to validate version codes.

Project description

Travis CI build SonarCloud Quality SonarCloud Maintainability Codacy Maintainability Maintainability Pypi project Pypi total project downloads

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 sometime get slightly different results, here’s three of them:

Coveralls Coverage SonarCloud Coverage Code Climate Coverate

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

validate_version_code-1.0.2.tar.gz (2.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page