X7ROOT File Manager
Current Path:
/lib/python2.7/site-packages/pip/_vendor/html5lib
lib
/
python2.7
/
site-packages
/
pip
/
_vendor
/
html5lib
/
??
..
??
__init__.py
(780 B)
??
__init__.pyc
(1.07 KB)
??
__init__.pyo
(1.07 KB)
??
_ihatexml.py
(16.31 KB)
??
_ihatexml.pyc
(15.18 KB)
??
_ihatexml.pyo
(15.11 KB)
??
_inputstream.py
(31.77 KB)
??
_inputstream.pyc
(27.13 KB)
??
_inputstream.pyo
(26.59 KB)
??
_tokenizer.py
(74.79 KB)
??
_tokenizer.pyc
(52.61 KB)
??
_tokenizer.pyo
(52.57 KB)
??
_trie
??
_utils.py
(4 KB)
??
_utils.pyc
(4.35 KB)
??
_utils.pyo
(4.27 KB)
??
constants.py
(81.43 KB)
??
constants.pyc
(81 KB)
??
constants.pyo
(81 KB)
??
filters
??
html5parser.py
(114.42 KB)
??
html5parser.pyc
(120.75 KB)
??
html5parser.pyo
(119.79 KB)
??
serializer.py
(13.84 KB)
??
serializer.pyc
(11.57 KB)
??
serializer.pyo
(11.48 KB)
??
treeadapters
??
treebuilders
??
treewalkers
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"] # this has to be at the top level, see how setup.py parses this __version__ = "1.0b10"
Upload File
Create Folder