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, current bug fixes become available at http://codespeak.net/svn/lxml/branch/lxml-2.0 . Running easy_install lxml==2.0bugfix will install this version from http://codespeak.net/svn/lxml/branch/lxml-2.0#egg=lxml-2.0bugfix

2.0 (2008-02-01)

Features added

  • Passing the unicode type as encoding to tostring() will serialise to unicode. The tounicode() function is now deprecated.

  • XMLSchema() and RelaxNG() can parse from StringIO.

  • makeparser() function in lxml.objectify to create a new parser with the usual objectify setup.

Bugs fixed

Other changes

Release files for lxml 2.0

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 2.0
File Size Uploaded
lxml-2.0.tar.gz 2.3 MB Details

Built distributions (wheels)

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

Total release size: 15.1 MB

Release files / lxml-2.0.tar.gz

Download URL lxml-2.0.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
062e6dbebcbe738eaa6e6298fe38b1ddf355dbe67a9f76c67a79fcef67468c5b
BLAKE2b-256 checksum
How to use checksums
9a9edc13c232c12d76fd2505268406d05819e9bcd5000f6f1c1279125f277f57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL lxml-2.0.win32-py2.5.exe
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
235c50d07e57f586219fad0d87b02255845eb24d6a553e2508c6f7251257a174
BLAKE2b-256 checksum
How to use checksums
af94d771751d04ba3701d7e531f7ae73381977f627ea1a3a4a220c896d095812
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL lxml-2.0.win32-py2.4.exe
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
e3861d5a81916febbc07a361fa44bdd58cee2c42782ad87777e749bf21757c37
BLAKE2b-256 checksum
How to use checksums
8b3d79a7b700443237b4b674c587dc13312687f2670a655c9204923df487afea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL lxml-2.0-py2.5-win32.egg
Size 3.2 MB
Tags Egg
SHA-256 checksum
How to use checksums
5f66ec0b71bad85dd295de49433ee3171f46cf245231298180867422599f7475
BLAKE2b-256 checksum
How to use checksums
765fb38f7306603dbfb8d345dc48506aa9a84c1adfd806803a84cbb53c87ecd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL lxml-2.0-py2.4-win32.egg
Size 3.2 MB
Tags Egg
SHA-256 checksum
How to use checksums
33b47393ccf448ba0f802378a59e4d6b63007d718dfa8d8bd4b2790d4ce4d862
BLAKE2b-256 checksum
How to use checksums
588b94ba90bd623154d706b3fcadc5af49319cdda100b82af534784568e9aaea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

6.0.0

94 release files

5.1.1

73 release files

5.0.2

81 release files

5.0.0

88 release files

4.9.4

93 release files

4.9.2

77 release files

4.9.0

63 release files

4.8.0

61 release files

4.7.1

60 release files

4.6.5

60 release files

4.6.3

48 release files

4.6.2

37 release files

4.6.1

37 release files

4.6.0

36 release files

4.5.1

27 release files

4.5.0

27 release files

4.4.3

27 release files

4.4.2

26 release files

4.4.1

26 release files

4.4.0

22 release files

4.3.5

24 release files

4.3.4

24 release files

4.3.3

26 release files

4.3.2

26 release files

4.2.5

30 release files

4.2.3

26 release files

4.2.2

27 release files

4.2.1

28 release files

4.2.0

28 release files

4.1.0

28 release files

4.0.0

28 release files

3.7.3

22 release files

3.7.1

16 release files

3.7.0

9 release files

3.6.4

14 release files

3.6.3

14 release files

3.6.2

9 release files

3.6.1

9 release files

3.6.0

21 release files

3.5.0

16 release files

3.4.4

16 release files

3.4.3

11 release files

3.4.1

16 release files

3.4.0

16 release files

3.3.6

16 release files

3.3.5

16 release files

3.3.2

11 release files

3.3.1

11 release files

3.3.0

1 release file

3.2.3

11 release files

3.2.2

11 release files

3.2.1

11 release files

3.2.0

11 release files

3.1.2

11 release files

3.1.1

11 release files

3.1.0

11 release files

3.0.2

6 release files

3.0

6 release files

2.3.6

1 release file

2.3.5

1 release file

2.3.4

1 release file

2.3.3

1 release file

2.3.2

1 release file

2.3.1

1 release file

2.3

22 release files

2.2.7

5 release files

2.2.6

9 release files

2.2.5

1 release file

2.2.4

17 release files

2.2.3

1 release file

2.2.2

16 release files

2.2

9 release files

2.1.5

7 release files

2.1.4

7 release files

2.1.3

7 release files

2.1.2

7 release files

2.1.1

7 release files

2.1

7 release files

2.0.11

7 release files

2.0.10

7 release files

2.0.9

7 release files

2.0.8

7 release files

2.0.7

5 release files

2.0.6

5 release files

2.0.5

5 release files

2.0.4

5 release files

This release

2.0 This release

5 release files

1.3.6

5 release files

1.3.5

1 release file

1.3.4

5 release files

1.3.3

5 release files

1.3.2

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