www/py-nh3 0.2.21_1 MidnightBSD
Python Bindings to the ammonia HTML sanitization library
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- www, python
Description
This package offers Python bindings to the ammonia HTML sanitization library (see https://github.com/rust-ammonia/ammonia) and it has many options to customize the sanitization.
In the other systems
The newest version among them is 0.3.7, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | www/py-nh3 | 0.2.21_1 behind since 2026-07-06 | no data | - | [email protected] | - |
| FreeBSD | www/py-nh3 | 0.3.7_2 newest | none known | - | [email protected] | 2026-10-14 |
| OpenBSD | www/py-nh3 | 0.3.7 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | 2026-10-20 |
| NetBSD | www/py-nh3 | 0.3.7 newest | none known | - | [email protected] | 2026-09-01 |
| DragonFly | www/py-nh3 | 0.2.21 behind since 2026-07-06 | none known | - | [email protected] | - |
| HardenedBSD | www/py-nh3 | 0.3.7_1 newest | no data | - | [email protected] | - |
| GhostBSD | www/py-nh3 | 0.3.7_1 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}nh3
From mports:
cd /usr/mports/www/py-nh3 && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nh3>0:www/py-nh3
Dependency graph
Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}maturin>=1.0<2.0: devel/py-maturin
Build dependencies 1
Required by 1
Configuration
No options to configure.
- USES
- cargo python
- Service scripts
- none
Files
distinfo 91
| File | Size | SHA256 |
|---|---|---|
| nh3-0.2.21.tar.gz | 16581 | 4990e7ee6a55490dbf00d61a6f476c9a3258e31e711e13713b2ea7d6616f670e |
| rust/crates/ammonia-4.0.0.crate | 47763 | 1ab99eae5ee58501ab236beb6f20f6ca39be615267b014899c89b2f0bc18a459 |
| rust/crates/autocfg-1.4.0.crate | 17712 | ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26 |
| rust/crates/bitflags-2.8.0.crate | 47482 | 8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36 |
| rust/crates/cc-1.2.15.crate | 103196 | c736e259eea577f443d5c86c304f9f4ae0295c43f3ba05c21f1d66b5f06001af |
| rust/crates/cfg-if-1.0.0.crate | 7934 | baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd |
| rust/crates/displaydoc-0.2.5.crate | 24219 | 97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0 |
| rust/crates/form_urlencoded-1.2.1.crate | 8969 | e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456 |
| rust/crates/futf-0.1.5.crate | 11344 | df420e2e84819663797d1ec6544b13c5be84629e7bb00dc960d6917db2987843 |
| rust/crates/heck-0.5.0.crate | 11517 | 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea |
| rust/crates/html5ever-0.27.0.crate | 72913 | c13771afe0e6e846f1e67d038d4cb29998a6779f93c809212e4e9c32efd244d4 |
| rust/crates/icu_collections-1.5.0.crate | 82762 | db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526 |
| rust/crates/icu_locid-1.5.0.crate | 55131 | 13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637 |
| rust/crates/icu_locid_transform-1.5.0.crate | 29094 | 01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e |
| rust/crates/icu_locid_transform_data-1.5.0.crate | 44727 | fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e |
| rust/crates/icu_normalizer-1.5.0.crate | 53113 | 19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f |
| rust/crates/icu_normalizer_data-1.5.0.crate | 50561 | f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516 |
| rust/crates/icu_properties-1.5.1.crate | 64479 | 93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5 |
| rust/crates/icu_properties_data-1.5.0.crate | 227993 | 67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569 |
| rust/crates/icu_provider-1.5.0.crate | 52722 | 6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9 |
Master sites 1
- PYPI