nh3 HTML Sanitizer
JSON →nh3 is a Python binding to the Ammonia HTML sanitizer Rust crate, providing fast and configurable whitelist-based HTML sanitization. It is notably faster than pure-Python alternatives like `Bleach`, which it largely replaces since `html5lib` became unmaintained. The library is actively maintained, with its current version 0.3.4, and receives regular updates to both the Python bindings and its underlying Rust components.
Traffic · last 30 days ↓45% vs prev 7d
total hits 32
actors 7 distinct systems
last hit 2d ago human
top countries 🇺🇸 United States · 🇸🇬 Singapore · VN · 🇨🇦 Canada · 🇩🇪 Germany
API endpoints
full doc /v1/registry/nh3
install /v1/registry/nh3/install
compatibility /v1/registry/nh3/compatibility