Skip to main content

Damn Simple Validation Kit.

Project description

About

Validate dict-like object against schema, using just callables.

Features

  • Allows validating and sanitizing dicts using any callables
  • Provides several useful helpers
  • Easy to use – no class-bases boilerplate!

API

validate function takes any mapping as data and another mapping as scheme
and check data against scheme. It returns list of errors.

sanitize function takes any mapping as data and another mapping as scheme and converts data according to schema definition.

For more info – see tests.

Install

~/yourvirtualenv/python setup.py install

pip install kuvalda

License

The MIT License, in LICENSE file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for kuvalda, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size kuvalda-0.0.1.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page