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.2 . Running easy_install lxml==4.2bugfix will install the unreleased branch state from https://github.com/lxml/lxml/tarball/lxml-4.2#egg=lxml-4.2bugfix 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.2.2 (2018-06-22)

Bugs fixed

  • GH#266: Fix sporadic crash during GC when parse-time schema validation is used and the parser participates in a reference cycle. Original patch by Julien Greard.

  • GH#265: lxml no longer links against zlib as a shared library, only on static builds. Patch by Nehal J Wani.

Release history Release notifications | RSS feed

Download files

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

Source Distribution

lxml-4.2.2.tar.gz (4.4 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

lxml-4.2.2-cp37-cp37m-manylinux1_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.7m

lxml-4.2.2-cp37-cp37m-manylinux1_i686.whl (5.6 MB view details)

Uploaded CPython 3.7m

lxml-4.2.2-cp36-cp36m-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.6mWindows x86-64

lxml-4.2.2-cp36-cp36m-win32.whl (3.2 MB view details)

Uploaded CPython 3.6mWindows x86

lxml-4.2.2-cp36-cp36m-manylinux1_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.6m

lxml-4.2.2-cp36-cp36m-manylinux1_i686.whl (5.6 MB view details)

Uploaded CPython 3.6m

lxml-4.2.2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.6mmacOS 10.10+ Intel (x86-64, i386)macOS 10.10+ x86-64macOS 10.6+ Intel (x86-64, i386)macOS 10.9+ Intel (x86-64, i386)macOS 10.9+ x86-64

lxml-4.2.2-cp35-cp35m-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.5mWindows x86-64

lxml-4.2.2-cp35-cp35m-win32.whl (3.2 MB view details)

Uploaded CPython 3.5mWindows x86

lxml-4.2.2-cp35-cp35m-manylinux1_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.5m

lxml-4.2.2-cp35-cp35m-manylinux1_i686.whl (5.5 MB view details)

Uploaded CPython 3.5m

lxml-4.2.2-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (8.9 MB view details)

Uploaded CPython 3.5mmacOS 10.10+ Intel (x86-64, i386)macOS 10.10+ x86-64macOS 10.6+ Intel (x86-64, i386)macOS 10.9+ Intel (x86-64, i386)macOS 10.9+ x86-64

lxml-4.2.2-cp34-cp34m-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.4mWindows x86-64

lxml-4.2.2-cp34-cp34m-win32.whl (3.2 MB view details)

Uploaded CPython 3.4mWindows x86

lxml-4.2.2-cp34-cp34m-manylinux1_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.4m

lxml-4.2.2-cp34-cp34m-manylinux1_i686.whl (5.5 MB view details)

Uploaded CPython 3.4m

lxml-4.2.2-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (8.9 MB view details)

Uploaded CPython 3.4mmacOS 10.10+ Intel (x86-64, i386)macOS 10.10+ x86-64macOS 10.6+ Intel (x86-64, i386)macOS 10.9+ Intel (x86-64, i386)macOS 10.9+ x86-64

lxml-4.2.2-cp33-cp33m-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.3mWindows x86-64

lxml-4.2.2-cp33-cp33m-win32.whl (3.2 MB view details)

Uploaded CPython 3.3mWindows x86

lxml-4.2.2-cp27-cp27mu-manylinux1_x86_64.whl (5.9 MB view details)

Uploaded CPython 2.7mu

lxml-4.2.2-cp27-cp27mu-manylinux1_i686.whl (5.5 MB view details)

Uploaded CPython 2.7mu

lxml-4.2.2-cp27-cp27m-win_amd64.whl (3.6 MB view details)

Uploaded CPython 2.7mWindows x86-64

lxml-4.2.2-cp27-cp27m-win32.whl (3.2 MB view details)

Uploaded CPython 2.7mWindows x86

lxml-4.2.2-cp27-cp27m-manylinux1_x86_64.whl (5.9 MB view details)

Uploaded CPython 2.7m

lxml-4.2.2-cp27-cp27m-manylinux1_i686.whl (5.5 MB view details)

Uploaded CPython 2.7m

lxml-4.2.2-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (8.9 MB view details)

Uploaded CPython 2.7mmacOS 10.10+ Intel (x86-64, i386)macOS 10.10+ x86-64macOS 10.6+ Intel (x86-64, i386)macOS 10.9+ Intel (x86-64, i386)macOS 10.9+ x86-64

File details

Details for the file lxml-4.2.2.tar.gz.

File metadata

  • Download URL: lxml-4.2.2.tar.gz
  • Upload date:
  • Size: 4.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lxml-4.2.2.tar.gz
Algorithm Hash digest
SHA256 82f278cd24da1b8a98df89de38946d67381a00e39adef768fd302dc8f4e1c383
MD5 0aa7db9dd54ed5b0c5611cef0ba490c5
BLAKE2b-256 41a726f3f89efcd33b2f033ff58fe3f0e535e2035d0fae481025eef51bc8ae43

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 37cda88cf6082fd9d78988156140a5922d4b296577b5ff83f72116c4061d7304
MD5 4edb6e6b0217120f44afb2e0ded6b9cf
BLAKE2b-256 2899ba03706e952800351b44c7159c6356cb1ec0bf1b9e092b82726e480becd6

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp37-cp37m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 36a47fb5d99f7827cb478cc71f907b728304ead3b12b0eb1a102199a0a0bf8a7
MD5 7320bb15bc07bc240cd28068c3217540
BLAKE2b-256 aa6b616ddd8106b9d5d7298f660859f5e44073737e86721a888203bf0bc8130e

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 852d077b69432ad3c2ee622d4a82588fc32c8f260d41ce1a34207e60213b04a1
MD5 8720f94bfd0b6d12c3325b192a97f24a
BLAKE2b-256 e084e11046c2a75df55ff4db445e2e83486dd97732eb21045d24f4b4f3921361

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp36-cp36m-win32.whl.

File metadata

  • Download URL: lxml-4.2.2-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lxml-4.2.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 39e80bafa7be141ff2d0bb8ed1652b9ac326573bf0e6678770d729adbd9d2670
MD5 20d9519c4c856372afbea5791a124c45
BLAKE2b-256 de36b22c0f64dd12c9a15eaba4b5025c6f4c5567b743a6b3c4cfd30a470cd0b9

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 482da759ec33fb78e3781d1c59aafa39a83265bbc796967f830d64d08f7212ad
MD5 c2e85e4c08f3d0be19a7125e37355672
BLAKE2b-256 fe71640d6b3f911184bbd3b92b78478b770630f07d58f3c3bcd67d244bd616d1

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp36-cp36m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 473ad409306e83dca68632bf29e1b40592b159af86318410ac42e8054f2904b8
MD5 98f3d9b69521a3cd334b64700106b75e
BLAKE2b-256 2f254f31b11a320676b620a8bb1d3ef66dd113406b2b012d5f70c769fa02e8bc

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 d06bbb503f9e41c836a1941d163469b6df2f77f004bff609849f58ed52fa2ad4
MD5 bdddd5625dee350de1d234e3ed688d70
BLAKE2b-256 965bfe878a083d2866c85df348f0698dbf7548dde20a815a509e43b1fd1c485f

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 512f1b88f46ef1e55cb05150b8e7029be1c10995c3531d6c1205afa8b61d8996
MD5 9e7dd2d7692eccbe03e31b8aa7953165
BLAKE2b-256 bb33d9e373baeba4900dba504015bbe1ccaf8ee198d7e2f40929804348cb4012

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp35-cp35m-win32.whl.

File metadata

  • Download URL: lxml-4.2.2-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lxml-4.2.2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 967ac7c857b4c67dbc906e2c7d81f89c14ea84d63adf4e95c6a1c9ed1bec2d77
MD5 13007f68edae0c58d8f70d32e9f38ec2
BLAKE2b-256 0fab324d1e9459fa885d770dac7ddac87e4bc1e30924e2c32858f15e908e3ca9

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4211c2ff1a465d9bafc671715d40695bfeb59065005a8b565069b4ab3faba5d9
MD5 97ae291ecd85a44e7d33cf12b3c7639b
BLAKE2b-256 9c5f536860cd07e0c793381fedb51fb8dd97ff753303a933b232f515c235f554

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d78d58d934a3c2f39daaf89aad5e71551ff75550cf4820020ad6ae29f1b82cc9
MD5 6459c7d94d4bfc3115272b62f3b8d7e5
BLAKE2b-256 8cea2f965f35ae1f108ab27e4cd9c8b05bd44cfc3dad45f24de48efb3ebb9ef0

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 4b487bf101ce0217afcc3eb661713b32f10d30f1cac1e9d966f0a988ea8a389c
MD5 0167d006fb404bee36c3211e35442bdd
BLAKE2b-256 68be26fdf664b07f753493f200c0fa43a2078b2c8db38c173679a7f2f50a32b9

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 73e23a2dd19d8f3c012cf6d3b221b32bf2254de49dfed449b2b87dd8fa56611e
MD5 d97a51443a035b78ee6921711462bf41
BLAKE2b-256 07a550527d14f1c844014552d6ed91e9cd7c28d197f1a912df7f7132d02a00e6

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp34-cp34m-win32.whl.

File metadata

  • Download URL: lxml-4.2.2-cp34-cp34m-win32.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.4m, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lxml-4.2.2-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 34cb8e68be4403d01a84f5dd5b9a089ddaedf28a3e9ff259708d88f9a60e2b7e
MD5 b4ba7f47fe5ae2f6e50cd4e2ca497caf
BLAKE2b-256 51f29678403e9ee4cd2614cc16b48cf12818adda34aa73abedc77eb0face52a2

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a8b8c161d9dab9e884f99e7d898f6e06db547a3a0398962b55de96130b6da777
MD5 e26103b154087b84cf89d4786f60c67b
BLAKE2b-256 9c1059082200c6d6a5870157d4659276f9138a9c9207cc00b515ea6c9267113b

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 bea02d0662709d905bc18402ad4b84c5a6dc72d9d86dbbe9958eadf3d158e63b
MD5 679a5719f98f790188ba633b680e43f6
BLAKE2b-256 b119758df2c09ad11120ce184e360e112ff2d0c1d9b4c88b28e4d65e85095911

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 8eee7864ea7882512bada274c2a58997a09fa8da5f8a31e298ebf7226df0cf75
MD5 cecc9b462fd5f561ba380ece45c0c8da
BLAKE2b-256 f6c1f2d952f0908470fe693372b1c8c00b5b4f7919494a38b07863859102fcf5

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp33-cp33m-win_amd64.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 a9368022ca262fd15625f365b557d66ce0743bc1e1901d85dfe1af9836f01713
MD5 36882ab8ec150e07fb883d02d5f621cb
BLAKE2b-256 2154d67e3c2ee4d5c2285dc9daef75412a79bcee34a6e228f6d28f8512fd76a0

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp33-cp33m-win32.whl.

File metadata

  • Download URL: lxml-4.2.2-cp33-cp33m-win32.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.3m, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lxml-4.2.2-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 01b194561b6a25d94b1267b785d6ec67eec6b62cce2591f3096de98ec22a704b
MD5 19909d5f7a8135c68c03a4ddbff5178f
BLAKE2b-256 6a93b0a1af07e55f0e131b3cd7674223bec622cb942b3bfb0b7c0fec562f5025

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1fc9e6adc16c0cab2596de5cd7adc5988635ec1e2dcae367e2a2009302ae89b3
MD5 b5003fa0a4ec2218a67640d1f8c1a95f
BLAKE2b-256 8a059ed98528824d3f1f74b2220c02ce550d4be2f53aa5ac6fb1092683f990ca

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 48cccd8ba29c4cc967cb0e3317c5931e0f0ade1692895da6ba9a5a31410d75af
MD5 cd4c190b34cc37e016f2b85da188b3dc
BLAKE2b-256 73d1f90dbef58249e4fd82c793d47739173b44b979bfb7a6b84dabc67091a933

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 10ad7277b618b9a0bafed7ddf73af6d9c9b3de8d42cbb881859d611d54de665c
MD5 c166ed9116ce27c18661c41b69c2e242
BLAKE2b-256 09e48760c868ddb1c6bc7564f82225ca1a4efb46ebb7f27fe0f4c98e34879cbe

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp27-cp27m-win32.whl.

File metadata

  • Download URL: lxml-4.2.2-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lxml-4.2.2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 810934dddb01a797fcd8ec9d9e981b8ebc7738ae1a5bbd2c90c7cdae5435609e
MD5 9e8c58378cec67cce0f84482c8663999
BLAKE2b-256 5e9f6c3b0e47389fafa6b91a437b170ad6963434130b1ff233b77a4bb67d6e1d

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ab5ab5df9589a4538c238cf3711978419562ccf9c72efc06fb2f5e3833b7e0f4
MD5 5592589fe1fe87a733e4a72c906af578
BLAKE2b-256 4f1612a126bfe22153a27e1024363515a2dcb55c8cb4553c9d1aa376d6f4f924

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d2965ef3521bcc3c82bd218a44f4c1f2630c127b5e1f35da50cb360e872bc3af
MD5 a843b638542d09138855f63178356f8d
BLAKE2b-256 e8bd0906a93491cd2be8caa13278f67cc5da6d4f1e01b5e583b5005c7b2b3ccb

See more details on using hashes here.

File details

Details for the file lxml-4.2.2-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for lxml-4.2.2-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 be1d3c858071d552aab304742726ea1b3a46f21761f2c2a7afa93a37e57597f5
MD5 139480e8886bfb191d12aea5faf7ad7e
BLAKE2b-256 3d472e9fb7581e00c561bdfed80e5040d0b3373c805cfe75dc8d97ac88caeacf

See more details on using hashes here.

Supported by

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