| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: python312-pytidylib | Distribution: openSUSE Tumbleweed |
| Version: 0.3.2 | Vendor: openSUSE |
| Release: 3.1 | Build date: Wed Jun 11 07:56:30 2025 |
| Group: Development/Languages/Python | Build host: reproducible |
| Size: 33421 | Source RPM: python-pytidylib-0.3.2-3.1.src.rpm |
| Packager: http://bugs.opensuse.org | |
| Url: http://countergram.com/open-source/pytidylib/ | |
| Summary: Python wrapper for HTML Tidy (tidylib) on Python 2 and 3 | |
`PyTidyLib`_ is a Python package that wraps the `HTML Tidy`_ library. This
allows you, from Python code, to "fix" invalid (X)HTML markup. Some of the
library's many capabilities include:
* Clean up unclosed tags and unescaped characters such as ampersands
* Output HTML 4 or XHTML, strict or transitional, and add missing doctypes
* Convert named entities to numeric entities, which can then be used in XML
documents without an HTML doctype.
* Clean up HTML from programs such as Word (to an extent)
* Indent the output, including proper (i.e. no) indenting for ``pre`` elements,
which some (X)HTML indenting code overlooks.
Small example of use
====================
The following code cleans up an invalid HTML document and sets an option::
from tidylib import tidy_document
document, errors = tidy_document('''<p>fõo <img src="bar.jpg">''',
options={'numeric-entities':1})
print document
print errors
MIT
* Wed Jun 11 2025 Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
* Tue Jan 11 2022 Dirk Müller <dmueller@suse.com>
- add python-rpm-macros dependency
* Tue May 14 2019 John Jolly <jjolly@suse.com>
- Updated to 0.3.2
+ No upstream changelog
- Added %check section
+ Excluded the large file check
* Sat Jul 23 2016 rpm@fthiessen.de
- Initial package 0.2.4
/usr/lib/python3.12/site-packages/pytidylib-0.3.2.dist-info /usr/lib/python3.12/site-packages/pytidylib-0.3.2.dist-info/INSTALLER /usr/lib/python3.12/site-packages/pytidylib-0.3.2.dist-info/METADATA /usr/lib/python3.12/site-packages/pytidylib-0.3.2.dist-info/RECORD /usr/lib/python3.12/site-packages/pytidylib-0.3.2.dist-info/REQUESTED /usr/lib/python3.12/site-packages/pytidylib-0.3.2.dist-info/WHEEL /usr/lib/python3.12/site-packages/pytidylib-0.3.2.dist-info/licenses /usr/lib/python3.12/site-packages/pytidylib-0.3.2.dist-info/licenses/LICENSE /usr/lib/python3.12/site-packages/pytidylib-0.3.2.dist-info/top_level.txt /usr/lib/python3.12/site-packages/tidylib /usr/lib/python3.12/site-packages/tidylib/__init__.py /usr/lib/python3.12/site-packages/tidylib/__pycache__ /usr/lib/python3.12/site-packages/tidylib/__pycache__/__init__.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/tidylib/__pycache__/__init__.cpython-312.pyc /usr/lib/python3.12/site-packages/tidylib/__pycache__/sink.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/tidylib/__pycache__/sink.cpython-312.pyc /usr/lib/python3.12/site-packages/tidylib/__pycache__/tidy.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/tidylib/__pycache__/tidy.cpython-312.pyc /usr/lib/python3.12/site-packages/tidylib/sink.py /usr/lib/python3.12/site-packages/tidylib/tidy.py /usr/share/doc/packages/python312-pytidylib /usr/share/doc/packages/python312-pytidylib/README /usr/share/licenses/python312-pytidylib /usr/share/licenses/python312-pytidylib/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Fri Oct 24 22:55:55 2025