html to etree
=============
.. image:: https://img.shields.io/pypi/v/html-to-etree.svg
:target: https://pypi.python.org/pypi/html-to-etree
.. image:: https://img.shields.io/pypi/pyversions/html-to-etree.svg
:target: https://pypi.python.org/pypi/html-to-etree
.. image:: https://img.shields.io/travis/fluquid/html-to-etree.svg
:target: https://travis-ci.org/fluquid/html-to-etree
.. image:: https://codecov.io/github/fluquid/html-to-etree/coverage.svg?branch=master
:alt: Coverage Status
:target: https://codecov.io/github/fluquid/html-to-etree
.. image:: https://requires.io/github/fluquid/html-to-etree/requirements.svg?branch=master
:alt: Requirements Status
:target: https://requires.io/github/fluquid/html-to-etree/requirements/?branch=master
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+
Features
--------
* parse html to lxml etree
* handle character decoding
Quickstart
----------
* `tree = parse_html_bytes(body=body_bytes, content_type='text/html')`
* `tree = parse_html_unicode(uni_string=body_unicode)`
Credits
-------
This package was created with Cookiecutter_ and the `codinguncut/cookiecutter-pypackage`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
=======
History
=======
0.2.0 (2017-06-07)
------------------
0.1.0-dev (unreleased)
----------------------
* First release on PyPI.
Metadata
Release files for html-to-etree 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| html-to-etree-0.2.0.tar.gz | 541.9 kB | Without provenance | Details for html-to-etree-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| html_to_etree-0.2.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for html_to_etree-0.2.0-py2.py3-none-any.whl |
Total release size: 546.4 kB
Release files / html-to-etree-0.2.0.tar.gz
| Download URL | html-to-etree-0.2.0.tar.gz |
|---|---|
| Size | 541.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ab4a3e794a00dc7cd68ca78c594c4abad8de388ebc7e60b6290deb94dfdea33
|
|
BLAKE2b-256 checksum How to use checksums |
9a7a611f6669128ed7986b7ee14cde50f86ed32a7fad02d8cbf9c063b7ba875e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / html_to_etree-0.2.0-py2.py3-none-any.whl
| Download URL | html_to_etree-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
75543c3f98e9147a1bf72a9d4edaeae494a5a383146559d3254d1f7e9570dbf7
|
|
BLAKE2b-256 checksum How to use checksums |
c85595f22f1f89078f6e4f4a420532d8cb78eeb84a4a1a94a613f9706646cce5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for html-to-etree 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.