-
python3-newt-0.52.21-12.lbn36.x86_64
The python3-newt package contains the Python 3 bindings for the newt library
providing a python API for creating text mode interfaces.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 36
-
python3-nftables-1.0.1-3.fc36.x86_64
The nftables python module provides an interface to libnftables via ctypes.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 36
-
python3-nh3-0.2.17-1.lbn36.x86_64
nh3
Python bindings to the ammonia HTML sanitization library.
Installation
pip install nh3
Usage
See the documentation.
Performance
A quick benchmark showing that nh3 is about 20 times faster than the deprecated bleach package.
Measured on a MacBook Air (M2, 2022).
Python 3.11.0 (main, Oct 25 2022, 16:25:24) [Clang 14.0.0 (clang-1400.0.29.102)]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.9.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import requests
In [2]: import bleach
In [3]: import nh3
In [4]: html = requests.get("https:/www.google.com").text
In [5]: %timeit bleach.clean(html)
2.85 ms ± 22.8 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
In [6]: %timeit nh3.clean(html)
138 µs ± 860 ns per loop (mean ± std. dev. of 7 runs, 10,000 loops each)
License
This work is released under the MIT license. A copy of the license is provided in the LICENSE file.
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-ninja-1.10.2.4-1.lbn36.x86_64
Ninja Python Distributions Ninja <>_ is a small build system with a focus on
speed.The latest Ninja python wheels provide ninja
1.10.2.g51db2.kitware.jobserver-1 < executable and ninja_syntax.py for
generating .ninja files. Latest Release --.. table:: +-++
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 36
-
python3-nltk-3.2.1-1.lbn19.noarch
The Natural Language Toolkit (NLTK) is a Python package for natural
language
processing. NLTK requires Python 2.7, or 3.2+.
Located in
LBN
/
…
/
Big Data
/
BastionLinux 19
-
python3-node-1.0-1.lbn36.noarch
Overview Node is a library to create nested data models and structures.These
data models are described as trees of nodes, optionally with attributes and
schema definitions.They utilize:
Located in
LBN
/
…
/
Plone 5
/
BastionLinux 36
-
python3-node-1.0-1.lbn36.noarch
Overview Node is a library to create nested data models and structures.These
data models are described as trees of nodes, optionally with attributes and
schema definitions.They utilize:
Located in
LBN
/
…
/
Business
/
BastionLinux 36
-
python3-node-ext-directory-0.8-1.lbn36.noarch
node.ext.directory Overview node.ext.directory is a node implementation for
file system directories.
Located in
LBN
/
…
/
Plone 5
/
BastionLinux 36
-
python3-node-ext-directory-0.8-1.lbn36.noarch
node.ext.directory Overview node.ext.directory is a node implementation for
file system directories.
Located in
LBN
/
…
/
Business
/
BastionLinux 36
-
python3-node-ext-ldap-1.0-1.lbn36.noarch
node.ext.ldap Overview node.ext.ldap is a LDAP convenience library for LDAP
communication based on python-ldap < (version 2.4 or later)
Located in
LBN
/
…
/
Plone 5
/
BastionLinux 36