Comparison
lxml-html-clean vs nh3
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
HTML 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-cleanPython binding to Ammonia HTML sanitizer Rust crate
Actively maintained. Last release 13 days ago, commits in 12 of the last 26 weeks. A safe choice.
$
pip install nh3In short
- nh3 is the most used: 45.6M downloads a month, 2.0× more than lxml-html-clean.
- nh3 also has the best Pythie’s Index (87).
- lxml-html-clean is growing fastest: downloads +15% over the last month.
- Safe default for a new project: nh3.
Side by side
| Metric | lxml-html-clean | nh3 |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 62 | 87 |