textproc/py-pytidylib 0.3.2_2 FreeBSD
Python wrapper for HTML Tidy (tidylib)
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- textproc, python
- Package size
- 13.1 KiB, 45.6 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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/py-pytidylib | 0.3.2_2 |
| DragonFly | textproc/py-pytidylib | 0.3.2_2 |
| MidnightBSD | textproc/py-pytidylib | 0.3.2_1 |
| HardenedBSD | textproc/py-pytidylib | 0.3.2_2 |
| GhostBSD | textproc/py-pytidylib | 0.3.2_2 |
Install
Binary package:
pkg install py312-pytidylib
From the ports tree:
cd /usr/ports/textproc/py-pytidylib/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-pytidylib>0:textproc/py-pytidylib
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.3.2_2 | 0.3.2_2 | 0.3.2 | 0.3.2_2 | 0.3.2_2 |
| FreeBSD:14:quarterly | 0.3.2_2 | 0.3.2_2 | n/a | 0.3.2_2 | 0.3.2_2 |
| FreeBSD:15:latest | 0.3.2_2 | 0.3.2_2 | n/a | 0.3.2_2 | 0.3.2_2 |
| FreeBSD:15:quarterly | 0.3.2_2 | 0.3.2_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.3.2_2 | 0.3.2_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libtidy5.so: www/tidy-html5
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 12
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pytidylib-0.3.2.tar.gz | 87669 | 22b1c8d75970d8064ff999c2369e98af1d0685417eda4c829a5c9f56764b0af3 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.