py27-html-sanitizer - White-list based HTML sanitizer

Property Value
Distribution NetBSD 7.1
Repository NetBSD i386
Package filename py27-html-sanitizer-1.6.4.tgz
Package name py27-html-sanitizer
Package version 1.6.4
Package release -
Package architecture i386
Package type tgz
Category converters python textproc
License modified-bsd
Maintainer -
Download size 16.45 KB
Installed size 87.23 KB
html-sanitizer is a whitelist-based and very opinionated HTML sanitizer
that can be used both for untrusted and trusted sources. It attempts to
clean up the mess made by various rich text editors and or copy-pasting
to make styling of webpages simpler and more consistent. It builds on the
excellent HTML cleaner in lxml to make the result both valid and safe.
It goes further than pure tag filtering by transforming the HTML
fragments to normalize formatting and drop redundant or pointless tags.


Package Version Architecture Repository
py27-html-sanitizer-1.6.4.tgz 1.6.4 amd64 NetBSD
py27-html-sanitizer - - -


Name Value
py27-beautifulsoup4 -
py27-lxml >= 3.6.1
py27-setuptools >= 0.8
python27 >= 2.7.1nb2


Type URL
Binary Package py27-html-sanitizer-1.6.4.tgz
Source Package py27-html-sanitizer

Install Howto

Install py27-html-sanitizer tgz package:

# pkg_add py27-html-sanitizer

See Also

Package Description
py27-html2text-2018.1.9.tgz Convert HTML into easy-to-read plain ASCII text
py27-html5-parser-0.4.7.tgz Fast, standards-compliant, C-based HTML5 parser
py27-html5lib-1.0.1.tgz HTML5 parser and tokenizer
py27-http-parser-0.8.3.tgz HTTP request/response parser
py27-http_ece-1.0.5.tgz Python support for the encryped Content-Encoding (RFC 8188)
py27-httpbin-0.7.0.tgz HTTP Request and Response Service
py27-httpie-1.0.2.tgz Human-friendly command line HTTP client
py27-httplib2-0.13.0.tgz Comprehensive http client library for Python
py27-humanize-0.5.1.tgz Convert numbers into easily readable format
py27-hy-0.14.0.tgz Lisp and Python love each other
py27-hyperframe-5.2.0.tgz HTTP/2 framing layer for Python
py27-hyperlink-19.0.0.tgz Featureful, correct URL for Python
py27-hyperscan-0.0.2.tgz CPython extension for hyperscan
py27-hypothesis-4.24.3.tgz Python library for property based testing
py27-ibus-python-1.5.20.tgz Python library for Intelligent Input Bus