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.

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

After an official release of a new stable series, bug fixes may become available at http://codespeak.net/svn/lxml/branch/lxml-2.2 . Running easy_install lxml==2.2bugfix will install the unreleased branch state from http://codespeak.net/svn/lxml/branch/lxml-2.2#egg=lxml-2.2bugfix as soon as a maintenance branch has been established.

2.2.5 (2010-02-28)

Features added

  • Support for running XSLT extension elements on the input root node (e.g. in a template matching on “/”).

Bugs fixed

  • Crash in XPath evaluation when reading smart strings from a document other than the original context document.

  • Support recent versions of html5lib by not requiring its XHTMLParser in htmlparser.py anymore.

  • Manually instantiating the custom element classes in lxml.objectify could crash.

  • Invalid XML text characters were not rejected by the API when they appeared in unicode strings directly after non-ASCII characters.

  • lxml.html.open_http_urllib() did not work in Python 3.

  • The functions strip_tags() and strip_elements() in lxml.etree did not remove all occurrences of a tag in all cases.

  • Crash in XSLT extension elements when the XSLT context node is not an element.

Download files

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

Source Distribution

lxml-2.2.5.tar.gz (3.0 MB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for lxml-2.2.5.tar.gz
Algorithm Hash digest
SHA256 57a9586e0259bc91629eac381bde9340fe60396fa0bc931e891c34d857b13a62
MD5 2ce79c4162c25063f58975a9a1f63e27
BLAKE2b-256 01a4741279738dd45555e0af9969c4c75980048d1819bb952fbd9319d367b3d6

See more details on using hashes here.

Release history Release notifications | RSS feed

6.1.3

176 files

6.1.2

176 files

6.1.1

134 files

6.1.0

134 files

6.0.4

134 files

6.0.3

134 files

6.0.2

140 files

6.0.1

116 files

6.0.0

94 files

5.4.0

132 files

5.3.2

138 files

5.3.1

138 files

5.3.0

138 files

5.2.2

142 files

5.2.1

154 files

5.2.0

113 files

5.1.1

73 files

5.1.0

78 files

5.0.2

81 files

5.0.1

90 files

5.0.0

88 files

4.9.4

93 files

4.9.3

92 files

4.9.2

77 files

4.9.1

70 files

4.9.0

63 files

4.8.0

61 files

4.7.1

60 files

4.6.5

60 files

4.6.4

60 files

4.6.3

48 files

4.6.2

37 files

4.6.1

37 files

4.6.0

36 files

4.5.2

33 files

4.5.1

27 files

4.5.0

27 files

4.4.3

27 files

4.4.2

26 files

4.4.1

26 files

4.4.0

22 files

4.3.5

24 files

4.3.4

24 files

4.3.3

26 files

4.3.2

26 files

4.3.0

26 files

4.2.6

30 files

4.2.5

30 files

4.2.4

30 files

4.2.3

26 files

4.2.2

27 files

4.2.1

28 files

4.2.0

28 files

4.1.1

28 files

4.1.0

28 files

4.0.0

28 files

3.8.0

39 files

3.7.3

22 files

3.7.2

19 files

3.7.1

16 files

3.7.0

9 files

3.6.4

14 files

3.6.3

14 files

3.6.2

9 files

3.6.1

9 files

3.6.0

21 files

3.5.0

16 files

3.4.4

16 files

3.4.3

11 files

3.4.2

16 files

3.4.1

16 files

3.4.0

16 files

3.3.6

16 files

3.3.5

16 files

3.3.4

11 files

3.3.3

11 files

3.3.2

11 files

3.3.1

11 files

3.3.0

1 file

3.2.5

11 files

3.2.4

11 files

3.2.3

11 files

3.2.2

11 files

3.2.1

11 files

3.2.0

11 files

3.1.2

11 files

3.1.1

11 files

3.1.0

11 files

3.0.2

6 files

3.0

6 files

2.3.6

1 file

2.3.5

1 file

2.3.4

1 file

2.3.3

1 file

2.3.2

1 file

2.3.1

1 file

2.3

22 files

2.2.8

16 files

2.2.7

5 files

2.2.6

9 files

This release

2.2.5 This release

1 file

2.2.4

17 files

2.2.3

1 file

2.2.2

16 files

2.2.1

10 files

2.2

9 files

2.1.5

7 files

2.1.4

7 files

2.1.3

7 files

2.1.2

7 files

2.1.1

7 files

2.1

7 files

2.0.11

7 files

2.0.10

7 files

2.0.9

7 files

2.0.8

7 files

2.0.7

5 files

2.0.6

5 files

2.0.5

5 files

2.0.4

5 files

2.0

5 files

1.3.6

5 files

1.3.5

1 file

1.3.4

5 files

1.3.3

5 files

1.3.2

3 files

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