The goal of sre_yield is to efficiently generate all values that can match a given regular expression, or count possible matches efficiently. It uses the parsed regular expression, so you get a much more accurate result than trying to just split strings.
python-discovery is a library for discovering Python interpreters installed on the current machine which may have multiple Python versions from system packages, pyenv, mise, asdf, uv, or the Windows registry (PEP 514). This library finds the right one.
pyRiemann is a Python machine learning package based on scikit-learn API. It provides a high-level interface for processing and classification of real (resp. complex)-valued multivariate data through the Riemannian geometry of symmetric (resp. Hermitian) positive definite (SPD) (resp. HPD) matrices.
NiReports contains the two main components of the visual reporting system of NiPreps: 1) reportlets, visualizations for assessing the quality of a particular processing step within the neuroimaging pipeline, and 2) assemblers, end-user write out reportlets to a predetermined folder.
The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. The pyparsing module provides a library of classes that client code uses to construct the grammar directly in Python code.
This library supports the building of wheels which, when installed, will expose packages in a local directory on sys.path in ``editable mode''. In other words, changes to the package source will be reflected in the package visible to Python, without needing a reinstall.
This package provides a fast and complete Python implementation of Markdown. It was written to closely match the behaviour of the original Perl-implemented Markdown.pl. It also comes with a number of extensions (called extras) for things like syntax coloring, tables, header-ids.
NumPy is the fundamental package for scientific computing with Python. It contains among other things: a powerful N-dimensional array object, sophisticated (broadcasting) functions, tools for integrating C/C++ and Fortran code, useful linear algebra, Fourier transform, and random number capabilities.
This Asynchronous Server Gateway Interface (ASGI) middleware protects against Cross-site request forgery (CSRF) attacks. It implements the Double Submit Cookie pattern, where a cookie is set that is then compared to a csrftoken hidden form field or a x-csrftoken HTTP header.
pyTooling is a collection of (abstract) data models, lacking classes, decorators, a new performance boosting meta-class, and enhanced exceptions. It also provides lots of helper functions---e.g., to ease the handling of package descriptions or to unify multiple existing APIs into a single API.
This module provides a Python interface to pkg-config. It can be used to find all pkg-config packages, check if a package exists, check if a package meets certain version requirements, query CFLAGS and LDFLAGS and parse the output to build extensions with setup.py.
This module performs conversions between Python values and C bit field structs represented as Python byte strings. It is intended to have a similar interface as the struct module from Python, but working on bits instead of primitive data types like char, int, etc.
findpeaks is a comprehensive Python library for robust detection and analysis of peaks and valleys in both 1D vectors and 2D arrays (images). The library provides multiple detection algorithms including topology-based persistent homology (most robust), mask-based local maximum filtering, and traditional peakdetect approaches.
This package implements a CAN matrix object in Python which describes the CAN-communication and its needed objects such as board units, frames, signals, and values. It also includes two command-line tools (canconvert and cancompare) for converting and comparing CAN databases.
autoflake removes unused imports and unused variables from Python code as reported by pyflakes.
By default, it only removes unused imports for modules that are part of the standard library. Removal of unused variables is also disabled by default. It also removes useless pass statements.
NARPS Open Pipelines is a project aimed at reproducing the 70 pipelines from the NARPS study (Botvinik-Nezer et al., 2020) and sharing them as an open resource for the community. It uses Nipype for workflow management and provides templates to facilitate the reproduction of neuroimaging analyses.
Splicekit is a modular platform for splicing analysis from short-read RNA-seq datasets. The platform also integrates pybio for genomic operations and scanRBP for RNA-protein binding studies. The whole analysis is self-contained (one single directory) and the platform is written in Python, in a modular way.
pytest-qt is a Pytest plugin that allows programmers to write tests for PyQt5 and PySide2 applications.
The main usage is to use the qtbot fixture, responsible for handling qApp creation as needed and provides methods to simulate user interaction, like key presses and mouse clicks.
Unidecode provides ASCII transliterations of Unicode text. Unidecode is useful when integrating with legacy code that doesn't support Unicode, or for ease of entry of non-Roman names on a US keyboard, or when constructing ASCII machine identifiers from human-readable Unicode strings that should still be somewhat intelligible.
Extremely fast spelling checker and suggester in Python.
The following algorithms are supported currently:
Edit-distance
Editex
Soundex
Caverphone 1.0 and 2.0
Typox
All the above algorithms use an underlying Trie-based dictionary for efficient storage and fast computation.
Halotools is a specialized python package for building and testing models of the galaxy-halo connection, and analyzing catalogs of dark matter halos. The core feature of Halotools is a modular platform for creating mock universes of galaxies starting from a catalog of dark matter halos obtained from a cosmological simulation.
t-Stochastic Neighborhood Embedding (t-SNE) is a highly successful method for dimensionality reduction and visualization of high dimensional datasets. A popular implementation of t-SNE uses the Barnes-Hut algorithm to approximate the gradient at each iteration of gradient descent. This package is a Cython wrapper for FIt-SNE.
Various definitions for a high-dimensional median exist and this Python package provides a number of fast implementations of these definitions. Medians are extremely useful due to their high breakdown point (up to 50% contamination) and have a number of nice applications in machine learning, computer vision, and high-dimensional statistics.
Harmonica is a Python library for processing and modeling gravity and magnetic data. It includes common processing steps, like calculation of Bouguer and terrain corrections, reduction to the pole, upward continuation, equivalent sources, and more. There are forward modeling functions for basic geometric shapes, like point sources, prisms and tesseroids.