Skip to main content

yyafl is an easy to use web form generation, validtion and metadata utility library

Project description

Yann’s Yet Another Form Library is a web form validtion and metadata library. Inspired heavily by Django newforms, yyafl is a partial-reimplementation and adaptation of the ‘newforms’ library to exist outside of the Django infastructure, letting it be used in other frameworks, such as CherryPy and Pylons. Forms are created as a special class of domain object, which can then be validated and data extracted, and upon encountering errors, allow the form to be regenerated in HTML for the user’s viewing.

YYAFL believes in the separation of style from content, and as such is designed to be used in several different popular templating systems such as Mako and Cheetah, by allowing much of the layout work to be done in the templating system. If you wish to generate more generic, yet still flexible forms, yyafl has support for decorators (Python classes and callables) which are applied when rendering a form as HTML, compatible with basic template callable methods.

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page