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 sometimes 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.4.tar.gz (3.0 kB view details)

Uploaded Source

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

Hashes for validate_version_code-1.0.4.tar.gz
Algorithm Hash digest
SHA256 5d766d1b9b9c10f354542f6376bfd764037c8bdf4f6e59dfc9ed60dc14e2600b
MD5 1cec56353892de597cffaa93081c5dec
BLAKE2b-256 283f3f9ff0a9b70272341b72a3a377d5142e987ed8ae6f836a6672a6d6f7c7a6

See more details on using hashes here.

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