| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Return as many validation errors as possible.multiple_errors | Alec Thomas | 2011-10-20 | 3 | -52/+106 |
| | | | | | | | Errors are now returned in an InvalidList exception, which has the same interface as Invalid but also includes a .errors attribute with all encountered errors. | ||||
| * | Merge pull request #2 from kjkuan/master | Alec Thomas | 2011-08-14 | 2 | -8/+37 |
| |\ | | | | | dict and list as type validators; validation returns the correct type of instance. | ||||
| | * | Fixed the mistake of using type(schema) instead of type(data). | Jack Kuan | 2011-08-11 | 2 | -4/+4 |
| | | | |||||
| | * | Made dict and list work as type validators... | Jack Kuan | 2011-08-11 | 2 | -8/+37 |
| |/ | | | | | | | | | | | | | | | | | 1. Made dict and list work as type validators so:: >>> Schema(dict)({'a': 1}) {'a': 1} >>> Schema(list)([1,2,3]) [1, 2, 3] 2. Validation now returns the correct type of instance for subclass of list or dict:: >>> class Dict(dict): ... pass >>> isinstance(Schema(Dict)(Dict(a=1)), Dict) True | ||||
| * | Added path-based validation. | Daniel Cooper | 2010-11-25 | 1 | -0/+31 |
| | | | | | | | - isdir(): verifies if the specified path exists and is a directory. - isfile(): verifies if the specified path exists and is a file. - path_exists(): verifies if the specified path exists. | ||||
| * | Add a bunch of string transforms. | Alec Thomas | 2010-11-23 | 1 | -1/+42 |
| | | |||||
| * | Allow None in schemas. | Alec Thomas | 2010-08-01 | 1 | -3/+4 |
| | | |||||
| * | Fix an oversight with helper functions using validate_scalar(). | Alec Thomas | 2010-08-01 | 1 | -4/+4 |
| | | |||||
| * | Document how types in the schema are handled. | Alec Thomas | 2010-07-28 | 1 | -1/+15 |
| | | |||||
| * | More documentation updates. | Alec Thomas | 2010-07-28 | 1 | -36/+60 |
| | | |||||
| * | Move ToC below introduction.0.3 | Alec Thomas | 2010-07-28 | 1 | -2/+2 |
| | | |||||
| * | Bump version to 0.3. | Alec Thomas | 2010-07-28 | 1 | -1/+1 |
| | | |||||
| * | Implement and document required+extra keys. | Alec Thomas | 2010-07-28 | 2 | -23/+92 |
| | | |||||
| * | Improved README considerably. | Alec Thomas | 2010-07-28 | 3 | -82/+238 |
| | | |||||
| * | Add support for "extra" keys. | Alec Thomas | 2010-07-27 | 3 | -22/+103 |
| | | |||||
| * | Added two new validators: range() and length(). | Alec Thomas | 2010-07-21 | 1 | -0/+25 |
| | | |||||
| * | Add BSD COPYING file. | Alec Thomas | 2010-07-20 | 1 | -0/+25 |
| | | |||||
| * | Fix syntax of MANIFEST.in. | Alec Thomas | 2010-07-20 | 1 | -1/+1 |
| | | |||||
| * | Add MANIFEST.in. | Alec Thomas | 2010-07-20 | 1 | -0/+1 |
| | | |||||
| * | Bump version to 0.2.0.2 | Alec Thomas | 2010-07-20 | 1 | -3/+3 |
| | | |||||
| * | *Vastly* improved error reporting. | Alec Thomas | 2010-07-20 | 3 | -122/+273 |
| | | |||||
| * | Missed a reference to README.rst.0.1 | Alec Thomas | 2010-07-15 | 2 | -3/+3 |
| | | |||||
| * | Add example to README and convert to RST. | Alec Thomas | 2010-07-15 | 3 | -1/+44 |
| | | |||||
| * | Add __version__ and __author__ support. | Alec Thomas | 2010-07-15 | 2 | -3/+13 |
| | | |||||
| * | Initial import. | Alec Thomas | 2010-07-15 | 4 | -0/+503 |
| | | |||||
| * | first commit | Alec Thomas | 2010-07-15 | 1 | -0/+0 |
