lxml is a new Python binding for libxml2 and libxslt, completely independent from existing Python bindings. Its aim:
- Pythonic API.
- Documented.
- Use Python unicode strings in API.
- Safe (no segfaults).
- No manual memory management!
Original maintainer | Matthias Klose |
---|---|
Homepage | https://lxml.de/ |
4.5.0


4.4.2

4.4.1


4.4.0

4.3.3

4.3.2

4.2.5



4.2.3

4.2.1

4.1.1

4.1.0

4.0.0



3.7.1

3.5.0

3.4.4

Distribution | Version | Since | Package | Installed | Packager | |
---|---|---|---|---|---|---|
![]() | deb | 4.3.2-1 | 2019-03-18 | 1.11 MiB | 4.12 MiB | Matthias Klose |
![]() | deb | 3.7.1-1 | 2017-11-10 | 879 kiB | 3.08 MiB | Matthias Klose |
![]() | deb | 4.2.5-1~bpo9+1 | 2019-01-12 | 1.29 MiB | 4.59 MiB | Matthias Klose |
![]() | rpm | 4.1.1-2.fc28 | 2019-01-14 | 1.39 MiB | 4.5 MiB | Fedora Project |
![]() | rpm | 4.1.1-2.fc28 | 2019-01-14 | 1.39 MiB | 4.5 MiB | Fedora Project |
![]() | rpm | 4.2.3-2.fc29 | 2019-01-14 | 1.45 MiB | 4.77 MiB | Fedora Project |
![]() | rpm | 4.2.3-2.fc29 | 2019-01-14 | 1.45 MiB | 4.77 MiB | Fedora Project |
![]() | rpm | 4.2.3-2.fc29 | 2019-01-14 | 1.45 MiB | 4.77 MiB | Fedora Project |
![]() | rpm | 4.2.3-2.fc29 | 2019-01-14 | 1.45 MiB | 4.77 MiB | Fedora Project |
![]() | rpm | 4.2.5-2.fc30 | 2019-06-17 | 1.37 MiB | 4.61 MiB | Fedora Project |
![]() | rpm | 4.2.5-2.fc30 | 2019-06-17 | 1.37 MiB | 4.61 MiB | Fedora Project |
![]() | rpm | 4.2.5-2.fc30 | 2019-06-17 | 1.37 MiB | 4.61 MiB | Fedora Project |
![]() | rpm | 4.4.0-1.fc31 | 2020-01-07 | 1.48 MiB | 4.99 MiB | Fedora Project |
![]() | rpm | 4.4.1-4.fc32 | 2020-02-08 | 1.45 MiB | 4.72 MiB | Fedora Project |
![]() | deb | 4.1.0-1~mx17+1 | 2019-01-14 | 1.15 MiB | 4.19 MiB | Steven Pusser |
![]() | rpm | 4.0.0-lp150.2.6 | 2019-01-17 | 1.22 MiB | 4.44 MiB | https://bugs.opensuse.org |
![]() | rpm | 4.0.0-lp151.3.13 | 2019-03-14 | 1.22 MiB | 4.45 MiB | https://bugs.opensuse.org |
![]() | rpm | 4.4.2-lp152.1.1 | 2020-03-19 | 1.25 MiB | 4.6 MiB | https://bugs.opensuse.org |
![]() | rpm | 3.4.4-5.4 | 2019-01-17 | 760 kiB | 2.69 MiB | http://bugs.opensuse.org |
![]() | rpm | 4.5.0-1.1 | 2020-03-11 | 1.48 MiB | 5.04 MiB | https://bugs.opensuse.org |
![]() | deb | 4.0.0-1 | 2017-11-10 | 1.08 MiB | 4.1 MiB | Ubuntu Developers |
![]() | deb | 4.2.1-1 | 2018-06-12 | 1.04 MiB | 3.97 MiB | Ubuntu Developers |
![]() | deb | 4.2.1-1ubuntu0.1 | 2019-01-12 | 1.04 MiB | 3.97 MiB | Ubuntu Developers |
![]() | deb | 4.2.1-1ubuntu0.1 | 2019-01-12 | 1.04 MiB | 3.97 MiB | Ubuntu Developers |
![]() | deb | 4.2.5-1 | 2019-01-14 | 1.81 MiB | 8.28 MiB | Ubuntu Developers |
![]() | deb | 4.3.3-1 | 2019-06-17 | 1.07 MiB | 4.11 MiB | Ubuntu Developers |
![]() | deb | 4.4.1-1 | 2019-09-04 | 1.26 MiB | 4.7 MiB | Ubuntu Developers |
![]() | deb | 4.5.0-1 | 2020-03-05 | 1.32 MiB | 4.72 MiB | Ubuntu Developers |
![]() | deb | 3.5.0-1build1 | 2017-11-10 | 792 kiB | 2.94 MiB | Ubuntu Developers |
![]() | deb | 3.5.0-1ubuntu0.1 | 2019-01-12 | 791 kiB | 2.94 MiB | Ubuntu Developers |
![]() | deb | 3.5.0-1ubuntu0.1 | 2019-01-12 | 791 kiB | 2.94 MiB | Ubuntu Developers |
Latest updates

