Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
The lxml XML toolkit for Python

This branch is 768 commits behind lxml:master

Failed to load latest commit information.
benchmark removed unused import
doc minor doc cleanup in FAQ
fake_pyrex/Pyrex [svn r2800] switch to Cython completely, currently requires fake Pyre…
samples [svn r3984] r4817@delle: sbehnel | 2008-10-18 21:34:58 +0200
src fix dump() debug helper function in Python 3
tools xpathgrep.py: new -t option to surround output with root tag, fixes f…
.gitignore Add .gitignore
.hgignore fix versions of test environments and Cython in tox.ini
.hgtags Added tag lxml-3.0.1 for changeset 22efeb405c9c
.travis.yml include PyPy in Travis tests
CHANGES.txt changelog
CREDITS.txt credits
DD.py [svn r4452] fix DD.py for Python 3.x
IDEAS.txt cleaned up TODO and IDEAS text files
INSTALL.txt doc update: make clear that we no longer provide binary releases
LICENSES.txt add licensing information to lxml.html and lxml.cssselect
MANIFEST.in add flattr and paypal buttons to github project page
Makefile avoid useless clean step before running tests
README.rst mention in README that lxml has been downloaded from PyPI more than 5…
TODO.txt todo comment on static linking
bisect_crashes.py [svn r4455] ignore more signals when checking for crashes
buildlibxml.py fix static build of libxml2 2.9.0
ez_setup.py [svn r4430] r5624@lenny: sbehnel | 2010-07-04 16:39:58 +0200
selftest.py work around problems with tricky to port ET test modules selftest.py …
selftest2.py work around problems with tricky to port ET test modules selftest.py …
setup.py avoid warning about unknown setup() option during build
setupinfo.py include Cython compilation in sdist build by passing the distutils Ex…
test.py exclude new xmlfile() tests in Py2.4 as they require the 'with' state…
tox.ini fix versions of test environments and Cython in tox.ini
update-error-constants.py renamed 'include' package to 'includes' because 'include' is a keywor…
valgrind-python.supp [svn r2864] some more suppressions
version.txt prepare release of 3.0.1
versioninfo.py renamed 'include' package to 'includes' because 'include' is a keywor…

README.rst

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 five 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. If you want to show us that you like it, please blog about your experience with it, link to the project website, or send us a flattr.

Flattr the lxml project

However, 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

Note that Flattr keeps 10% of the money for itself, so do not send any larger amounts through Flattr. Use PayPal for donations instead, or 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.