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

python311-pytidylib-0.3.2-2.9 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: python311-pytidylib Distribution: openSUSE:Factory:zSystems
Version: 0.3.2 Vendor: openSUSE
Release: 2.9 Build date: Tue Jan 11 22:10:53 2022
Group: Development/Languages/Python Build host: reproducible
Size: 33836 Source RPM: python-pytidylib-0.3.2-2.9.src.rpm
Packager: https://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.11/site-packages/pytidylib-0.3.2-py3.11.egg-info
/usr/lib/python3.11/site-packages/pytidylib-0.3.2-py3.11.egg-info/PKG-INFO
/usr/lib/python3.11/site-packages/pytidylib-0.3.2-py3.11.egg-info/SOURCES.txt
/usr/lib/python3.11/site-packages/pytidylib-0.3.2-py3.11.egg-info/dependency_links.txt
/usr/lib/python3.11/site-packages/pytidylib-0.3.2-py3.11.egg-info/top_level.txt
/usr/lib/python3.11/site-packages/tidylib
/usr/lib/python3.11/site-packages/tidylib/__init__.py
/usr/lib/python3.11/site-packages/tidylib/__pycache__
/usr/lib/python3.11/site-packages/tidylib/__pycache__/__init__.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/tidylib/__pycache__/__init__.cpython-311.pyc
/usr/lib/python3.11/site-packages/tidylib/__pycache__/sink.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/tidylib/__pycache__/sink.cpython-311.pyc
/usr/lib/python3.11/site-packages/tidylib/__pycache__/tidy.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/tidylib/__pycache__/tidy.cpython-311.pyc
/usr/lib/python3.11/site-packages/tidylib/sink.py
/usr/lib/python3.11/site-packages/tidylib/tidy.py
/usr/share/doc/packages/python311-pytidylib
/usr/share/doc/packages/python311-pytidylib/README
/usr/share/licenses/python311-pytidylib
/usr/share/licenses/python311-pytidylib/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Mon Apr 29 23:40:03 2024