OpenSUSE Leap 15.2 oss: Updated from 4.0.0-lp152.4.3 to 4.4.2-lp152.1.1
2020-03-19
- Update to 4.4.2:
- LP#1835708: ElementInclude incorrectly rejected repeated non-recursive includes as recursive.
- Remove patch lxml-libxml-2.9.10.patch which is now upstream

OpenSUSE Tumbleweed oss: Updated from 4.4.2-1.1 to 4.5.0-1.1
2020-03-11
- update to 4.5.0
- A new function indent() was added to insert tail whitespace for pretty-printing an XML tree.
- LP#1857794 Tail text of nodes that get removed from a document using item deletion disappeared silently instead of sticking with the node that was removed.
- LP#1840234: The package version number is now available as lxml.__version__

Ubuntu 20.04 focal-proposed/main: Version 4.5.0-1 removed
2020-03-05

Ubuntu 20.04 focal/main: Updated from 4.4.2-1 to 4.5.0-1
2020-03-05
- New upstream version.
- Bump standards version.

Ubuntu 20.04 focal-proposed/main: Version 4.5.0-1 introduced
2020-02-19
- New upstream version.
- Bump standards version.

Fedora rawhide development/Everything-os: Updated from 4.4.1-3.fc32 to 4.4.1-4.fc32
2020-02-08

OpenSUSE Tumbleweed oss: Updated from 4.4.1-2.1 to 4.4.2-1.1
2020-01-26
- Update to 4.4.2:
- LP#1835708: ElementInclude incorrectly rejected repeated non-recursive includes as recursive.
- Remove patch lxml-libxml-2.9.10.patch which is now upstream

OpenSUSE Leap 15.2 oss: Updated from 4.0.0-lp152.4.2 to 4.0.0-lp152.4.3
2020-01-17
- run tests only when the appropriate pythons are available

Ubuntu 20.04 focal-proposed/main: Version 4.4.2-1 removed
2020-01-16

Ubuntu 20.04 focal/main: Updated from 4.4.1-1build1 to 4.4.2-1
2020-01-16
- New upstream version.
- python-lxml-dbg: Depend on python2-dbg instead of python-dbg.
- Bump standards version.

Ubuntu 20.04 focal-proposed/main: Version 4.4.2-1 introduced
2020-01-10
- New upstream version.
- python-lxml-dbg: Depend on python2-dbg instead of python-dbg.
- Bump standards version.

Fedora 31 releases/Everything-os: Version 4.4.0-1.fc31 introduced
2020-01-07
- Update to 4.4.0

OpenSUSE Leap 15.2 oss: Version 4.0.0-lp152.4.2 introduced
2020-01-07
- run tests only when the appropriate pythons are available

Ubuntu 20.04 focal/main: Version 4.4.1-1build1 introduced
2020-01-07

OpenSUSE Tumbleweed oss: Updated from 4.4.1-1.1 to 4.4.1-2.1
2019-12-13
- Add lxml-libxml-2.9.10.patch: Fix build against libxml 2.9.10.

Fedora rawhide development/Everything-os: Updated from 4.4.1-2.fc32 to 4.4.1-3.fc32
2019-11-22
- Subpackage python2-lxml has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal

Ubuntu 16.04 LTS xenial-updates/main: Version 3.5.0-1ubuntu0.1 reintroduced
2019-10-02
- SECURITY UPDATE: XSS attacks
- Make the cleaner remove javascript URLs
that use espacing in in src/lxml/html/clean.py,
src/lxml/html/tests/test_clean.txt. - CVE-2018-19787
- Make the cleaner remove javascript URLs

Ubuntu 16.04 LTS xenial-updates/main: Version 3.5.0-1ubuntu0.1 removed
2019-10-02

OpenSUSE Tumbleweed oss: Updated from 4.4.0-1.1 to 4.4.1-1.1
2019-09-27
- Update to 4.4.1:
- LP#1838252: The order of an OrderedDict was lost in 4.4.0 when passing it as attrib mapping during element creation.
- LP#1838521: The package metadata now lists the supported Python versions.

Fedora rawhide development/Everything-os: Updated from 4.4.0-2.fc32 to 4.4.1-2.fc32
2019-09-08
- Generate C files using py3 Cython
Related packages
python3 - interactive high-level object-oriented language (default python3 version)
python3-lxml-dbg - pythonic binding for the libxml2 and libxslt libraries (debug extension)
python3-lxml-debuginfo - Debug information for package python3-lxml
python3-lxml-debugsource - Debug sources for package python3-lxml
python3-lxml-devel - Development files for python-lxml
python3-lxml-doc - Documentation for python-lxml, an XML processing library