{"library":"nh3","type":"library","category":null,"description":"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.","language":"python","status":"active","version":"0.3.4","tags":["html-sanitizer","security","rust-bindings","xss-prevention","html"],"install":[{"cmd":"pip install nh3","imports":["from nh3 import clean","from nh3 import Cleaner"]}],"homepage":null,"github":"https://github.com/messense/nh3","docs":null,"changelog":null,"pypi":"https://pypi.org/project/nh3/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/nh3/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":"verified"}}