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.
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.
PyPDF2 is a pure Python PDF library capable of:
extracting document information (title, author, …)
splitting documents page by page
merging documents page by page
cropping pages
merging multiple pages into a single page
encrypting and decrypting PDF files
By being pure Python, it should run on any Python platform without any dependencies on external libraries. It can also work entirely on StringIO objects rather than file streams, allowing for PDF manipulation in memory. It is therefore a useful tool for websites that manage or manipulate PDFs.
PyEGA3 is a tool for viewing and downloading files from authorized EGA datasets. It uses the EGA data API and has several key features:
Files are transferred over secure https connections and received unencrypted, so no need for decryption after download.
Downloads resume from where they left off in the event that the connection is interrupted.
Supports file segmenting and parallelized download of segments, improving overall performance.
After download completes, file integrity is verified using checksums.
Implements the GA4GH-compliant htsget protocol for download of genomic ranges for data files with accompanying index files.
This package implements functionality for simulating X-ray emission from astrophysical sources.
X-rays probe the high-energy universe, from hot galaxy clusters to compact objects such as neutron stars and black holes and many interesting sources in between. pyXSIM makes it possible to generate synthetic X-ray observations of these sources from a wide variety of models, whether from grid-based simulation codes such as FLASH, Enzo, and Athena, to particle-based codes such as Gadget and AREPO, and even from datasets that have been created 'by hand', such as from NumPy arrays. pyXSIM also provides facilities for manipulating the synthetic observations it produces in various ways, as well as ways to export the simulated X-ray events to other software packages to simulate the end products of specific X-ray observatories.
pynose is a maintained successor of deprecated nose unittest runner. Changes over nose:
fixes
AttributeError: module 'collections' has no attribute 'Callable'fixes
AttributeError: module 'inspect' has no attribute 'getargspec'fixes
ImportError: cannot import name '_TextTestResult' from 'unittest'fixes
RuntimeWarning: TestResult has no addDuration methodfixes
DeprecationWarning: pkg_resources is deprecated as an APIfixes all
flake8issues from the original nosereplaces the imp module with the newer importlib module
the default logging level now hides
INFOlogs for less noiseadds
--capture-logsfor hiding output from all logging levelsadds
--logging-initto uselogging.basicConfig(level)the
-soption is always active to see the output ofprint()adds
--capture-outputfor hiding the output ofprint()adds
--coas a shortcut to using--collect-only
Python driver for MongoDB.
Python driver for MongoDB.
Python implementation of Jean Meeus astronomical routines
Generate PlantUML class diagrams to document your Python application.
This package provides a pure Python trie data structure implementation.
This package provides an extending scripting capabilities, present natively in Siril.
This package provides a parse gdb machine interface output with Python.
This package provides procedures for efficient pythonic random access to fasta subsequences.
Pycairo is a set of Python bindings for the Cairo graphics library.
This package provides tools for Makefile execution powered by pure Python.
This package provides Python 3 bindings for libfuse 3 with async I/O support.
This package provides bindings for PortAudio v19, the cross-platform audio input/output stream library.