pycerberusHighly flexible, no magic input validation library | |
Download |
pycerberus Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Price:
- FREE
- Publisher Name:
- Felix Schwarz
- Publisher web site:
- http://www.schwarz.eu/
pycerberus Tags
pycerberus Description
Highly flexible, no magic input validation library pycerberus is a Python framework to check user data thoroughly so that you can protect your application from malicious (or just garbled) input data.* Remove stupid code which converts input values: After values are validated, you can work with real Python types instead of strings - e.g. 42 instead of '42', convert database IDs to model objects transparently.* Implement custom validation rules: Writing custom validators is straightforward, everything is well documented and pycerberus only uses very little Python magic.* Focus on your value-adding application code: Save time by implementing every input validation rule only once, but 100% right instead of implementing a dozen different half-baked solutions.* Ready for global business: i18n support (based on GNU gettext) is built in, adding custom translations is easy.* Tune it for your needs: You can implement custom behavior in your validators, e.g. fetch translations from a database instead of using gettext or define custom translations for built-in validators.* Use it wherever you like: pycerberus does not depend on specific contexts (e.g. web development) so you can also use it in every Python application. Requirements: · Python What's New in This Release: · Fixed bug due to duplicated message in DomainNameValidator/EmailAddressValidator · Validator can now strip inputs (False by default) · StringValidator now also treats '' as empty value (as well as None)
pycerberus Related Software