This package includes WrapSpawner and ProfilesSpawner, which provide mechanisms for runtime configuration of spawners. The inspiration for their development was to allow users to select from a range of pre-defined batch job profiles, but their operation is completely generic.
Lexicon provides a way to manipulate DNS records on multiple DNS providers in a standardized way. It has a CLI but it can also be used as a Python library. It was designed to be used in automation, specifically with Let's Encrypt.
This is a Python library for the generation of email authentication headers. The library can perform DKIM, SPF, and DMARC validation, and the results are packaged into the Authentication-Results header. The library can DKIM and ARC sign messages and output the corresponding signature headers.
Cloudpickle makes it possible to serialize Python constructs not supported by the default pickle module from the Python standard library. It is especially useful for cluster computing where Python expressions are shipped over the network to execute on remote hosts, possibly close to the data.
This Python library is a wrapper around tokenize from the Python standard library. It provides two additional tokens ESCAPED_NL and UNIMPORTANT_WS, and a Token data type. Use src_to_tokens and tokens_to_src to roundtrip.
FFCx is a compiler for finite element variational forms. From a high-level description of the form in the Unified Form Language (UFL), it generates efficient low-level C code that can be used to assemble the corresponding discrete operator (tensor).
Matplotlib is a Python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. Matplotlib can be used in Python scripts, the python and ipython shell, web application servers, and six graphical user interface toolkits.
pandarallel allows any Pandas user to take advantage of their multi-core computer, while Pandas uses only one core. pandarallel also offers nice progress bars (available on Notebook and terminal) to get an rough idea of the remaining amount of computation to be done.
The Levenshtein Python C extension module contains functions for fast computation of
Levenshtein (edit) distance, and edit operations
string similarity
approximate median strings, and generally string averaging
string sequence and set similarity
It supports both normal and Unicode strings.
fastparquet is a Python implementation of the Parquet file format. fastparquet is used implicitly by dask, pandas and intake-parquet. It supports the following compression algorithms:
Gzip
Snappy
Brotli
LZ4
Zstd
LZO (optionally)
CTranslate2 is a C++ and Python library for efficient inference with Transformer models.
The project implements a custom runtime that applies many performance optimization techniques such as weights quantization, layers fusion, batch reordering, etc., to accelerate and reduce the memory usage of Transformer models on CPU and GPU.
python-lazy-loader makes it easy to load subpackages and functions on demand. Its main features are:
Allow subpackages to be made visible to users without incurring import costs.
Allow external libraries to be imported only when used, improving import times.
Entry points are a way for Python packages to advertise objects with some common interface. The most common examples are console_scripts entry points, which define shell commands by identifying a Python function to run. The entrypoints module contains functions to find and load entry points.
smartpants can perform the following transformations:
Straight quotes ( " and ' ) into "curly" quote HTML entities
Backticks-style quotes (``like this'') into "curly" quote HTML entities
Dashes (-- and ---) into en- and em-dash entities
Three consecutive dots (... or . . .) into an ellipsis entity
Hypothesis is a library for testing your Python code against a much larger range of examples than you would ever want to write by hand. It’s based on the Haskell library, Quickcheck, and is designed to integrate seamlessly into your existing Python unit testing work flow.
lenstronomy is a multi-purpose software package to model strong gravitational lenses. lenstronomy finds application for time-delay cosmography and measuring the expansion rate of the Universe, for quantifying lensing substructure to infer dark matter properties, morphological quantification of galaxies, quasar-host galaxy decomposition and much more.
Fief is an open-source platform to manage users and authentication in your applications.
Key features:
Pre-built login and registration pages
Users management dashboard
SDK for the most popular languages and frameworks
Integrations for the most popular no-code tools
This is a library that enables automated deprecations. It offers the deprecated() decorator to wrap functions, providing proper warnings both in documentation and via Python’s warnings system, as well as the deprecation.fail_if_not_removed() decorator for test methods to ensure that deprecated code is eventually removed.
This package provides a version helper that lets you automatically use the latest vX.X.X Git tag as the version in your Python package. It also supports getting the version from Python source distributions or, once your package is installed, via pkg_resources (part of setuptools).
Kiwi is an efficient C++ implementation of the Cassowary constraint solving algorithm. Kiwi has been designed from the ground up to be lightweight and fast. Kiwi ranges from 10x to 500x faster than the original Cassowary solver with typical use cases gaining a 40x improvement. Memory savings are consistently > 5x.
The shellescape Python module defines the shellescape.quote() function that returns a shell-escaped version of a Python string. This is a backport of the shlex.quote() function from Python 3.8 that makes it accessible to users of Python 3 versions < 3.3 and all Python 2.x versions.
ScientificPython is a collection of Python modules that are useful for scientific computing. Most modules are rather general (Geometry, physical units, automatic derivatives, ...) whereas others are more domain-specific (e.g. netCDF and PDB support). The library is currently not actively maintained and works only with Python 2 and NumPy < 1.9.
This plugin installs a mocker fixture which is a thin-wrapper around the patching API provided by the mock package, but with the benefit of not having to worry about undoing patches at the end of a test. The mocker fixture has the same API as mock.patch, supporting the same arguments.