BSD Ports

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

SystemPortVersion
FreeBSDdevel/py-pycerberus0.6_1
DragonFlydevel/py-pycerberus0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.6_10.6_10.60.6_10.6_1
FreeBSD:14:quarterly0.6_10.6_1n/a0.6_10.6_1
FreeBSD:15:latest0.6_10.6_1n/a0.6_10.6_1
FreeBSD:15:quarterly0.6_10.6_1n/an/an/a
FreeBSD:16:latest0.6_10.6_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
FileSizeSHA256
pycerberus-0.6.tar.gz1528481e0fc73b6c9619b3b780831299e2bb0a62094a0f6cc3f80a6a46c2072d5b79d1
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.