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 https://launchpad.net/lxml

In case you want to use the current in-development version of lxml, you can get it from the github repository at https://github.com/lxml/lxml . Note that this requires Cython to build the sources, see the build instructions on the project home page. To the same end, running easy_install lxml==dev will install lxml from https://github.com/lxml/lxml/tarball/master#egg=lxml-dev if you have an appropriate version of Cython installed.

After an official release of a new stable series, bug fixes may become available at https://github.com/lxml/lxml/tree/lxml-4.5 . Running easy_install lxml==4.5bugfix will install the unreleased branch state from https://github.com/lxml/lxml/tarball/lxml-4.5#egg=lxml-4.5bugfix as soon as a maintenance branch has been established. Note that this requires Cython to be installed at an appropriate version for the build.

4.5.0 (2020-01-29)

Features added

  • A new function indent() was added to insert tail whitespace for pretty-printing an XML tree.

Bugs fixed

  • 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.

Other changes

  • MacOS builds are 64-bit-only by default. Set CFLAGS and LDFLAGS explicitly to override it.

  • Linux/MacOS Binary wheels now use libxml2 2.9.10 and libxslt 1.1.34.

  • LP#1840234: The package version number is now available as lxml.__version__.

Project details


Download files

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

Source Distribution

lxml_odidev-4.5.0.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

File details

Details for the file lxml_odidev-4.5.0.tar.gz.

File metadata

  • Download URL: lxml_odidev-4.5.0.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

File hashes

Hashes for lxml_odidev-4.5.0.tar.gz
Algorithm Hash digest
SHA256 76d4a25eea224aaa772177643ccb00a508d4d90525aa7ba1a4c4f183182e82e0
MD5 c70b8c8db8fc4f05ec7e27c76f20444b
BLAKE2b-256 4c807c1873c9488e1f8be3ea9f20834aa27621b136da0e35a4cccaf589d0c5e7

See more details on using hashes here.

File details

Details for the file lxml_odidev-4.5.0-cp37-cp37m-manylinux2014_aarch64.whl.

File metadata

  • Download URL: lxml_odidev-4.5.0-cp37-cp37m-manylinux2014_aarch64.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

File hashes

Hashes for lxml_odidev-4.5.0-cp37-cp37m-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3fe740b745468299493fd355e1f7957df576b997e2a59f3341ddd2bdba4093d3
MD5 4750dc5a48fb37404924e3ffdf6766ea
BLAKE2b-256 889300fb3d490b8955e7899cc3b90e192b103dec7cbd41f4c5f1e0aec698fdde

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page