Skip to main content

Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.

Project description

lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It provides safe and convenient access to these libraries using the ElementTree API.

It extends the ElementTree API significantly to offer support for XPath, RelaxNG, XML Schema, XSLT, C14N and much more.

To contact the project, go to the project home page or see our bug tracker at https://launchpad.net/lxml

In case you want to use the current in-development version of lxml, you can get it from the github repository at https://github.com/lxml/lxml . Note that this requires Cython to build the sources, see the build instructions on the project home page. To the same end, running easy_install lxml==dev will install lxml from https://github.com/lxml/lxml/tarball/master#egg=lxml-dev if you have an appropriate version of Cython installed.

After an official release of a new stable series, bug fixes may become available at https://github.com/lxml/lxml/tree/lxml-4.9 . Running easy_install lxml==4.9bugfix will install the unreleased branch state from https://github.com/lxml/lxml/tarball/lxml-4.9#egg=lxml-4.9bugfix as soon as a maintenance branch has been established. Note that this requires Cython to be installed at an appropriate version for the build.

4.9.2 (2022-12-13)

Bugs fixed

Other changes

  • LP#1981760: Element.attrib now registers as collections.abc.MutableMapping.

  • lxml now has a static build setup for macOS on ARM64 machines (not used for building wheels). Patch by Quentin Leffray.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

lxml-4.9.2.tar.gz (3.7 MB view hashes)

Uploaded Source

Built Distributions

lxml-4.9.2-pp39-pypy39_pp73-win_amd64.whl (3.5 MB view hashes)

Uploaded PyPy Windows x86-64

lxml-4.9.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.0 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.24+ x86-64

lxml-4.9.2-pp39-pypy39_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_24_i686.whl (6.1 MB view hashes)

Uploaded PyPy manylinux: glibc 2.12+ i686 manylinux: glibc 2.24+ i686

lxml-4.9.2-pp39-pypy39_pp73-macosx_10_15_x86_64.whl (4.0 MB view hashes)

Uploaded PyPy macOS 10.15+ x86-64

lxml-4.9.2-pp38-pypy38_pp73-win_amd64.whl (3.5 MB view hashes)

Uploaded PyPy Windows x86-64

