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

In case you want to use the current in-development version of lxml, you can get it from the subversion repository at . Running easy_install lxml==dev will install it from

After an official release of a new stable series, bug fixes may become available at . Running easy_install lxml==2.2bugfix will install the unreleased branch state from as soon as a maintenance branch has been established.

2.2.7 (2010-07-24)

Bugs fixed

  • Crash in XSLT when generating text-only result documents with a stylesheet created in a different thread.

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-2.2.7.tar.gz (2.9 MB view hashes)

Uploaded source

Built Distributions

lxml-2.2.7-py2.7-macosx-10.3-fat.egg (4.6 MB view hashes)

Uploaded 2 7

lxml-2.2.7-py2.6-macosx-10.3-fat.egg (4.6 MB view hashes)

Uploaded 2 6

lxml-2.2.7-py2.5-macosx-10.3-ppc.egg (4.6 MB view hashes)

Uploaded 2 5

lxml-2.2.7-py2.5-macosx-10.3-i386.egg (4.6 MB view hashes)

Uploaded 2 5

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page