Cairocffi is a CFFI-based drop-in replacement for Pycairo, a set of Python bindings and object-oriented API for cairo. Cairo is a 2D vector graphics library with support for multiple backends including image buffers, PNG, PostScript, PDF, and SVG file output.
This package includes an extension for the Python library asdf to add support for reading and writing chunked Zarr arrays, a file storage format for chunked, compressed, N-dimensional arrays based on an open-source specification.
This package includes an extension for the Python library asdf to add support for reading and writing chunked Zarr arrays, a file storage format for chunked, compressed, N-dimensional arrays based on an open-source specification.
The aim of the decorator module is to simplify the usage of decorators for the average programmer, and to popularize decorators usage giving examples of useful decorators, such as memoize, tracing, redirecting_stdout, locked, etc. The core of this module is a decorator factory.
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.
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.
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.
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.
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.
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.
python-enlighten
is a console progress bar library for Python. The main advantage of Enlighten is that it allows writing to stdout and stderr without any redirection or additional code---just print or log as you normally would. Enlighten also includes experimental support for Jupyter Notebooks.
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.
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.
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.
Hypercorn is an ASGI web server based on the sans-io hyper, h11, h2, and wsproto libraries and inspired by Gunicorn. It supports HTTP/1, HTTP/2, WebSockets (over HTTP/1 and HTTP/2), ASGI/2, and ASGI/3 specifications. It can utilise asyncio, uvloop, or trio worker types.
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.
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.
The metacells package implements the improved metacell algorithm for single-cell RNA sequencing (scRNA-seq) data analysis within the scipy framework, and projection algorithm based on it. The original metacell algorithm was implemented in R. The Python package contains various algorithmic improvements and is scalable for larger data sets (millions of cells).
Logomaker is a Python package for generating publication-quality sequence logos. Logomaker can generate both standard and highly customized logos illustrating the properties of DNA, RNA, or protein sequences. Logos are rendered as vector graphics embedded within native matplotlib Axes objects, making them easy to style and incorporate into multi-panel figures.