Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

ToscaWidgets

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.

Credits

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.

Community

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]

Then run:

$ 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

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.