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.
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.
The asyncstdlib library re-implements functions and classes of the Python standard library to make them compatible with async callables, iterables and context managers. It is fully agnostic to async event loops and seamlessly works with asyncio, third-party libraries such as trio, as well as any custom async event loop.
Flask-RESTX is an extension for Flask that adds support for quickly building REST APIs. Flask-RESTX encourages best practices with minimal setup. If you are familiar with Flask, Flask-RESTX should be easy to pick up. It provides a coherent collection of decorators and tools to describe your API and expose its documentation properly using Swagger.
This Python package provides the Python side of the texlive-minted LaTeX package. It performs syntax highlighting using the python-pygments library. It also provides several code formatting and manipulation features implemented in Python that would be difficult to perform in LaTeX, such as dedenting code and extracting code snippets from source files using regular expressions.
ISO 8601 is most commonly known as a way to exchange datetimes in textual format. A lesser known aspect of the standard is the representation of durations. The state of the art of ISO 8601 duration handling in Python is more or less limited to what's offered by isodate. This package attempts to address the shortcomings of isodate.
The LAZR config system is typically used to manage process configuration. Process configuration is for saying how things change when we run systems on different machines, or under different circumstances. This system uses ini-like file format of section, keys, and values. The config file supports inheritance to minimize duplication of information across files. The format supports schema validation.
The pyudorandom module lets you iterate over a list in a non-succsessive, yet deterministic way based on integer modulo. It comes in handy when you want to mix up the items, but don't need any guarantees of randomness. It might be slow on small data, but shall be significantly faster than random.shuffle for longer lists.
This package provides YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order. It is a derivative of Kirill Simonov’s PyYAML 3.11. It supports YAML 1.2 and has round-trip loaders and dumpers. It supports comments. Block style and key ordering are kept, so you can diff the source.
This package provides YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order. It is a derivative of Kirill Simonov’s PyYAML 3.11. It supports YAML 1.2 and has round-trip loaders and dumpers. It supports comments. Block style and key ordering are kept, so you can diff the source.
Telomerecat is a tool for estimating the average telomere length (TL) for a paired end, whole genome sequencing (WGS) sample.
Telomerecat is adaptable, accurate and fast. The algorithm accounts for sequencing amplification artifacts, anneouploidy (common in cancer samples) and noise generated by WGS. For a high coverage WGS BAM file of around 100GB telomerecat can produce an estimate in ~1 hour.
PyTorch is a Python package that provides two high-level features:
tensor computation (like NumPy) with strong GPU acceleration;
deep neural networks (DNNs) built on a tape-based autograd system.
You can reuse Python packages such as NumPy, SciPy, and Cython to extend PyTorch when needed.
Note: currently this package does not provide GPU support.
This package provides a simple implementation of contracts for Python. Contracts are a debugging and verification tool. They are declarative statements about what states a program must be in to be considered "correct" at runtime. They are similar to assertions, and are verified automatically at various well-defined points in the program. Contracts can be specified on functions and on classes.
Construct isolines/isosurfaces of a 2D/3D scalar field defined by a function, i.e. curves over which f(x,y)=0 or surfaces over which f(x,y,z)=0. Most similar libraries use marching squares or similar over a uniform grid, but this uses a quadtree to avoid wasting time sampling many far from the implicit surface.
This package supports the creation of a combined header for a FITS file based on the contents of the headers of a set of input FITS images. A rules file defines what keywords will be present in the combined output header as well as how the output value will be determined from the set of values from all the input image headers.
PINT is not TEMPO3 - package providing a Pulsar Timing, written in Python from scratch. Features:
a robust system to produce high-precision timing results that is completely independent of TEMPO and Tempo2
a system that is easy to extend and modify due to a good design and the use of a modern programming language, techniques, and libraries
Python XMP Toolkit is a library for working with XMP metadata, as well as reading/writing XMP metadata stored in many different file formats.
Python XMP Toolkit is wrapping Exempi (using ctypes), a C/C++ XMP library based on Adobe XMP Toolkit, ensuring that future updates to the XMP standard are easily incorporated into the library with a minimum amount of work.
The proposal of this package is to provide XPath 1.0 and 2.0 selectors for Python's ElementTree XML data structures, both for the standard ElementTree library and for the lxml.etree library.
For lxml.etree this package can be useful for providing XPath 2.0 selectors, because lxml.etree already has its own implementation of XPath 1.0.
Itemloaders is a library that helps you collect data from HTML and XML sources. It comes in handy to extract data from web pages, as it supports data extraction using CSS and XPath Selectors.
It’s specially useful when you need to standardize the data from many sources. For example, it allows you to have all your casting and parsing rules in a single place.
This package provides a set of sparse matrix solvers used in geoscience.
All solvers work with scipy.sparse matricies, and a single or multiple right hand sides using numpy:
L/U Triangular Solves
Wrapping of SciPy matrix solvers (direct and indirect)
Pardiso solvers now that MKL comes with conda!
Mumps solver with nice error messages