lxml-4.9.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (5.7 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.24+ x86-64

lxml-4.9.2-pp38-pypy38_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_24_i686.whl (5.8 MB view hashes)

Uploaded PyPy manylinux: glibc 2.12+ i686 manylinux: glibc 2.24+ i686

lxml-4.9.2-pp38-pypy38_pp73-macosx_10_15_x86_64.whl (4.0 MB view hashes)

Uploaded PyPy macOS 10.15+ x86-64

lxml-4.9.2-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (5.7 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.24+ x86-64

lxml-4.9.2-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_24_i686.whl (5.8 MB view hashes)

Uploaded PyPy manylinux: glibc 2.12+ i686 manylinux: glibc 2.24+ i686

lxml-4.9.2-cp311-cp311-win_amd64.whl (3.8 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

lxml-4.9.2-cp311-cp311-win32.whl (3.4 MB view hashes)

Uploaded CPython 3.11 Windows x86

lxml-4.9.2-cp311-cp311-musllinux_1_1_x86_64.whl (7.8 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

lxml-4.9.2-cp311-cp311-musllinux_1_1_aarch64.whl (7.6 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ ARM64

lxml-4.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (7.2 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.24+ x86-64

lxml-4.9.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (6.8 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64 manylinux: glibc 2.24+ ARM64

lxml-4.9.2-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_24_i686.whl (7.2 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.12+ i686 manylinux: glibc 2.24+ i686

lxml-4.9.2-cp310-cp310-win_amd64.whl (3.8 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

lxml-4.9.2-cp310-cp310-win32.whl (3.5 MB view hashes)

Uploaded CPython 3.10 Windows x86

lxml-4.9.2-cp310-cp310-musllinux_1_1_x86_64.whl (7.8 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

lxml-4.9.2-cp310-cp310-musllinux_1_1_aarch64.whl (7.6 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ ARM64

lxml-4.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (7.1 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.24+ x86-64

lxml-4.9.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (6.8 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64 manylinux: glibc 2.24+ ARM64

lxml-4.9.2-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_24_i686.whl (7.2 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.12+ i686 manylinux: glibc 2.24+ i686

lxml-4.9.2-cp310-cp310-macosx_10_15_x86_64.whl (4.7 MB view hashes)

Uploaded CPython 3.10 macOS 10.15+ x86-64

lxml-4.9.2-cp39-cp39-win_amd64.whl (3.9 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

lxml-4.9.2-cp39-cp39-win32.whl (3.5 MB view hashes)

Uploaded CPython 3.9 Windows x86

lxml-4.9.2-cp39-cp39-musllinux_1_1_x86_64.whl (7.9 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

lxml-4.9.2-cp39-cp39-musllinux_1_1_aarch64.whl (7.7 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ ARM64

lxml-4.9.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (7.1 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.24+ x86-64

lxml-4.9.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (6.8 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64 manylinux: glibc 2.24+ ARM64

lxml-4.9.2-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_24_i686.whl (7.2 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ i686 manylinux: glibc 2.24+ i686

lxml-4.9.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (5.7 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.5+ x86-64

lxml-4.9.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl (5.5 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.5+ i686

lxml-4.9.2-cp39-cp39-macosx_10_15_x86_64.whl (4.8 MB view hashes)

Uploaded CPython 3.9 macOS 10.15+ x86-64

lxml-4.9.2-cp38-cp38-win_amd64.whl (3.9 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

lxml-4.9.2-cp38-cp38-win32.whl (3.5 MB view hashes)

Uploaded CPython 3.8 Windows x86

lxml-4.9.2-cp38-cp38-musllinux_1_1_x86_64.whl (7.9 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

lxml-4.9.2-cp38-cp38-musllinux_1_1_aarch64.whl (7.6 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ ARM64

lxml-4.9.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (7.1 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.24+ x86-64

lxml-4.9.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (6.8 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64 manylinux: glibc 2.24+ ARM64

lxml-4.9.2-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_24_i686.whl (7.2 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ i686 manylinux: glibc 2.24+ i686

lxml-4.9.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (5.7 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.5+ x86-64

lxml-4.9.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl (5.5 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.5+ i686

lxml-4.9.2-cp38-cp38-macosx_10_15_x86_64.whl (4.7 MB view hashes)

Uploaded CPython 3.8 macOS 10.15+ x86-64

lxml-4.9.2-cp37-cp37m-win_amd64.whl (3.8 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

lxml-4.9.2-cp37-cp37m-win32.whl (3.5 MB view hashes)

Uploaded CPython 3.7m Windows x86

lxml-4.9.2-cp37-cp37m-musllinux_1_1_x86_64.whl (7.2 MB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ x86-64

lxml-4.9.2-cp37-cp37m-musllinux_1_1_aarch64.whl (7.0 MB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ ARM64

lxml-4.9.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.6 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.24+ x86-64

lxml-4.9.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (6.2 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64 manylinux: glibc 2.24+ ARM64

lxml-4.9.2-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_24_i686.whl (6.7 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ i686 manylinux: glibc 2.24+ i686

lxml-4.9.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (5.8 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.5+ x86-64

lxml-4.9.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl (5.6 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.5+ i686

lxml-4.9.2-cp37-cp37m-macosx_10_15_x86_64.whl (4.7 MB view hashes)

Uploaded CPython 3.7m macOS 10.15+ x86-64

lxml-4.9.2-cp36-cp36m-win_amd64.whl (3.8 MB view hashes)

Uploaded CPython 3.6m Windows x86-64

lxml-4.9.2-cp36-cp36m-win32.whl (3.5 MB view hashes)

Uploaded CPython 3.6m Windows x86

lxml-4.9.2-cp36-cp36m-musllinux_1_1_x86_64.whl (7.3 MB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ x86-64

lxml-4.9.2-cp36-cp36m-musllinux_1_1_aarch64.whl (7.0 MB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ ARM64

lxml-4.9.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.6 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.24+ x86-64

lxml-4.9.2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ ARM64

lxml-4.9.2-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_24_i686.whl (6.7 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ i686 manylinux: glibc 2.24+ i686

lxml-4.9.2-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (5.8 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.5+ x86-64

lxml-4.9.2-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl (5.6 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.5+ i686

lxml-4.9.2-cp36-cp36m-macosx_10_15_x86_64.whl (4.7 MB view hashes)

Uploaded CPython 3.6m macOS 10.15+ x86-64

lxml-4.9.2-cp35-cp35m-win_amd64.whl (3.8 MB view hashes)

Uploaded CPython 3.5m Windows x86-64

lxml-4.9.2-cp35-cp35m-win32.whl (3.5 MB view hashes)

Uploaded CPython 3.5m Windows x86

lxml-4.9.2-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (5.7 MB view hashes)

Uploaded CPython 3.5m manylinux: glibc 2.5+ x86-64

lxml-4.9.2-cp35-cp35m-manylinux_2_5_i686.manylinux1_i686.whl (5.6 MB view hashes)

Uploaded CPython 3.5m manylinux: glibc 2.5+ i686

lxml-4.9.2-cp27-cp27mu-manylinux_2_5_x86_64.manylinux1_x86_64.whl (5.7 MB view hashes)

Uploaded CPython 2.7mu manylinux: glibc 2.5+ x86-64

lxml-4.9.2-cp27-cp27mu-manylinux_2_5_i686.manylinux1_i686.whl (5.6 MB view hashes)

Uploaded CPython 2.7mu manylinux: glibc 2.5+ i686

lxml-4.9.2-cp27-cp27m-win_amd64.whl (3.8 MB view hashes)

Uploaded CPython 2.7m Windows x86-64

lxml-4.9.2-cp27-cp27m-win32.whl (3.4 MB view hashes)

Uploaded CPython 2.7m Windows x86

lxml-4.9.2-cp27-cp27m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (5.7 MB view hashes)

Uploaded CPython 2.7m manylinux: glibc 2.5+ x86-64

lxml-4.9.2-cp27-cp27m-manylinux_2_5_i686.manylinux1_i686.whl (5.6 MB view hashes)

Uploaded CPython 2.7m manylinux: glibc 2.5+ i686

lxml-4.9.2-cp27-cp27m-macosx_10_15_x86_64.whl (4.7 MB view hashes)

Uploaded CPython 2.7m macOS 10.15+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page