-
python3-connexion-2.14.2-4.lbn36.noarch
Connexion is a modern Python web framework that makes spec-first and api-first development easy. You describe your API in an OpenAPI (or Swagger) specification with as much detail as you want and Connexion will guarantee that it works as you specified.
It works either standalone, or in combination with any ASGI or WSGI-compatible framework!
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-connexion+flask-2.14.2-4.lbn36.noarch
This is a metapackage bringing in flask extras requires for python3-connexion.
It makes sure the dependencies are installed.
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-google-re2-20240702-21.lbn36.x86_64
A drop-in replacement for the re module.
It uses RE2 under the hood, of course, so various PCRE features (e.g.
backreferences, look-around assertions) are not supported. See
https://github.com/google/re2/wiki/Syntax for the canonical reference, but
known syntactic ”gotchas” relative to Python are:
• PCRE supports \Z and \z; RE2 supports \z; Python supports \z,
but calls it \Z. You must rewrite \Z to \z in pattern strings.
Known differences between this module’s API and the re module’s API:
• The error class does not provide any error information as attributes.
• The Options class replaces the re module’s flags with RE2’s options as
gettable/settable properties. Please see re2.h for their documentation.
• The pattern string and the input string do not have to be the same type.
Any str will be encoded to UTF-8.
• The pattern string cannot be str if the options specify Latin-1 encoding.
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-methodtools-0.4.7-2.lbn36.noarch
Expand functools features to methods, classmethods, staticmethods and even for
(unofficial) hybrid methods.
For now, methodtools only provides methodtools.lru_cache.
Use methodtools module instead of functools module. Than it will work as
you expected.
from methodtools import lru_cache
class A(object):
@lru_cache()
def cached_method(self, args):
...
@lru_cache() # the order is important!
@classmethod # always lru_cache on top of classmethod
def cached_classmethod(self, args):
...
@lru_cache() # the order is important!
@staticmethod # always lru_cache on top of staticmethod
def cached_staticmethod(self, args):
...
@lru_cache() # just same as functools.lru_cache
def cached_function():
...
Installation
PyPI is the recommended w
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-universal-pathlib-0.2.2-1.lbn36.noarch
Universal Pathlib
Universal Pathlib is a python library that aims to extend Python's built-in pathlib.Path api to use a variety of backend filesystems using fsspec
Installation
Pypi
python -m pip install universal_pathlib
conda
conda install -c conda-forge universal_pathlib
Basic Usage
>>> from upath import UPath
>>>
>>> s3path = UPath("s3:/test_bucket") / "example.txt"
>>> s3path.name
example.txt
>>> s3path.stem
example
>>> s3path.suffix
.txt
>>> s3path.exists()
True
>>> s3path.read_text()
'Hello World'
For more examples, see the example notebook here
Currently supported filesystems (and schemes)
file: Local filessystem
memory: Ephemeral filesystem in RAM
az:, adl:, abfs: and abfss: Azure Storage (requires adlfs to be installed)
http: and https: HTTP(S)-based filesystem
hdfs: Hadoop distributed filesystem
gs: and gcs: Google Cloud Storage (requires gcsfs to be installed)
s3: and s3a: AWS S3 (requires s3fs to be installed)
webdav+http: and w
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
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