This package provides CLI tool and Python library parallel file downloader using asyncio. parfive can handle downloading multiple files in parallel as well as downloading each file in a number of chunks.
asciicast demo of parfive parfive works by creating a downloader object, appending files to it and then running the download. parfive has a synchronous API, but uses asyncio to parallelise downloading the files.
msprime is a population genetics simulator based on tskit. Msprime can simulate random ancestral histories for a sample of individuals (consistent with a given demographic model) under a range of different models and evolutionary processes. Msprime can also simulate mutations on a given ancestral history (which can be produced by msprime or other programs supporting tskit) under a variety of genome sequence evolution models.
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/C(++) implementation of Hartigan & Hartigan's dip test for unimodality.
The dip test measures multimodality in a sample by the maximum difference, over all sample points, between the empirical distribution function, and the unimodal distribution function that minimizes that maximum difference. Other than unimodality, it makes no further assumptions about the form of the null distribution.
Acoular is a Python module for acoustic beamforming that is distributed under the BSD 3-clause license.
It is aimed at (but not limited to) applications in acoustic testing. Multichannel data recorded by microphone arrays can be processed and analyzed to generate mappings of sound source distributions. The maps (acoustic photographs) can then be used to locate sources of interest and to characterize them using their spectra.
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.
This Python package implements Ted Dunning's t-digest data structure, which is designed around computing accurate estimates such as percentiles, quantiles and trimmed means from streaming or distributed data. Two t-digests can be added, making the data structure ideal for map-reduce settings, and can be serialized into much less than 10 kB, instead of storing the entire list of data.
This package provides Kullback-Leibler projections for Bayesian model selection. Variable selection refers to the process of identifying the most relevant variables in a model from a larger set of predictors. When performing this process, we usually assume that variables contribute unevenly to the outcome, and we want to identify the most important ones. Sometimes we also care about the order in which variables are included in the model.
distfit is a Python package for probability density fitting of univariate distributions for random variables. The distfit library can determine the best fit for over 90 theoretical distributions. The goodness-of-fit test is used to score for the best fit and after finding the best-fitted theoretical distribution, the loc, scale, and arg parameters are returned. It can be used for parametric, non-parametric, and discrete distributions.
This package provides some extra widgets for PyQt/PySide:
Multi-handle slider for float values
Spinbox with arbitrarily large integers
Magnitude combined with unit dropdown
Label that will elide text
Searchable ComboBox populated from Enum
Searchable List
Searchable Tree
Color ComboBox
Colormap ComboBox
Toggle switch
Collapsible widget to hide and unhide child widgets
Flow layout
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.
This package can 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.
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.
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).
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_xxxhack, 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.
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.
Python implementation of Parker wind models for planetary atmospheres. p-winds produces simplified, 1-D models of the upper atmosphere of a planet, and perform radiative transfer to calculate observable spectral signatures.
The scalable implementation of 1D models allows for atmospheric retrievals to calculate atmospheric escape rates and temperatures. In addition, the modular implementation allows for a smooth plugging-in of more complex descriptions to forward model their corresponding spectral signatures (e.g., self-consistent or 3D models).
Python implementation of Parker wind models for planetary atmospheres. p-winds produces simplified, 1-D models of the upper atmosphere of a planet, and perform radiative transfer to calculate observable spectral signatures.
The scalable implementation of 1D models allows for atmospheric retrievals to calculate atmospheric escape rates and temperatures. In addition, the modular implementation allows for a smooth plugging-in of more complex descriptions to forward model their corresponding spectral signatures (e.g., self-consistent or 3D models).
The electromagnetic modeller empymod can model electric or magnetic responses due to a three-dimensional electric or magnetic source in a layered-earth model with vertical transverse isotropic (VTI) resistivity, VTI electric permittivity, and VTI magnetic permeability, from very low frequencies (DC) to very high frequencies (GPR). The computation is carried out in the wavenumber-frequency domain, and various Hankel- and Fourier-transform methods are included to transform the responses into the space-frequency and space-time domains.
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.