1 """
2 Validation and conversion of data.
3
4 The problem of sanitizing data (checking correctness and transforming to a
5 useful form) is widespread throughout programming:
6
7 * How do I verify user input is correct?
8 * How do I munge data from a spreadsheet into dates and numbers?
9 * How do I convert raw database fields into an object?
10
11 Ian Bicking produced a sensible approach to this, embodied in his Formencode
12 library: data validation and conversion are one and the same thing, and can be
13 handled by passing raw data through a chain of validators. In this spirit,
14 *konval* is a package
15
16 * a rich library of validation objects
17 * base classes for easily producing custom validators
18 * functions for easily using validators on objects
19
20 """
21
22 __version__ = "0.1"
23 __author__ = "Paul-Michael Agapow"
24 __email__ = "pma@agapow.net"
25
26
27
28
29 from fxn import *
30 from basevalidator import *
31 from typeval import *
32 from containerval import *
33 from defs import *
34 from sizeval import *
35 from containerval import *
36 from vocabval import *
37 from stringval import *
38
39
40
41
42
43
44
45