Py-pycerberus

Jul 20, 2023

Highly flexible, no magic input validation library

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.


Checkout these related ports:
  • Zziplib - Library to provide transparent read access to zipped files
  • Zydis - Fast and lightweight x86/x86-64 disassembler library
  • Zycore-c - Support library with platform independent types, macros, etc for Zydis
  • Zthread - Platform-independent object-oriented C++ threading library
  • Zookeeper - Coordination Service for Distributed Applications
  • Zls - Zig LSP implementation + Zig Language Server
  • Zfp - High throughput library for compressed floating-point arrays
  • Zeal - Offline documentation browser
  • Zapcc - C++ caching compiler based on clang
  • Zanata-platform - Web-based translation platform
  • Zanata-cli - Zanata Java command line client
  • Z88dk - Complete Z80/Z180 development kit
  • Z80ex - ZiLOG Z80 CPU emulator library
  • Z80asm - Assembler for the Z80 microprocessor
  • Z80-asm - Z80 assembly code assembler and disassembler