Personal tools
Skip to content. | Skip to navigation
html5lib
This package contains several handy python methods to cleanup HTML markup or perform other common changes. The cleanup is strict enough to be able to clean HTML pasted from MS Word or Apple Pages. This package also contains integration code for z3c.form to provide fields that automatically sanitize HTML on save. The implementation is based on the Cleaner class from lxml.
i18ndude performs various tasks related to ZPT's, Python Scripts and i18n.
iCalendar specification (RFC 2445) defines calendaring format used by many applications (Zimbra, Thunderbird and others). This module is a parser/generator of iCalendar files for use with Python. It follows the RFC 2445 (iCalendar) specification. The aim is to make a package that is fully compliant with RFC 2445, well designed, simple to use and well documented.
Python Imaging Library The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter. This library provides extensive file format support, an efficient internal representation, and powerful image processing capabilities. Notice that in order to reduce the package dependencies there are three subpackages: devel (for development); tk (to interact with the tk interface) and sane (scanning devices interface).
Convenience uid/gid helper function used in Zope2.
Interlude for Doctests provides an Interactive Console.
ipdb exports functions to access the IPython debugger, which features tab completion, syntax highlighting, better tracebacks, better introspection with the same interface as the pdb module. Example usage: import ipdb ipdb.set_trace() ipdb.pm() ipdb.run('x[0] = 3') result = ipdb.runcall(function, arg0, arg1, kwarg='foo') result = ipdb.runeval('f(1,2) - 3') The post-mortem function, ipdb.pm(), is equivalent to the magic function %debug. If you install ipdb with a tool which supports setuptools entry points, an ipdb script is made for you. You can use it to debug your scripts like $ bin/ipdb mymodule.py With Python 2.7 only, you can also use $ python -m ipdb mymodule.py You can also enclose code with the with statement to launch ipdb if an exception is raised: from ipdb import launch_ipdb_on_exception with launch_ipdb_on_exception(): [...]