Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
docs/ | H | 16-Nov-2016 | - | 2,263 | 1,809 | |
tests/ | H | 16-Nov-2016 | - | 324 | 164 | |
tidylib/ | H | 03-May-2022 | - | 349 | 221 | |
LICENSE | H A D | 22-Sep-2016 | 1 KiB | 20 | 16 | |
MANIFEST.in | H A D | 22-Sep-2016 | 261 | 13 | 12 | |
PKG-INFO | H A D | 16-Nov-2016 | 2.8 KiB | 69 | 54 | |
README | H A D | 22-Sep-2016 | 304 | 11 | 8 | |
setup.py | H A D | 03-May-2022 | 3.7 KiB | 99 | 62 |
README
1This is a Python wrapper around the HTML Tidy library. Quick start example: 2 3from tidylib import Tidy 4tidy = Tidy() 5document, errors = tidy.tidy_document('<p>fõo <img src="bar.jpg">', 6 options={'alt-text': 'baz'}) 7print(document) 8print(errors) 9 10For full documentation, see the docs/ directory. 11