skip to navigation
skip to content

kuvalda 0.0.1

Damn Simple Validation Kit.

Downloads ↓

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.

 
File Type Py Version Uploaded on Size # downloads
kuvalda-0.0.1.tar.gz (md5) Source 2011-11-20 2KB 218