The lxml XML toolkit for Python
Python XSLT Other
Clone or download
Failed to load latest commit information.
benchmark Remove unused imports. Apr 24, 2017
doc Merge branch lxml-4.2 into master. Aug 3, 2018
samples [svn r3984] r4817@delle: sbehnel | 2008-10-18 21:34:58 +0200 Oct 18, 2008
src/lxml Make test more resilient against changes in latest libxslt releases. Aug 4, 2018
tools Fix output in wheel building script. Jun 27, 2018
.appveyor.yml Trigger appveyor build. Jun 27, 2018
.gitignore Properly integrate the compilation of and some lxml.h… Aug 11, 2017
.hgignore Properly integrate the compilation of and some lxml.h… Aug 11, 2017
.hgtags Added tag lxml-4.2.4 for changeset 1220d40cbfe3 Aug 3, 2018
.travis.yml Show ccache stats in travis after using it in the build. Aug 4, 2018
CHANGES.txt Merge branch lxml-4.2 into master. Aug 3, 2018
CREDITS.txt credits Oct 9, 2012 [svn r4452] fix for Python 3.x Aug 8, 2010
IDEAS.txt update ideas file and remove things that were already done Dec 26, 2016
INSTALL.txt fix typos Jun 15, 2016
LICENSES.txt remove embedded copy of the doctest module Mar 17, 2017 remove unused May 5, 2018
Makefile Use latest libxml2 version in binary wheels of next release. Mar 10, 2018
README.rst Minor doc cleanups. Jun 20, 2018
TODO.txt add TODO May 24, 2014 [svn r4455] ignore more signals when checking for crashes Aug 8, 2010 Always disable crypto support in libxslt/libexslt to get more predict… Jul 30, 2018
requirements.txt Update 'official' Cython dependency. Sep 17, 2017 Officially remove support for Py2.6. Jul 30, 2018 Do not statically link compiled Python modules against libxml2 & frie… Jul 30, 2018 fix spelling mistakes originally found by scop in GH#230 Mar 18, 2017
tox.ini Make sure the html5lib tests are included in CI Mar 20, 2017 Simplify error constant setup. The MSVC work-around of splitting the … Nov 4, 2017
valgrind-python.supp update valgrind suppressions file Mar 23, 2013
version.txt Increase master version to 4.3.0a0. Jun 22, 2018 Avoid rebuilds if the version header file did not change. Mar 10, 2018


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.

For issue tracker, see

Support the project

lxml has been downloaded from the Python Package Index millions of 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.

Travis-CI and AppVeyor support the lxml project with their build and CI servers. Jetbrains supports the lxml project by donating free licenses of their PyCharm IDE.

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.