Free Software Foundation!

Join now

PyCerberus

From Free Software Directory
 
Jump to: navigation,
[edit]

PyCerberus

http://www.schwarz.eu/opensource/projects/pycerberus
pycerberus is a 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.

Documentation

http://www.schwarz.eu/opensource/projects/pycerberus/docs/html/


Download

Download External-link-icon.png version 0.1 (beta)
released on 30 January 2010

Categories




Licensing

LicenseVerified byVerified onNotes
ExpatKelly Hopkins8 March 2010



Leaders and contributors

Contact(s)Role
"Email felix.schwarz@oss.schwarz.eu" Felix Schwarz Maintainer


Resources and communication

Audience Resource type URI
Developer Homepage http://pypi.python.org/pypi/pycerberus/0.1


Software prerequisites

This entry (in part or in whole) was last reviewed on 29 May 2010.



Entry


















Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.


Personal tools
Namespaces

Variants
Actions
Navigation
Contribute