Ross ROSS = Recommend OSS · open-source software intelligence for agents

lxml/lxml

The lxml XML toolkit for Python observed · 2026-08-28

github.com/lxml/lxml · homepage · Python · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

99/100

  • Activity 99
  • Release rhythm 99
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 23.5
  • age_days: 5682
  • days_rel: 11
  • days_push: 8
  • n_releases_24m: 15

Full methodology

Adoption not part of the score

3050 stars · 634 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

lxml is a fast, feature-rich Python library for processing XML and HTML, built on the C libraries libxml2 and libxslt. It provides an ElementTree-compatible API plus XPath, XSLT, schema validation (DTD, RelaxNG, XMLSchema, Schematron), CSS selectors, and HTML parsing utilities.

Use cases

  • parse xml files in python
  • scrape html pages with xpath
  • validate xml against an xsd schema
  • transform xml with xslt
  • extract data from html using css selectors
  • generate xml documents programmatically
  • parse malformed html with a lenient parser

When to choose

  • you need fast, memory-efficient XML/HTML parsing in Python
  • you need XPath, XSLT, or schema validation support
  • you want an ElementTree-compatible API with more features
  • you are scraping or cleaning real-world HTML

When to avoid

  • you only need simple XML parsing and want zero C dependencies (use stdlib ElementTree)
  • you are parsing JSON or non-markup data formats
  • you need a pure-Python solution for restricted environments

Facets

library · maturity stable

parser serialization web-scraping developer-tools parsers web-development developer-tools files python cross-platform xml html xpath xslt libxml2 cssselect schema-validation

8 sources

Member repositories

RepositoryRoleHealth v2
lxml/lxmlmain99

For agents

markdown · JSON · MCP: product_card(name="lxml/lxml")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem