Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python312-pytidylib-0.3.2-2.12 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: python312-pytidylib Distribution: openSUSE Tumbleweed
Version: 0.3.2 Vendor: openSUSE
Release: 2.12 Build date: Tue Jan 11 22:10:53 2022
Group: Development/Languages/Python Build host: reproducible
Size: 32651 Source RPM: python-pytidylib-0.3.2-2.12.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&otilde;o <img src="bar.jpg">''',
      options={'numeric-entities':1})
    print document
    print errors

Provides

Requires

License

MIT

Changelog

* 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

Files

/usr/lib/python3.12/site-packages/pytidylib-0.3.2-py3.12.egg-info
/usr/lib/python3.12/site-packages/pytidylib-0.3.2-py3.12.egg-info/PKG-INFO
/usr/lib/python3.12/site-packages/pytidylib-0.3.2-py3.12.egg-info/SOURCES.txt
/usr/lib/python3.12/site-packages/pytidylib-0.3.2-py3.12.egg-info/dependency_links.txt
/usr/lib/python3.12/site-packages/pytidylib-0.3.2-py3.12.egg-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, Sun Nov 10 00:24:22 2024