Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

parse html to etree

Project description

html to etree

.. image::

.. image::

.. image::

.. image::
:alt: Coverage Status

.. image::
:alt: Requirements Status

parse html to lxml etree

convenience methods for parsing html documents to lxml etree.
lxml has limited capabilities for handling different encodings, and this
library is intended as a reusable utility parsing byte-code html responses
into ElementTrees using sane character decoding.

* Free software: BSD license
* Python versions: 2.7, 3.4+


* parse html to lxml etree
* handle character decoding


* `tree = parse_html_bytes(body=body_bytes, content_type='text/html')`
* `tree = parse_html_unicode(uni_string=body_unicode)`


This package was created with Cookiecutter_ and the `codinguncut/cookiecutter-pypackage`_ project template.

.. _Cookiecutter:


0.2.0 (2017-06-07)

0.1.0-dev (unreleased)

* First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for html-to-etree, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size html_to_etree-0.2.0-py2.py3-none-any.whl (4.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size html-to-etree-0.2.0.tar.gz (541.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page