[ forky ]
[ sid ]
[ 源代码: tinyhtml5 ]
软件包:python3-tinyhtml5(2.0.0-1)
tiny HTML5 parser
tinyhtml5 is a HTML5 parser that transforms a possibly malformed HTML document into an ElementTree tree.
tinyhtml5 is a simplified and modernized version of html5lib, with the given main differences:
- It is only a HTML parser, providing tree corresponding to a given HTML string or file. - The public API is only the tinyhtml5.parse() function, allowing filename string and pathlib.Path as input in addition to HTML string and file descriptor. - The only output format supported is ElementTree. - Tree walkers, adapters and filters are not supported. - Tests are included. - Code internals are cleaned, simplified and modernized.These differences make tinyhtml5 easier to maintain than the original html5lib.
其他与 python3-tinyhtml5 有关的软件包
|
|
|
|
-
- dep: python3
- 交互式高级面向对象语言(默认 python3 版本)
-
- dep: python3-webencodings
- Python implementation of the WHATWG Encoding standard
