forked fromhtml5lib/html5lib-python
- Notifications
You must be signed in to change notification settings - Fork0
Standards-compliant library for parsing and serializing HTML documents and fragments in Python
License
NotificationsYou must be signed in to change notification settings
awesome-python/html5lib-python
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
html5lib is a pure-python library for parsing HTML. It is designed toconform to the HTML 5 specification, which has formalized the error handlingalgorithms of popular web browsers. = Installation =html5lib is packaged with distutils. To install it use: $ python setup.py install = Tests =You may wish to check that your installation has been a success byrunning the testsuite. All the tests can be run by invokingruntests.py in the tests/ directory = Usage =Simple usage follows this pattern:import html5libf = open("mydocument.html")parser = html5lib.HTMLParser()document = parser.parse(f)More documentation is avaliable in the docstrings or fromhttp://code.google.com/p/html5lib/wiki/UserDocumentation = Bugs =Please report any bugs on the issue tracker:http://code.google.com/p/html5lib/issues/list = Get Involved =Contributions to code or documenation are actively encouraged. Submitpatches to the issue tracker or discuss changes on irc in the #whatwgchannel on freenode.net
About
Standards-compliant library for parsing and serializing HTML documents and fragments in Python
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Languages
- Python99.9%
- Other0.1%