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

EmilStenstrom/justhtml

A pure Python HTML5 parser that just works. No C extensions to compile. No system dependencies to install. No complex API to learn. observed · 2026-08-28

github.com/EmilStenstrom/justhtml · homepage · Python · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

83/100

  • Activity 98
  • Release rhythm 86
  • Longevity 44

Flags: no_license

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: 1.0
  • age_days: 620
  • days_rel: 17
  • days_push: 17
  • n_releases_24m: 87

Full methodology

Adoption not part of the score

1151 stars · 44 forks observed · 2026-08-28

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

JustHTML is a pure Python HTML5 parser with browser-style error recovery, safe-by-default sanitization, CSS selector querying, and serialization to HTML, text, or Markdown. It has zero runtime dependencies and no C extensions, making it easy to deploy anywhere Python runs.

Use cases

  • sanitize untrusted user-supplied HTML
  • parse malformed HTML like a browser
  • extract text or markdown from HTML
  • query HTML with CSS selectors in Python
  • replace Bleach or html5lib in a Python project
  • scrape messy real-world web pages
  • convert HTML to markdown

When to choose

  • you need correct HTML5 parsing of untrusted or malformed HTML in Python
  • you want sanitization built in rather than a separate library
  • you need zero-dependency deployment, including PyPy or Pyodide
  • you're migrating from Bleach or html5lib

When to avoid

  • you need maximum throughput parsing of terabytes of trusted HTML - use a C/Rust-backed parser like lxml
  • you need a non-Python language

Facets

library · maturity active

parser security web-scraping serialization parsers web-development security developer-tools python cross-platform cli html5-parsing html-sanitization css-selectors pure-python markdown-conversion bleach-replacement dom-manipulation

3 sources

Member repositories

RepositoryRoleHealth v2
EmilStenstrom/justhtmlmain83

For agents

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

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