constraintslib 0.1
Robust constraint validation for attributes, functions and code blocks using abstract types
Constraints provides a rich set of validation tools which can be used almost anywhere. Using Constraint class instances as descriptors, you can perform validation at the class attribute level. Constraint objects can be used with Precondition, Postcondition and Invariant objects to validate a block of code (as context managers) or a function (as decorators).
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| constraintslib-0.120126.zip (md5) | Source | 2012-01-26 | 5KB | 148 | |
- Author: Nathan Rice
- Documentation: constraintslib package documentation
- Keywords: Validation, Trait, Constraint, DBC, Contract, Condition
- License: BSD 2 clause
- Categories
- Package Index Owner: nathanrice
- DOAP record: constraintslib-0.1.xml
