Server IP : 149.255.58.128 / Your IP : 216.73.216.184
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /usr/lib/python3.9/site-packages/html5lib//__init__.py
"""
HTML parsing library based on the `WHATWG HTML specification
<https://whatwg.org/html>`_. 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
with open("my_document.html", "rb") as f:
tree = html5lib.parse(f)
For convenience, this module re-exports the following names:
* :func:`~.html5parser.parse`
* :func:`~.html5parser.parseFragment`
* :class:`~.html5parser.HTMLParser`
* :func:`~.treebuilders.getTreeBuilder`
* :func:`~.treewalkers.getTreeWalker`
* :func:`~.serializer.serialize`
"""
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
#: Distribution version number.
__version__ = "1.1"
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | March 19 2025 22:42:16 | 0 / root | 0755 | |
__pycache__ | -- | February 07 2024 08:30:34 | 0 / root | 0755 | |
_trie | -- | February 07 2024 08:30:34 | 0 / root | 0755 | |
filters | -- | February 07 2024 08:30:34 | 0 / root | 0755 | |
treeadapters | -- | February 07 2024 08:30:34 | 0 / root | 0755 | |
treebuilders | -- | February 07 2024 08:30:34 | 0 / root | 0755 | |
treewalkers | -- | February 07 2024 08:30:34 | 0 / root | 0755 | |
| | | | | |
__init__.py | 1.116 KB | June 02 2022 00:45:00 | 0 / root | 0644 | |
_ihatexml.py | 16.336 KB | June 02 2022 00:45:00 | 0 / root | 0644 | |
_inputstream.py | 31.543 KB | June 02 2022 00:45:00 | 0 / root | 0644 | |
_tokenizer.py | 75.223 KB | June 02 2022 00:45:00 | 0 / root | 0644 | |
_utils.py | 4.804 KB | June 02 2022 00:45:00 | 0 / root | 0644 | |
constants.py | 81.508 KB | June 02 2022 00:45:00 | 0 / root | 0644 | |
html5parser.py | 114.428 KB | June 02 2022 00:45:00 | 0 / root | 0644 | |
serializer.py | 15.378 KB | June 02 2022 00:45:00 | 0 / root | 0644 | |