devel/py-pycerberus 0.6_1 FreeBSD
Highly flexible, no magic input validation library
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, python
- Package size
- 74.7 KiB, 406.1 KiB installed
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, 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 is used in a SMTP server, trac macros as well as web applications - there are no dependecies on a specific context like web development.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-pycerberus | 0.6_1 |
| DragonFly | devel/py-pycerberus | 0.6_1 |
Install
Binary package:
pkg install py312-pycerberus
From the ports tree:
cd /usr/ports/devel/py-pycerberus/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-pycerberus>0:devel/py-pycerberus
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.6_1 | 0.6_1 | 0.6 | 0.6_1 | 0.6_1 |
| FreeBSD:14:quarterly | 0.6_1 | 0.6_1 | n/a | 0.6_1 | 0.6_1 |
| FreeBSD:15:latest | 0.6_1 | 0.6_1 | n/a | 0.6_1 | 0.6_1 |
| FreeBSD:15:quarterly | 0.6_1 | 0.6_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.6_1 | 0.6_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 11
Run dependencies 7
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pycerberus-0.6.tar.gz | 152848 | 1e0fc73b6c9619b3b780831299e2bb0a62094a0f6cc3f80a6a46c2072d5b79d1 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.