{ "info": { "author": "Cyril Roelandt", "author_email": "cyril.roelandt@enovance.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Other Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Topic :: Text Processing :: Markup :: HTML", "Topic :: Text Processing :: Markup :: XML", "Topic :: Utilities" ], "description": "0.2.0: Works on Windows! See documentation for available DLL download\nlocations. Documentation rewritten and expanded.\n\n`PyTidyLib`_ is a Python package that wraps the `HTML Tidy`_ library. This\nallows you, from Python code, to \"fix\" invalid (X)HTML markup. Some of the\nlibrary's many capabilities include:\n\n* Clean up unclosed tags and unescaped characters such as ampersands\n* Output HTML 4 or XHTML, strict or transitional, and add missing doctypes\n* Convert named entities to numeric entities, which can then be used in XML\n documents without an HTML doctype.\n* Clean up HTML from programs such as Word (to an extent)\n* Indent the output, including proper (i.e. no) indenting for ``pre`` elements,\n which some (X)HTML indenting code overlooks.\n\nSmall example of use\n====================\n\nThe following code cleans up an invalid HTML document and sets an option::\n\n from tidylib import tidy_document\n document, errors = tidy_document('''

fõo ''',\n options={'numeric-entities':1})\n print document\n print errors\n \nDocs\n====\n\nDocumentation is shipped with the source distribution and is available at\nthe `PyTidyLib`_ web page.\n\n.. _`HTML Tidy`: http://tidy.sourceforge.net/\n.. _`PyTidyLib`: http://countergram.com/open-source/pytidylib/", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/enovance/pytidylib/releases/tag/0.2.2", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://countergram.com/open-source/pytidylib/", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "pytidylib6", "package_url": "https://pypi.org/project/pytidylib6/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pytidylib6/", "project_urls": { "Download": "https://github.com/enovance/pytidylib/releases/tag/0.2.2", "Homepage": "http://countergram.com/open-source/pytidylib/" }, "release_url": "https://pypi.org/project/pytidylib6/0.2.2/", "requires_dist": null, "requires_python": null, "summary": "Python wrapper for HTML Tidy (tidylib), compatible with Python 2 and 3", "version": "0.2.2" }, "last_serial": 940101, "releases": { "0.2.2": [ { "comment_text": "", "digests": { "md5": "9bb597536c886b7a3ed56bc5d0e8113c", "sha256": "421ae35f32a32610cf3e8a5c85b830c92fb8c620192b42916fb8a4a34d5bc006" }, "downloads": -1, "filename": "pytidylib6-0.2.2.tar.gz", "has_sig": false, "md5_digest": "9bb597536c886b7a3ed56bc5d0e8113c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 155148, "upload_time": "2013-12-09T19:46:10", "url": "https://files.pythonhosted.org/packages/a5/44/98ddad5e111352282b82f763aba8bf75da9adb789f473a588028edbbf145/pytidylib6-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9bb597536c886b7a3ed56bc5d0e8113c", "sha256": "421ae35f32a32610cf3e8a5c85b830c92fb8c620192b42916fb8a4a34d5bc006" }, "downloads": -1, "filename": "pytidylib6-0.2.2.tar.gz", "has_sig": false, "md5_digest": "9bb597536c886b7a3ed56bc5d0e8113c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 155148, "upload_time": "2013-12-09T19:46:10", "url": "https://files.pythonhosted.org/packages/a5/44/98ddad5e111352282b82f763aba8bf75da9adb789f473a588028edbbf145/pytidylib6-0.2.2.tar.gz" } ] }