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

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
lxml-2.2.7-py2.5-macosx-10.3-i386.egg (4.6 MB) Copy SHA256 hash SHA256 Egg 2.5
lxml-2.2.7-py2.5-macosx-10.3-ppc.egg (4.6 MB) Copy SHA256 hash SHA256 Egg 2.5
lxml-2.2.7-py2.6-macosx-10.3-fat.egg (4.6 MB) Copy SHA256 hash SHA256 Egg 2.6
lxml-2.2.7-py2.7-macosx-10.3-fat.egg (4.6 MB) Copy SHA256 hash SHA256 Egg 2.7
lxml-2.2.7.tar.gz (2.9 MB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page