Metadata-Version: 2.1
Name: uTidylib
Version: 0.8
Summary: Wrapper for HTML Tidy
Home-page: https://cihar.com/software/utidylib/
Author: Michal Čihař
Author-email: michal@cihar.com
License: MIT
Download-URL: https://github.com/nijel/utidylib
Project-URL: Issue Tracker, https://github.com/nijel/utidylib/issues
Project-URL: Documentation, https://utidylib.readthedocs.io/
Project-URL: Source Code, https://github.com/nijel/utidylib
Description: uTidylib
        ========
        
        .. image:: https://travis-ci.org/nijel/utidylib.svg?branch=master
            :target: https://travis-ci.org/nijel/utidylib
            :alt: Build Status
        
        .. image:: https://codecov.io/gh/nijel/utidylib/branch/master/graph/badge.svg
            :target: https://codecov.io/gh/nijel/utidylib
            :alt: Coverage Status
        
        .. image:: https://readthedocs.org/projects/utidylib/badge/?version=latest
            :target: http://utidylib.readthedocs.org/en/latest/
            :alt: Documentation
        
        
        This is fork of uTidylib with permission with original author. Originally it
        incorporated patches from Debian and other distributions, now it also brings
        compatibility with recent html-tidy versions and works with Python 3.
        
        The package is available on PyPI <https://pypi.org/project/uTidylib/>.
        
        This is uTidylib, the Python wrapper for the HTML cleaning
        library named TidyLib. It supports both original Tidy <http://tidy.sf.net> and new
        HTML5 enabled Tidy <http://www.html-tidy.org/>.
        
        Once installed, there are two ways to get help.  The simplest is:
        
        .. code-block:: sh
        
            $ python
            >>> import tidy
            >>> help(tidy)
            . . .
        
        Then, of course, there's the API documentation, which
        is available at <https://utidylib.readthedocs.io/en/latest/>.
        
        10 Second Tutorial
        ------------------
        
        .. code-block:: pycon
        
            >>> import tidy
            >>> print(
            ...     tidy.parseString(
            ...         "<Html>Hello Tidy!",
            ...         output_xhtml=1,
            ...         add_xml_decl=1,
            ...         indent=1,
            ...         tidy_mark=0,
            ...         doctype="transitional",
            ...     )
            ... )
            <?xml version="1.0"?>
            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
            <html xmlns="http://www.w3.org/1999/xhtml">
              <head>
                <title></title>
              </head>
              <body>
                Hello Tidy!
              </body>
            </html>
        
        
        Good luck!
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Topic :: Internet
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Environment :: Web Environment
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
