nh3
Python binding to the ammonia HTML sanitization library, for cleaning HTML fragments.
nh3.readthedocs.io/en/latest/repositorydocs
nh3 lets Python code clean HTML fragments by calling ammonia, an HTML sanitization library written in Rust. The documentation is hosted on Read the Docs.
Worth knowing
The package is a wrapper, so the sanitizing itself happens in the Rust library underneath.
Identity
- Status
- Active
- Maintainer
- Messense Lv4
- Maintained by
- Individual4
- First release
- 20213
Rendering and deploy
- Install with
- pip5
Releases
Adoption
Sources
- 2026-11-16: links
nh3.readthedocs.io/en/latest/ - 2026-11-16: links, GitHub stars
api.github.com/repos/messense/nh3 - 2026-11-16: First release
api.github.com/repos/messense/nh3/commits/v0.1.0 - 2026-11-16: Maintainer, Maintained by
github.com/messense/nh3/blob/main/LICENSE - 2026-11-16: Categories, Written in, Install with, License
github.com/messense/nh3/blob/main/README.md - 2026-11-16: Runtime, Minimum runtime
github.com/messense/nh3/blob/v0.3.7/pyproject.toml - 2026-11-16: Current major version, Last release
api.github.com/repos/messense/nh3/releases/latest - 2026-11-16: Contributors
api.github.com/repos/messense/nh3/contributors?per_page=1 - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/pypi.org/packages/nh3