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 callables) which are applied when rendering a form as HTML, compatible with basic template callable methods.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yyafl-0.2.0.tar.gz (7.9 kB view hashes)

Uploaded source

Supported by

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