ToscaWidgets (TW) is a web widget toolkit for Python to aid in the creation, packaging and distribution of common view elements normally used in the web.
These widgets are portable among any Python web-application framework or application that supports the WSGI standard.
Several widget libraries exist which build on top of Toscawidgets to provide form controls, sortable grids, maps, charts, etc.
ToscaWidgets was originally developed by Alberto Valverde Gonzalez based on the work of the many people involved in developing, testing and designing TurboGears' Widgets. TG Widget's original design was made by TurboGears' author, Kevin Dangoor . Michele Cella and Alberto worked hard to push TG's implementation to where it now stands.
Several people have contributed to ToscaWidgets itself and external widget packages.
For version 1.0, Diez B. Roggisch took over maintenance.
ToscaWidgets' community interacts in the toscawidgets-discuss Google Group. It's not rare to see discussion in Turbogears and Pylons lists too.
ToscaWidgets documentation, repository and Trac lives at http://toscawidgets.org/
Running the tests
- create a virtualenv
- activate it
- run python setup.py develop
- run easy_install ToscaWidgets[tests]
$ nosetests tests
To run all tests, install tw.forms.
Building the docs
Make sure you have the extras_require for building the docs installed. You can do that within a development-installation with:
$ easy_install "ToscaWidgets[build_docs]"
Then to build the docs, do:
$ python setup.py build_sphinx --source-dir=docs --build-dir=output