{% extends "layout.html" %} {% set title = 'Overview' %} {% block body %}

WebHelpers

WebHelpers is a wide variety of utility functions for web applications and other applications. It can be used with any web framework. Version 1.1 was released 2009-08-09. See What's New for a list of changes and upgrading hints. (The helpers deprecated in 0.6 are removed in 1.0, including the entire rails suite.)

WebHelpers includes the widely-used HTML tag builder with smart escaping and convenience functions for common tags such as form fields. The common builder ensures the tags are syntactically correct and prevent cross-site scripting attacks and double-escaping.

Other helpers perform text processing, split a large number of records into pages, generate Atom/RSS feeds with geographical (GIS) data, handle MIME types, calculate numerica statistics, and more. There are also high-level container types, including a value counter and accumulator. There are lists of country names, country codes, US states, Canadian provinces, and UK counties.

WebHelpers is pure Python and has no dependencies. However, a few helpers depend on Routes, unidecode, WebOb, or Pylons, as noted in their documentation. WebHelpers requires Python 2.4 or higher, and has not yet been tested with Python 3. An extensive test suite for doctest and Nose is included.

For support/question/patches, please use the pylons-discuss mailing list.

Documentation

Download WebHelpers PDF documentation.

Development

WebHelpers source code is at BitBucket.

Overview - Wiki - Source code - Bug tracker

To check out the Mercurial repository:

hg clone http://www.bitbucket.org/bbangert/webhelpers
{% endblock %}