Submodules

Module: formosa

Processing of user input to Web applications.

Because the Web is not a trusted environment, all input is considered tainted. Further, as HTTP is a simple protocol, only one type of data may be given as input: strings. It is the job of this module to enable applications to assert that input is well-formed and valid, and to translate it to native Python values.

Modules

fields

Translation of raw user input into validated Python values.

validators

Higher-level constraints on mappings of translated user input.

Classes

ErrorSet

Exception for failed translation of user input.

Form

Translator of user input into Python values.

FormosaException

Base class for Formosa exceptions.

TranslationError

Exception for when translation of a field fails.

ValidationError

Exception raised when a higher-level validation constraint fails.