Comparison
html-sanitizer vs lxml-html-clean
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
HTML sanitizer
Maintained. Last release 4 days ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install html-sanitizerHTML cleaner from lxml project
Maintained. Last release 4 days ago, commits in 2 of the last 26 weeks. Weaker on commit activity.
$
pip install lxml-html-cleanIn short
- lxml-html-clean is the most used: 23.3M downloads a month, 39× more than html-sanitizer.
- lxml-html-clean also has the best Pythie’s Index (62).
- lxml-html-clean is growing fastest: downloads +15% over the last month.
- Safe default for a new project: lxml-html-clean.
Side by side
| Metric | html-sanitizer | lxml-html-clean |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 52 | 62 |