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
Release history Release notifications | RSS feed
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
File details
Details for the file pycerberus-0.7.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pycerberus-0.7.0-py2.py3-none-any.whl
- Upload date:
- Size: 45.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae7f7f91782f94ced77b628073b84192c77ff5615e4ea2b4d977dd0b578cdf97 |
|
MD5 | f845077a6f2519e3ac704f153cd36016 |
|
BLAKE2b-256 | 99f2a1a21566fe42a716768a81bf5efca7200ef466392ac0c9133755fe1ac53e |