lxml
PyPIv6.1.2Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.
Safe to adopt
Yes — lxml scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 22 days ago. 15 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- AMaintenance: grade A, Excellent.
Last published 22 days ago. 15 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 8.2 MB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
BSD-3-Clause — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding lxml to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Python
- python >=3.8
Release history
15 releases in the last two years, typically about 31 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 7.0.0b1 | 18 days ago | 8.5 MB | BSD-3-Clause |
| 6.1.2latest | 22 days ago | 8.2 MB | BSD-3-Clause |
| 7.0.0a3 | 2 months ago | 8.3 MB | BSD-3-Clause |
| 7.0.0a2 | 3 months ago | 8.3 MB | BSD-3-Clause |
| 7.0.0a1 | 3 months ago | 8.4 MB | BSD-3-Clause |
| 6.1.1 | 3 months ago | 8.1 MB | BSD-3-Clause |
| 6.1.0 | 4 months ago | 8.1 MB | BSD-3-Clause |
| 6.0.4 | 5 months ago | 8.1 MB | BSD-3-Clause |
| 6.0.3 | 5 months ago | 8.1 MB | BSD-3-Clause |
| 6.0.2 | 11 months ago | 8.2 MB | BSD-3-Clause |
| 6.0.1 | 1 year ago | 8.0 MB | BSD-3-Clause |
| 6.0.0 | 1 year ago | 8.0 MB | BSD-3-Clause |
| 5.4.0 | 1 year ago | 7.7 MB | BSD-3-Clause |
| 5.3.2 | 1 year ago | 7.8 MB | BSD-3-Clause |
| 5.3.1 | 1 year ago | 7.8 MB | BSD-3-Clause |
Overview
lxml is an PyPI package that powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API. The latest version is 6.1.2, released under the BSD-3-Clause license.
Who should use it
Teams working in the PyPI ecosystem who need powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your PyPI stack.
Pros
- Clear open-source license (BSD-3-Clause).
- Zero runtime dependencies — minimal footprint.
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use lxml?
Yes — lxml scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 22 days ago. 15 releases in the last 2 years.
How do I install lxml?
Run `pip install lxml` to add lxml to your PyPI project.
What license is lxml released under?
lxml is distributed under the BSD-3-Clause license.
Is lxml still maintained?
The most recent release of lxml (v6.1.2) was published 22 days ago.