pynrrd is a Python module for reading and writing NRRD files (format designed to support scientific visualization and image processing involving N-dimensional raster data) into and from numpy arrays.
Pylama is a code audit tool for Python and JavaScript to check for style, syntax and other code health metrics. It is essentially a convenient wrapper above tools such as Pyflakes, pydocstyle, pycodestyle and McCabe, among others.
PyLops is an open-source Python library focused on providing a backend-agnostic, idiomatic, matrix-free library of linear operators and related computations. It is inspired by the iconic MATLAB Spot – A Linear-Operator Toolbox project.
Pyppmd provides classes and functions for compressing and decompressing text data, using the Prediction by partial matching (PPM) compression algorithm variation H and I.2. It provides an API similar to Python's zlib/bz2/lzma modules.
Pyface contains toolkit-independent GUI abstraction layers, used to support the TraitsUI package. Thus, you can write code in the abstraction of the Pyface API and the selected toolkit and backend take care of the details of displaying them.
Provides a high-level interface to the ECWMF ECCODES C library for reading GRIB files. There are limited capabilities for writing GRIB files (you can modify the contents of an existing file, but you can't create one from scratch).
pybids provides a set of tools for working with BIDS datasets. The BIDS standard aims at organizing and describing neuroimaging data in a uniform way in order to facilitate data sharing within the scientific community.
Read one-dimensional barcodes and QR codes using the zbar library.
Features:
Pure python
Works with PIL / Pillow images, OpenCV / numpy ndarrays, and raw bytes
Decodes locations of barcodes
No dependencies, other than the zbar library itself
PyYAML is a YAML parser and emitter for Python. PyYAML features a complete YAML 1.1 parser, Unicode support, pickle support, capable extension API, and sensible error messages. PyYAML supports standard YAML tags and provides Python-specific tags that represent an arbitrary Python object.
Pydbus provides a pythonic interface to the D-Bus message bus system. Pydbus can be used to access remote objects and also for object publication. It is based on PyGI, the Python GObject Introspection bindings, which is the recommended way to use GLib from Python.
Pydbus provides a pythonic interface to the D-Bus message bus system. Pydbus can be used to access remote objects and also for object publication. It is based on PyGI, the Python GObject Introspection bindings, which is the recommended way to use GLib from Python.
PyStoG is a Python package for converting between different total scattering functions used in crystalline and amorphous materials research. It handles reciprocal-space structure factors and real-space pair distribution functions, performing Fourier transforms between them and applying filters to remove spurious artifacts in the data.
PySDL2 is a pure Python wrapper around the SDL2,SDL2_mixer, SDL2_image, SDL2_ttf, and SDL2_gfx libraries. Instead of relying on C code, it uses the built-in ctypes module to interface with SDL2, and provides simple Python classes and wrappers for common SDL2 functionality.
PyERFA is the Python wrapper for the ERFA library (Essential Routines for Fundamental Astronomy), a C library containing key algorithms for astronomy, which is based on the SOFA library published by the International Astronomical Union (IAU). All C routines are wrapped as Numpy universal functions, so that they can be called with scalar or array inputs.
pyHalo renders full mass distributions for substructure lensing simulations with gravitational lensing software package lenstronomy. The main purpose of the code is to quickly render full populations of dark matter subhalos and line of sight halos for gravitational lensing simulations. It also transltes halo properties (mass, concentration, redshift, etc) into angular units for lensing computations with lenstronomy.
PyHDRL provides a Python 3 API (language bindings) for the ESO High Level Data Reduction Library (HDRL) using pybind11. It allows for using the ESO High Level Data Reduction Library in Python scripts, or directly in an interactive Python session, and thus allows for using HDRL algorithms in recipes implemented in Python as part of an instrument pipeline package.
This package provides tools to easily search and download French data from INSEE and IGN APIs. This data includes more than 150 000 macroeconomic series, a dozen datasets of local french data, numerous sources available on insee.fr, geographical limits of administrative areas taken from IGN as well as key metadata and SIRENE database containing data on all French compagnies.
The goal of pygmsh is to combine the power of Gmsh with the versatility of Python. The package generalises many of the methods and functions that comprise the Gmsh Python API. In this way the meshing of complex geometries using high-level abstractions is made possible. The package provides a Python library together with a command-line utility for mesh optimisation.
The Python pyperf module is a toolkit for writing, running and analyzing benchmarks. It features a simple API that can:
automatically calibrate a benchmark for a time budget;
spawn multiple worker processes;
compute the mean and standard deviation;
detect if a benchmark result seems unstable;
store benchmark results in JSON format;
support multiple units: seconds, bytes and integer.
Pylint is a Python source code analyzer which looks for programming errors, helps enforcing a coding standard and sniffs for some code smells (as defined in Martin Fowler's Refactoring book).
Pylint has many rules enabled by default, way too much to silence them all on a minimally sized program. It's highly configurable and handle pragmas to control it from within your code. Additionally, it is possible to write plugins to add your own checks.
PypeIt is a Python package for semi-automated reduction of astronomical spectroscopic data. Its algorithms build on decades-long development of previous data reduction pipelines by the developers.
It is designed to be used by both advanced spectroscopists with prior data reduction expertise and astronomers with no prior experience of data reduction. It is highly configurable and designed to be applied to any standard slit-imaging spectrograph, including long-slit, multi-slit, as well as cross-dispersed echelle spectra.
PyRuSH is the python implementation of RuSH, which is originally developed using Java. RuSH is an efficient, reliable, and easy adaptable rule-based sentence segmentation solution. It is specifically designed to handle the telegraphic written text in clinical note. It leverages a nested hash table to execute simultaneous rule processing, which reduces the impact of the rule-base growth on execution time and eliminates the effect of rule order on accuracy.
Conflict-free Replicated Data Types (CRDTs) allow creating shared documents that can automatically merge changes made concurrently on different copies of the data. When the data lives on different machines, they make it possible to build distributed systems that work with local data, leaving the synchronization and conflict resolution with remote data to the CRDT algorithm, which ensures that all data replicas eventually converge to the same state.
This is a Python CRDT library that provides bindings for Yrs, the Rust port of the Yjs framework.
PyBVRF is a Python package for working with BVRF files.
The package includes the following features:
Support for multi-participant recordings
Seamless integration with MNE-Python
Convenient access to metadata (including the original YAML header)
Support for markers and impedance data
A BVRF recording consists of multiple files which are expected to be available in the same directory. The required files are:
<fname>.bvrh (header file)
<fname>.bvrd (data file)
<fname>.bvrm (marker file)
Optionally, <fname>.bvri (impedance file) may also be present.