Skip to main content

Highly flexible input validation library

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycerberus-0.7.1-py2.py3-none-any.whl (45.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pycerberus-0.7.1-py2.py3-none-any.whl.

File metadata

  • Download URL: pycerberus-0.7.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 45.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for pycerberus-0.7.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2a375e72a9daed555f18ea3e04ae93bb20170dcebc532d2e94e55fcc363e4aa9
MD5 efb6cc9ef7b08e0c087c4a1b77f25669
BLAKE2b-256 2fa022fad5f7109473d70f934baf5f221e7e231e633eb7e80aa3e85e597a4996

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page