Bug#1016460: ITP: wtforms-json -- smart json support for WTForms
Package: wnpp Severity: wishlist Owner: Joseph Nahmias X-Debbugs-Cc: debian-de...@lists.debian.org, debian-python@lists.debian.org, kon...@fastmonkeys.com, j...@nahmias.net * Package name: wtforms-json Version : 0.3.5 Upstream Author : Konsta Vesterinen * URL : https://github.com/kvesteri/wtforms-json * License : BSD Programming Lang: Python Description : smart json support for WTForms WTForms-JSON is a WTForms extension for JSON data handling. It: . * Adds support for booleans (WTForms doesn’t know how to handle False boolean values) * Adds support for None type FormField values * Adds support for None type Field values * Support for patch data requests with patch_data Form property * Function for converting JSON data into dict that WTForms understands (flatten_json() function) This package is a dependency for superset. I plan to maintain this as part of the Debian Python Team (DPT).
Bug#1016461: ITP: wtforms-alchemy -- Tools for creating WTForms forms from SQLAlchemy models
Package: wnpp Severity: wishlist Owner: Joseph Nahmias X-Debbugs-Cc: debian-de...@lists.debian.org, debian-python@lists.debian.org, j...@nahmias.net, kon...@fastmonkeys.com * Package name: wtforms-alchemy Version : 0.18.0 Upstream Author : Konsta Vesterinen * URL : https://github.com/kvesteri/wtforms-alchemy * License : BSD Programming Lang: Python Description : Tools for creating WTForms forms from SQLAlchemy models WTForms-Alchemy provides a helper class that let you create a Form class from a SQLAlchemy model. It does not try to replace all the functionality of wtforms.ext.sqlalchemy, only the model_form function of wtforms.ext.sqlalchemy by a much better solution. Other functionality of .ext.sqlalchemy such as QuerySelectField and QuerySelectMultipleField can be used along with WTForms-Alchemy. . The benefits of WTForms-Alchemy ModelForm over wtforms.ext.sqlachemy’s model_form include: . * Provides explicit declaration of ModelForms (much easier to override certain columns) * Form generation supports Unique and NumberRange validators * Form inheritance support (along with form configuration inheritance) * Automatic SelectField type coercing based on underlying column type * By default uses wtforms_components SelectField for fields with choices. This field understands None values and renders nested datastructures as optgroups. * Provides better Unique validator * Supports custom user defined types as well as type decorators * Supports SQLAlchemy-Utils datatypes * Supports ModelForm model relations population * Smarter field exclusion * Smarter field conversion * Understands join table inheritance * Better configuration
Bug#1016462: ITP: wtforms-test -- unit test helpers for WTForms forms
Package: wnpp Severity: wishlist Owner: Joseph Nahmias X-Debbugs-Cc: debian-de...@lists.debian.org, debian-python@lists.debian.org, j...@nahmias.net, kon...@fastmonkeys.com * Package name: wtforms-test Version : 0.1.1 Upstream Author : Konsta Vesterinen * URL : https://github.com/kvesteri/wtforms-test * License : BSD Programming Lang: Python Description : pytest helpers for WTForms WTForms-Test provides various pytest unittest helpers for testing WTForms based forms. Includes checks for a field's existence on a form, and various attributes on a field such as: validators, min/max length, description, optional/required, etc...