Plaster is a loader interface around multiple config file formats. It exists to define a common API for applications to use when they wish to load configuration. The library itself does not aim to handle anything except a basic API that applications may use to find and load configuration settings. Any specific constraints should be implemented in a pluggable loader which can be registered via an entrypoint.
This package provides a Python 3 ported version of Python 2.7’s random
module. It has also been back-ported to work in Python 2.6.
In Python 3, the implementation of randrange()
was changed, so that even with the same seed you get different sequences in Python 2 and 3.
This package closes that gap, allowing stable random number generation between the different Python versions.
Pympler is a development tool to measure, monitor and analyze the memory behavior of Python objects in a running Python application.
By pympling a Python application, detailed insight in the size and the lifetime of Python objects can be obtained. Undesirable or unexpected runtime behavior like memory bloat and other pymples can easily be identified.
A web profiling frontend exposes process statistics, garbage visualisation and class tracker statistics.
CoolBox is a toolkit for visual analysis of genomics data. It aims to be highly compatible with the Python ecosystem, easy to use and highly customizable with a well-designed user interface. It can be used in various visualization situations, for example, to produce high-quality genome track plots or fetch common used genomic data files with a Python script or command line, interactively explore genomic data within Jupyter environment or web browser.
The socksio
Python module is a client-side sans-I/O SOCKS proxy implementation. It supports SOCKS4, SOCKS4A, and SOCKS5. socksio
is a sans-I/O library similar to h11
or h2
; this means the library itself does not handle the actual sending of the bytes through the network, it only deals with the implementation details of the SOCKS protocols. It can be paired with any I/O library.
Directory iteration function like os.listdir(), except that instead of returning a list of bare filenames, it yields DirEntry objects that include file type and stat information along with the name. Using scandir() increases the speed of os.walk() by 2-20 times (depending on the platform and file system) by avoiding unnecessary calls to os.stat() in most cases.
This package is part of the Python standard library since version 3.5.
This package implements a functionality to produce map based simulations for the Simons Observatory or other CMB experiments. It creates simulated maps in HEALPix and CAR pixelization based on:
foreground models included in PySM
custom foregrounds models from the so_pysm_models package
precomputed Cosmic Microwave Background simulations
noise simulations based on expected performance and simulated hitmaps
effect of gaussian beam convolution
PeachPy is a Python framework for writing high-performance assembly kernels. PeachPy aims to simplify writing optimized assembly kernels while preserving all optimization opportunities of traditional assembly.
PeachPy can generate ELF, MS-COFF, Mach-O object files, and assembly listings for the Go language tool chain; it adapts to different calling conventions and application binary interfaces (ABIs); it takes care of register allocation; it supports x86_64 instructions up to AVX-512 and SHA.
HDBSCAN - Hierarchical Density-Based Spatial Clustering of Applications with Noise. Performs DBSCAN over varying epsilon values and integrates the result to find a clustering that gives the best stability over epsilon. This allows HDBSCAN to find clusters of varying densities (unlike DBSCAN), and be more robust to parameter selection. HDBSCAN is ideal for exploratory data analysis; it's a fast and robust algorithm that you can trust to return meaningful clusters (if there are any).
This package implements a functionality to create project files for supported tools and run them in batch or GUI mode. All EDA tools such as Icarus, Yosys, ModelSim, Vivado, Verilator, GHDL, Quartus etc get input HDL files (Verilog and VHDL) and some tool-specific files (constraint files,memory initialization files, IP description files etc). Together with the files, perhaps a couple of Verilog `defines, some top-level parameters/generics or some tool-specific options are set.
Pytools is a bag of things that are ``missing'' from the Python standard library:
small helper functions such as
len_iterable
,argmin
, tuple generation, permutation generation, ASCII table pretty printing, GvR'smonkeypatch_xxx
hack, the elusiveflatten
, and much more.Michele Simionato's decorator module
A time-series logging module,
pytools.log
.Batch job submission,
pytools.batchjob
.A lexer,
pytools.lex
.
This package provides wrappers for the commands of Python 3.x such that they can also be invoked under their usual names---e.g., python
instead of python3
or pip
instead of pip3
.
To function properly, this package should not be installed together with the python
package: this package uses the python
package as a propagated input, so installing this package already makes both the versioned and the unversioned commands available.
This package provides wrappers for the commands of Python 3.x such that they can also be invoked under their usual names---e.g., python
instead of python3
or pip
instead of pip3
.
To function properly, this package should not be installed together with the python
package: this package uses the python
package as a propagated input, so installing this package already makes both the versioned and the unversioned commands available.
Netcdf4-python is a Python interface to the netCDF C library. netCDF version 4 has many features not found in earlier versions of the library and is implemented on top of HDF5. This module can read and write files in both the new netCDF 4 and the old netCDF 3 format, and can create files that are readable by HDF5 clients. The API is modelled after Scientific.IO.NetCDF
, and should be familiar to users of that module.
MPI for Python (mpi4py) provides bindings of the Message Passing Interface (MPI) standard for the Python programming language, allowing any Python program to exploit multiple processors.
mpi4py is constructed on top of the MPI-1/MPI-2 specification and provides an object oriented interface which closely follows MPI-2 C++ bindings. It supports point-to-point and collective communications of any picklable Python object as well as optimized communications of Python objects (such as NumPy arrays) that expose a buffer interface.
The drizzle library is a Python package for combining dithered images into a single image. This library is derived from code used in DrizzlePac. Like DrizzlePac, most of the code is implemented in the C language. The biggest change from DrizzlePac is that this code passes an array that maps the input to output image into the C code, while the DrizzlePac code computes the mapping by using a Python callback. Switching to using an array allowed the code to be greatly simplified.
python-astroid
provides a common base representation of Python source code for projects such as pychecker, pyreverse, pylint, etc. It provides a compatible representation which comes from the _ast module. It rebuilds the tree generated by the builtin _ast module by recursively walking down the AST and building an extended ast. The new node classes have additional methods and attributes for different usages. They include some support for static inference and local name scopes. Furthermore, astroid builds partial trees by inspecting living objects.
Mutagen is a Python module to handle audio metadata. It supports ASF, FLAC, M4A, Monkey’s Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG audio files. All versions of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and APEv2 tags can be edited regardless of audio format. It can also manipulate Ogg streams on an individual packet/page level.
Boltons is a set of over 230 pure-Python utilities in the same spirit as — and yet conspicuously missing from — the standard library, including:
Atomic file saving, bolted on with fileutils
A highly-optimized OrderedMultiDict, in dictutils
Two types of PriorityQueue, in queueutils
Chunked and windowed iteration, in iterutils
Recursive data structure iteration and merging, with iterutils.remap
Exponential backoff functionality, including jitter, through iterutils.backoff
A full-featured TracebackInfo type, for representing stack traces, in tbutils
This project documents instruction sets in a format convenient for tools development. An instruction set is represented by three files:
an XML file that describes instructions;
an XSD file that describes the structure of the XML file;
a Python module that reads the XML file and represents it as a set of Python objects;
It currently provides descriptions for most user-mode x86, x86_64, and k1om instructions up to AVX-512 and SHA (including 3dnow!+, XOP, FMA3, FMA4, TBM and BMI2).
This package is a Cython wrapper for khash-sets/maps. It brings functionality of khash to Python and Cython and can be used seamlessly in numpy or pandas. Numpy's world is lacking the concept of a (hash-)set. This shortcoming is fixed and efficient (memory- and speedwise compared to pandas) unique
and isin
are implemented. Python-set/dict have a big memory-footprint. For some datatypes the overhead can be reduced by using khash by factor 4-8.
Natsort lets you apply natural sorting on lists instead of lexicographical. If you use the built-in sorted
method in python on a list such as [
, it would be returned as a20
, a9
, a1
, a4
, a10
][
. Natsort provides a function a1
, a10
, a20
, a4
, a9
]natsorted
that identifies numbers and sorts them separately from strings. It can also sort version numbers, real numbers, mixed types and more, and comes with a shell command natsort
that exposes this functionality in the command line.
MOFA is a factor analysis model that provides a general framework for the integration of multi-omic data sets in an unsupervised fashion. Intuitively, MOFA can be viewed as a versatile and statistically rigorous generalization of principal component analysis to multi-omics data. Given several data matrices with measurements of multiple -omics data types on the same or on overlapping sets of samples, MOFA infers an interpretable low-dimensional representation in terms of a few latent factors. These learnt factors represent the driving sources of variation across data modalities, thus facilitating the identification of cellular states or disease subgroups.
This Python module can be used to generate and parse RFC 5451/7001/7601 Authentication-Results
email headers. It supports extensions such as:
RFC 5617 DKIM/ADSP
RFC 6008 DKIM signature identification (
header.b
)RFC 6212 VBR
RFC 6577 SPF
RFC 7281
Authentication-Results
registration for S/MIMERFC 7293 The
Require-Recipient-Valid-Since
header fieldRFC 7489 DMARC
ARC (draft-ietf-dmarc-arc-protocol-08)