WebHelpers / README.txt


WebHelpers provides functions useful in web applications: generating HTML tags,
showing results a pageful at a time, etc.  It may be used with any web
framework or template engine.  A brief summary of the module layout is below;
see the docstrings in the source for documentation.

    Country codes, states and provinces.

    High-level container objects and dict/list helpers.

    Date/time helpers.  These currently format strings based on dates.

    A syndication feed library, used for generating RSS, Atom, etc.
    Ported from Django.

    A package of HTML-related helpers.

        A library for generating HTML tags with smart escaping.  All
        public symbols are imported into ``webhelpers.html``.

        Text-to-HTML converters.

        High-level HTML tags, including form tags, hyperlinks, and 
        Javascript/CSS links.  The ``ModelTags`` class builds input
        tags from database records (for any kind of database).

        Helpers producing chunks of HTML.

    A text to HTML converter.  Normally invoked via
    ````.  (If you use this library directly, you
    may have to wrap the results in ``literal()`` to prevent double escaping.)

    Helpers for images, PDFs, etc.

    Miscellaneous helpers that are neither text, numeric, container, or date.

    Numeric helpers and number formatters.

    A tool for letting you view a large sequence a screenful at a time,
    with previous/next links.

    Helpers for the Pylons framework.  These depend on Pylons context variables
    (request, response, session, etc) or other aspects of Pylons and its
    dependencies.  Most can be ported to other frameworks with little effort.
    The ``string`` module from Python 2.4.  Useful if you're running on
    Python 2.3.

    Helpers producing simple HTML tags.

    Helpers producing string output, suitable for both HTML and non-HTML

    Another text to HTML converter.  Normally invoked via

    Miscellaneous functions.

WebHelpers is package aimed at providing helper functions for use within web

These functions are intended to ease web development with template languages by
removing common view logic and encapsulating it in re-usable modules as well as
occasionally providing objects for use within controllers to assist with common
web development paradigms.

For support/question/patches, please use the `Pylons mailing list


WebHelpers does not have any install dependencies, but some functions depend
on third-party libraries.


    Version >= 1.7 must be installed and running in the current
    web framework for:

    - webhelpers.html.tags (required only for ``javascript_link()``,
      ``stylesheet_link()``, or ``auto_discovery_link()`` functions).
    - webhelpers.paginate
    - the regression tests in the source distribution

    Currently Pylons_, TurboGears_, and Aquarium_ support Routes.


    The helpers in ``webhelpers.pylonslib`` depend on Pylons context variables
    (e.g., ``pylons.session``).  They can easily be reimplemented in another
    web framework if desired.

.. _Routes:
.. _Pylons:
.. _TurboGears:
.. _Aquarium:
Tip: Use camelCasing e.g. ProjME to search for