Comparison
bleach vs html-sanitizer
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
An easy safelist-based HTML-sanitizing tool.
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install bleachHTML 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-sanitizerIn short
- bleach is archived: avoid it for new projects.
- html-sanitizer is the most used: 594.1K downloads a month.
- html-sanitizer also has the best Pythie’s Index (52).
- html-sanitizer is growing fastest: downloads +11% over the last month.
Side by side
| Metric | bleach | html-sanitizer |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 9 | 52 |