-
python3-click-option-group-0.5.6-1.lbn36.noarch
click-option-group is a Click-extension package that adds option groups
missing in Click.
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-geohash-0.8.5-1.lbn36.x86_64
* python-geohash
python-geohash is a fast, accurate python geohashing library.
** History
python-geohash 0.8 introduced uint64 representation.
python-geohash 0.7.1 starts supporting python3k.
python-geohash 0.3 can create C extension. If you want to use python-geohash
without C extension, simply copy geohash.py into your system. geohash.py will
work fine without C extension.
**...
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-geopy-2.3.0-1.lbn36.noarch
geopy is a Python client for several popular geocoding web services.geopy
makes it easy for Python developers to locate the coordinates of addresses,
cities, countries, and landmarks across the globe using
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-hashids-1.3.1-1.lbn36.noarch
A python port of the JavaScript hashids implementation. It generates YouTube-like hashes from one or many numbers. Use hashids when you do not want to expose your database ids to the user. Website: http:/www.hashids.org/
Compatibility
hashids is tested with python 2.7 and 3.5–3.8. PyPy and PyPy 3 work as well.
Compatibility with the JavaScript implementation
hashids/JavaScript
hashids/Python
v0.1.x
v0.8.x
v0.3.x+
v1.0.2+
The JavaScript implementation produces different hashes in versions 0.1.x and 0.3.x. For compatibility with the older 0.1.x version install hashids 0.8.4 from pip, otherwise the newest hashids.
Installation
Install the module from PyPI, e. g. with pip:
pip install hashids
pip install hashids==0.8.4 # for compatibility with hashids.js 0.1.x
Run the tests
The tests are written with pytest. The pytest module has to be installed.
python -m pytest
Usage
Import the constructor from the hashids module:
from hashids import Hashids
hashids = Hashids()
Basic Us
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-holidays-0.39-1.lbn36.noarch
python-holidays A fast, efficient Python library for generating country- and
subdivision- (e.g. state or province) specific sets of government-designated
holidays on the fly. It aims to make determining whether a specific date is a
holiday as fast and flexible as possible.:PyPI: .. image::
Located in
LBN
/
…
/
Data Science
/
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-pandas+all-2.2.1-1.lbn36.x86_64
This is a metapackage bringing in all extras requires for python3-pandas.
It makes sure the dependencies are installed.
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-pandas+aws-2.2.1-1.lbn36.x86_64
This is a metapackage bringing in aws extras requires for python3-pandas.
It makes sure the dependencies are installed.
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-pandas+clipboard-2.2.1-1.lbn36.x86_64
This is a metapackage bringing in clipboard extras requires for python3-pandas.
It makes sure the dependencies are installed.
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-pandas+compression-2.2.1-1.lbn36.x86_64
This is a metapackage bringing in compression extras requires for
python3-pandas.
It makes sure the dependencies are installed.
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36