Skip to main content

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.

In case you want to use the current in-development version of lxml, you can get it from the subversion repository at http://codespeak.net/svn/lxml/trunk . Running easy_install lxml==dev will install it from http://codespeak.net/svn/lxml/trunk#egg=lxml-dev

Current bug fixes for the stable version are at http://codespeak.net/svn/lxml/branch/lxml-1.3 . Running easy_install lxml==1.3bugfix will install this version from http://codespeak.net/svn/lxml/branch/lxml-1.3#egg=lxml-1.3bugfix

1.3.4 (2007-08-30)

Features added

  • The ElementMaker in lxml.builder now accepts the keyword arguments namespace and nsmap to set a namespace and nsmap for the Elements it creates.

  • The docinfo on ElementTree objects has new properties internalDTD and externalDTD that return a DTD object for the internal or external subset of the document respectively.

  • Serialising an ElementTree now includes any internal DTD subsets that are part of the document, as well as comments and PIs that are siblings of the root node.

Bugs fixed

  • Parsing with the no_network option could fail

Other changes

  • lxml now raises a TagNameWarning about tag names containing ‘:’ instead of an Error as 1.3.3 did. The reason is that a number of projects currently misuse the previous lack of tag name validation to generate namespace prefixes without declaring namespaces. Apart from the danger of generating broken XML this way, it also breaks most of the namespace-aware tools in XML, including XPath, XSLT and validation. lxml 1.3.x will continue to support this bug with a Warning, while lxml 2.0 will be strict about well-formed tag names (not only regarding ‘:’).

  • Serialising an Element no longer includes its comment and PI siblings (only ElementTree serialisation includes them).

Metadata

Release files for lxml 1.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lxml 1.3.4
File Size Uploaded Provenance Actions
lxml-1.3.4.tar.gz 1.2 MB Without provenance Details for lxml-1.3.4.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for lxml 1.3.4
File Actions
lxml-1.3.4.win32-py2.5.exe Details for lxml-1.3.4.win32-py2.5.exe
lxml-1.3.4.win32-py2.4.exe Details for lxml-1.3.4.win32-py2.4.exe
lxml-1.3.4-py2.5-win32.egg Legacy Egg format - - Details for lxml-1.3.4-py2.5-win32.egg
lxml-1.3.4-py2.4-win32.egg Legacy Egg format - - Details for lxml-1.3.4-py2.4-win32.egg

Total release size: 13.3 MB

Release files / lxml-1.3.4.tar.gz

Download URL lxml-1.3.4.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
fadec22d2eafd1f66481cb785790e3cc96c9a113e9306d132dee3801437269f8
BLAKE2b-256 checksum
How to use checksums
b805358a792da9fc5fc349b3f991984eb8fc7763e2e5e67f404ca657f19564de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / lxml-1.3.4.win32-py2.5.exe

Download URL lxml-1.3.4.win32-py2.5.exe
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
9f62c6133b7c6b543935e968da27467e869fb3b761aaa91c54399e919c8f728b
BLAKE2b-256 checksum
How to use checksums
a4c122d1ecbba4b9acb6188012e53994ec0c80d791b34e1d0131fe43e8528dfa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / lxml-1.3.4.win32-py2.4.exe

Download URL lxml-1.3.4.win32-py2.4.exe
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
6305f40dd86bb97e707501873dc5adef7b2555cee40676745664fad90924fff6
BLAKE2b-256 checksum
How to use checksums
efbdeec62a1cb3d94bba14fe55e64f63e55f7ab697cc33c05224918ad5ad5618
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / lxml-1.3.4-py2.5-win32.egg

Download URL lxml-1.3.4-py2.5-win32.egg
Size 3.0 MB
Tags Egg
SHA-256 checksum
How to use checksums
50c190e0f2a3b3913fe989ea1c6fd869ffd87f39b3933fab11f1dbd577c94897
BLAKE2b-256 checksum
How to use checksums
74be61f2edcb05e978ff8af1a76f186b86b883a5c4e00b5007458795bbd94b51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / lxml-1.3.4-py2.4-win32.egg

Download URL lxml-1.3.4-py2.4-win32.egg
Size 3.0 MB
Tags Egg
SHA-256 checksum
How to use checksums
a8d6b1500f31bbfa7823b3e1a8afdcce2b5d12379f559bbfdfac0c19896e6a95
BLAKE2b-256 checksum
How to use checksums
f395a8166c31820050b1ab5b6ef3c50f4143448778bc46a19f6b0950ff3f76da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for lxml 1.3.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.3.4 This release

5 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page