Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
The lxml XML toolkit for Python
Python XSLT Other
Failed to load latest commit information.
benchmark add benchmark for throw-away iteration for searching a specific tag
doc fix code formatting in docs
samples [svn r3984] r4817@delle: sbehnel | 2008-10-18 21:34:58 +0200
src minor code cleanup
tools new -t option to surround output with root tag, fixes f…
.gitignore make VCS ignore some more files
.hgignore make VCS ignore some more files
.hgtags sort tags file
.travis.yml drop old pip option in travis build
CHANGES.txt merge lxml-3.4 branch into master
CREDITS.txt credits [svn r4452] fix for Python 3.x
IDEAS.txt cleaned up TODO and IDEAS text files
INSTALL.txt minor doc clarification
LICENSES.txt add licensing information to lxml.html and lxml.cssselect properly integrate original ET selftest modules into test runner
Makefile properly integrate original ET selftest modules into test runner
README.rst replace donate gif image by png and serve it from instead of …
TODO.txt add TODO [svn r4455] ignore more signals when checking for crashes auto-detect top-level directory of downloaded zip files in static MSW… [svn r4430] r5624@lenny: sbehnel | 2010-07-04 16:39:58 +0200
requirements.txt Require Cython>=0.20 Remove bugtrack_url because it causes warning fix libxml2 check on build failures and enable it also when Cython is… exclude test modules from coverage reporting
tox.ini disable Cython compilation in tox build renamed 'include' package to 'includes' because 'include' is a keywor…
valgrind-python.supp update valgrind suppressions file
version.txt increase master branch version remove dead code from build scripts


What is lxml?

lxml is the most feature-rich and easy-to-use library for processing XML and HTML in the Python language. It's also very fast and memory friendly, just so you know.

For an introduction and further documentation, see doc/main.txt.

For installation information, see INSTALL.txt.

Support the project

lxml has been downloaded from the Python Package Index more than two million times and is also available directly in many package distributions, e.g. for Linux or MacOS-X.

Most people who use lxml do so because they like using it. You can show us that you like it by blogging about your experience with it and linking to the project website.

If you are using lxml for your work and feel like giving a bit of your own benefit back to support the project, consider sending us money through PayPal that we can use for fixing bugs in the software and improving its features and documentation. Please read the Legal Notice below, at the bottom of this page. Thank you for your support.

Donate to the lxml project

Please contact Stefan Behnel for other ways to support the lxml project, as well as commercial consulting, customisations and trainings on lxml and fast Python XML processing.

Legal Notice for Donations

Any donation that you make to the lxml project is voluntary and is not a fee for any services, goods, or advantages. By making a donation to the lxml project, you acknowledge that we have the right to use the money you donate in any lawful way and for any lawful purpose we see fit and we are not obligated to disclose the way and purpose to any party unless required by applicable law. Although lxml is free software, to the best of our knowledge the lxml project does not have any tax exempt status. The lxml project is neither a registered non-profit corporation nor a registered charity in any country. Your donation may or may not be tax-deductible; please consult your tax advisor in this matter. We will not publish or disclose your name and/or e-mail address without your consent, unless required by applicable law. Your donation is non-refundable.

Something went wrong with that request. Please try again.