BSD Ports

textproc/py-pytidylib 0.3.2_2 DragonFly

Python wrapper for HTML Tidy (tidylib)

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
python, textproc
Package size
12.1 KiB, 47.9 KiB installed

Description

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.

In the other systems

The newest version among them is 0.3.2, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlytextproc/py-pytidylib0.3.2_2 newestnone known-[email protected]-
FreeBSDtextproc/py-pytidylib0.3.2_2 newestnone known-[email protected]-
MidnightBSDtextproc/py-pytidylib0.3.2_1 newestno data-[email protected]-
HardenedBSDtextproc/py-pytidylib0.3.2_2 newestno data-[email protected]-
GhostBSDtextproc/py-pytidylib0.3.2_2 newestno data-[email protected]-

Install

Binary package:

pkg install py311-pytidylib

From DPorts:

cd /usr/dports/textproc/py-pytidylib && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2

No port depends on this one.