Metadata-Version: 1.0
Name: pytidylib
Version: 0.1.2
Summary: New Python wrapper for tidylib
Home-page: http://countergram.com/software/pytidylib/
Author: Jason Stitt
Author-email: js@jasonstitt.com
License: UNKNOWN
Download-URL: https://sourceforge.net/projects/pytidylib/files/pytidylib-0.1.2.tar.gz/download
Description: A new Python wrapper for tidylib_, which allows
        you to convert slightly invalid HTML/XHTML markup into valid markup. E.g. this
        will correct unescaped ampersands, some unclosed tags, missing elements,
        missing attributes, etc. Tidylib is highly configurable; it can output HTML or
        XHTML, and perform other functions such as converting named entities to numeric
        entities (named entities work only along with an HTML or XHTML doctype;
        numeric entities work in generic XML data).
        
        Note 1: The SourceForge download mirror has been corrected.
        
        Note 2: Unfortunately, neither this library, nor uTidyLib, nor a barebones
        test case seems to work with the prepackaged tidy.dll on Windows. Until this
        is fixed, this is a Linux/BSD/OS X/Cygwin library.
        
        Trivial example of use::
        
        from tidylib import tidy_document
        document, errors = tidy_document('''<p>f&otilde;o <img src="bar.jpg">''',
        options={'numeric-entities':1})
        print document
        print errors
        
        For documentation see the `pytidylib project page`_
        
        .. _tidylib: http://tidy.sourceforge.net/
        .. _`pytidylib project page`: http://countergram.com/software/pytidylib/
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Other Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Natural Language :: English
Classifier: Topic :: Utilities
Classifier: Topic :: Text Processing :: Markup :: HTML
Classifier: Topic :: Text Processing :: Markup :: XML
