Skip to content
pycerberus is a library to validate user inputs data to protect your application from malicious (or just garbled) input data
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
pycerberus remove "simple_super"/"SuperProxy" Sep 14, 2019
tests remove "simple_super"/"SuperProxy" Sep 14, 2019
.gitignore move settings from .hgignore to .gitignore Nov 27, 2014
Changelog.txt remove "simple_super"/"SuperProxy" Sep 14, 2019
LICENSE.txt
MANIFEST.in move project metadata to setup.cfg Sep 14, 2019
README.md rename "description.txt" -> "RENAME.md" so there is some basic github… Jun 11, 2019
README.python3.txt update Python 3 status Jun 11, 2019
VERSION.txt move project metadata to setup.cfg Sep 14, 2019
assemble_source_release.py shorten license headers Dec 12, 2016
dev_requirements.txt declare dependencies in requirements.txt Dec 12, 2016
optional_requirements.txt declare dependencies in requirements.txt Dec 12, 2016
requirements.txt remove included version of six Dec 12, 2016
setup.cfg setup.cfg: declare project urls Sep 14, 2019
setup.py move project metadata to setup.cfg Sep 14, 2019
shippable.yml

README.md

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 and most things are well documented.
  • 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 is used in a SMTP server as well as traditional web applications. It also helps improving OCR results as part of custom OCR pipeline - there are no dependencies on a specific context like web development.
You can’t perform that action at this time.