Port details on branch 2022Q2 |
- py-pycerberus Highly flexible, no magic input validation library
- 0.6 devel =0 0.6Version of this port present on the latest quarterly branch.
- Maintainer: douglas@douglasthrift.net
- Port Added: 2010-10-12 02:54:24
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- Also Listed In: python
- License: MIT
- WWW:
- https://www.schwarz.eu/opensource/projects/pycerberus
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}pycerberus>0:devel/py-pycerberus@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-pycerberus/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-pycerberus
- pkg install py39-pycerberus
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-pycerberus listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-pycerberus
- Package flavors (<flavor>: <package>)
- distinfo:
- SHA256 (pycerberus-0.6.tar.gz) = 1e0fc73b6c9619b3b780831299e2bb0a62094a0f6cc3f80a6a46c2072d5b79d1
SIZE (pycerberus-0.6.tar.gz) = 152848
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- devel_py-pycerberus
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|