Skip to main content

A simple, fast, extensible python library for data validation.

Project description

Overview:

from sys import version_info
from validr import SchemaParser

parser = SchemaParser()
validate = parser.parse({
    "major?int&min=3": "Major version",
    "minor?int&min=3": "Minor version",
    "micro?int&min=0": "Micro version",
    "releaselevel?str": "Release level",
    "serial?int": "Serial number"
})
print(validate(version_info))

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

validr-0.14.1.tar.gz (155.5 kB view details)

Uploaded Source

File details

Details for the file validr-0.14.1.tar.gz.

File metadata

  • Download URL: validr-0.14.1.tar.gz
  • Upload date:
  • Size: 155.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for validr-0.14.1.tar.gz
Algorithm Hash digest
SHA256 a3e94a9b59eb42b76e909bf534c99c55544d00897ef308fa1a028b455e2a780f
MD5 89edf9149808af9b7394fc795c7a5965
BLAKE2b-256 8d0978aaa6c73b2879d2dcf480d378ffc978c54213ce840bdc48ab52eccf5a11

See more details on using hashes here.

Supported by

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