X7ROOT File Manager
Current Path:
/opt/alt/python34/lib/python3.4/site-packages/pip/_vendor/html5lib
opt
/
alt
/
python34
/
lib
/
python3.4
/
site-packages
/
pip
/
_vendor
/
html5lib
/
??
..
??
__init__.py
(714 B)
??
__pycache__
??
constants.py
(85.3 KB)
??
filters
??
html5parser.py
(114.29 KB)
??
ihatexml.py
(16.19 KB)
??
inputstream.py
(29.92 KB)
??
sanitizer.py
(16.04 KB)
??
serializer
??
tokenizer.py
(75.13 KB)
??
treeadapters
??
treebuilders
??
treewalkers
??
trie
??
utils.py
(2.49 KB)
Editing: __init__.py
""" HTML parsing library based on the WHATWG "HTML5" specification. The parser is designed to be compatible with existing HTML found in the wild and implements well-defined error recovery that is largely compatible with modern desktop web browsers. Example usage: import html5lib f = open("my_document.html") tree = html5lib.parse(f) """ from __future__ import absolute_import, division, unicode_literals from .html5parser import HTMLParser, parse, parseFragment from .treebuilders import getTreeBuilder from .treewalkers import getTreeWalker from .serializer import serialize __all__ = ["HTMLParser", "parse", "parseFragment", "getTreeBuilder", "getTreeWalker", "serialize"] __version__ = "1.0b3"
Upload File
Create Folder