FindSoftware

nh3

Python binding to the ammonia HTML sanitization library, for cleaning HTML fragments.

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

Current major version
Pre-1.07
Last release
2026-08-247

Adoption

GitHub stars
4072
Contributors
178
Dependent repositories
5529
Dependent packages
6739

Why these figures do not compare

Sources

  1. 2026-11-16: links
    nh3.readthedocs.io/en/latest/
  2. 2026-11-16: links, GitHub stars
    api.github.com/repos/messense/nh3
  3. 2026-11-16: First release
    api.github.com/repos/messense/nh3/commits/v0.1.0
  4. 2026-11-16: Maintainer, Maintained by
    github.com/messense/nh3/blob/main/LICENSE
  5. 2026-11-16: Categories, Written in, Install with, License
    github.com/messense/nh3/blob/main/README.md
  6. 2026-11-16: Runtime, Minimum runtime
    github.com/messense/nh3/blob/v0.3.7/pyproject.toml
  7. 2026-11-16: Current major version, Last release
    api.github.com/repos/messense/nh3/releases/latest
  8. 2026-11-16: Contributors
    api.github.com/repos/messense/nh3/contributors?per_page=1
  9. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/pypi.org/packages/nh3

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON