WebHelpers / unfinished /

Filename Size Date modified Message
..
1.7 KB
2.6 KB
1.5 KB
5.1 KB
1.6 KB
7.9 KB
13.3 KB
1.3 KB
702 B
1.9 KB
This directory contains helpers that aren't ready to put into the distribution.
Some work but need API changes or documentation. Others fail their tests or
don't work at all.

baseN.py

    Convert an int to any base using any alphabet. This can be used to encode
    base64, or to compress large numbers into fewer digits.

containers.py

    Functions being considered for ``webhelpers.containers``.

disabled_test_pylonslib_minify.py

    Failing tests for ``webhelpers.pylonslib.minify``.  Need expertise to
    tell whether these tests are valid or not.

document.py

    Beginning of a helper to generate a well-formed (X)HTML document with a 
    minimum of inputs (body, optional head, optional head features).

logging_optparse.py

    An extension of Python's ``optparse`` module that adds standard logging
    options, including a new trace level and SQLAlchemy engine logging.
    The plan is to port it to the ``argparse`` module which is in PyPI and
    will be standard in Python 2.7 and 3.2.

multimedia.py

    More multimedia helpers. These have various dependencies and file naming
    conventions which may not be appropriate for WebHelpers.

number_to_human_size.py

    The ``number_to_human_size()`` helper from WebHelpers 0.6.4 rails helpers.
    We're planning to offer a more comprehensive helper but haven't settled on
    the API yet; 
    see http://bitbucket.org/bbangert/webhelpers/issue/2/reinstate-number_to_human_size
    In the meantime, you can copy this version to your application if
    you need it.

opener.py

    A unified opener for regular or compressed files. Leaving as is to see if
    we can make a better one in Python 3.

sanitize_filename.py

    Sanitize an arbitrary path (as from a file upload) to a safe filename.
    
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.