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

html5lib/html5lib-python

Standards-compliant library for parsing and serializing HTML documents and fragments in Python observed · 2026-08-28

github.com/html5lib/html5lib-python · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

67/100

  • Activity 78
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

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

  • gap_med: n/a
  • age_days: 4894
  • days_rel: n/a
  • days_push: 134
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1223 stars · 308 forks observed · 2026-08-28

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

html5lib is a pure-Python library for parsing and serializing HTML documents and fragments according to the WHATWG HTML specification, matching browser behavior. It supports multiple tree formats including ElementTree, minidom, and lxml.

Use cases

  • parse html documents in python
  • parse malformed html like a browser would
  • extract data from html pages
  • serialize html fragments
  • convert html to lxml or minidom trees
  • strict html validation with parse errors

When to choose

  • you need browser-identical HTML5 parsing behavior
  • you must handle broken or real-world HTML robustly
  • you need a pure-Python parser with no C dependencies

When to avoid

  • you only need fast parsing of well-formed HTML (lxml is faster)
  • you need to parse XML rather than HTML
  • you need active feature development rather than maintenance

Facets

library · maturity maintenance

parser serialization web-development parsers developer-tools python html-parsing whatwg-html5 pure-python web-scraping-support

1 source

Member repositories

RepositoryRoleHealth v2
html5lib/html5lib-pythonmain67

For agents

markdown · JSON · MCP: product_card(name="html5lib/html5lib-python")

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