This is a Python library that aims at making tensor learning simple and accessible. It allows performing tensor decomposition, tensor learning and tensor algebra easily. Its backend system allows seamlessly perform computation with NumPy, PyTorch, JAX, MXNet, TensorFlow or CuPy and run methodxs at scale on CPU or GPU.
tinycss2 can parse strings, return Python objects representing tokens and blocks, and generate CSS strings corresponding to these objects.
Based on the CSS Syntax Level 3 specification, tinycss2 knows the grammar of CSS but doesn’t know specific rules, properties or values supported in various CSS modules.
This Python library provides a recursive descent parser with backtracking and memoization (a.k.a. packrat parser). Arpeggio grammars are based on PEG formalism. Arpeggio's main use is a foundation for a toolchain for DSL development but it can be used for all sorts of general purpose parsing.
SDCFlows (Susceptibility Distortion Correction workFlows) is a Python library of NiPype-based workflows to preprocess B0 mapping data, estimate the corresponding fieldmap and finally correct for susceptibility distortions. Susceptibility-derived distortions are typically displayed by images acquired with EPI MR schemes.
Pyliblo is a Python wrapper for the liblo Open Sound Control (OSC) library. It supports almost the complete functionality of liblo, allowing you to send and receive OSC messages using a nice and simple Python API. Also included are the command line utilities send_osc and dump_osc.
PETSc, the Portable, Extensible Toolkit for Scientific Computation, is a suite of data structures and routines for the scalable (parallel) solution of scientific applications modeled by partial differential equations. It employs the MPI standard for all message-passing communication. petsc4py provides Python bindings to almost all functions of PETSc.
This library provides a publish-subscribe API to facilitate event-based or message-based architecture in a single-process application. It is centered on the notion of a topic - senders publish messages of a given topic, and listeners subscribe to messages of a given topic, all inside the same process.
This packge provides a Python wrapper for the Iconify API. Iconify is a versatile icon framework that includes 100+ icon sets with more than 100,000 icons from FontAwesome, Material Design Icons, DashIcons, Feather Icons, EmojiOne, Noto Emoji and many other open source icon sets.
scitrack is a simple package aimed at researchers writing scripts, or more substantial scientific software, to support the tracking of scientific computation. The package provides elementary functionality to support logging. The primary capabilities concern generating checksums on input and output files and facilitating logging of the computational environment.
This package provides an implementation of the Web Application Messaging Protocol (WAMP). WAMP connects components in distributed applications using Publish and Subscribe (PubSub) and routed Remote Procedure Calls (rRPC). It is ideal for distributed, multi-client and server applications such as IoT applications or multi-user database-driven business applications.
Billiard is a fork of the Python 2.7 multiprocessing package. The multiprocessing package itself is a renamed and updated version of R Oudkerk's pyprocessing package. This standalone variant is intended to be compatible with Python 2.4 and 2.5, and will draw its fixes/improvements from python-trunk.
SleepECG provides tools for sleep stage classification when EEG signals are not available. Based only on ECG, SleepECG provides functions for
downloading and reading open polysomnography datasets,
detecting heartbeats from ECG signals, and
classifying sleep stages (which includes preprocessing, feature extraction, and classification).
formulae is a Python library that implements Wilkinson's formulas for mixed-effects models. The main difference with other implementations like Patsy or formulaic is that formulae can work with formulas describing a model with both common and group specific effects (a.k.a. fixed and random effects, respectively).
python-gffutils is a Python package for working with and manipulating the GFF and GTF format files typically used for genomic annotations. The files are loaded into a SQLite database, allowing much more complex manipulation of hierarchical features (e.g., genes, transcripts, and exons) than is possible with plain-text methods alone.
This package provides a deconvolution based on Single Nucleotide Position (SNP) for multiplexed scRNA-seq data. The name vireo stand for Variational Inference for Reconstructing Ensemble Origin by expressed SNPs in multiplexed scRNA-seq data and follows the clone identification from single-cell data named cardelino.
This library provides easy to use constructors for custom filtrations that are suitable for use with Phat. Phat currently provides a clean interface for persistence reduction algorithms for boundary matrices. This tool helps bridge the gap between data and boundary matrices. Currently, we support construction of Alpha, Rips, and Cech filtrations.
pyregion is a python module to parse ds9 region files. It also supports ciao region files. Features:
ds9 and ciao region files.
(physical, WCS) coordinate conversion to the image coordinate.
convert regions to matplotlib patches.
convert regions to spatial filter (i.e., generate mask images)
Jupytext is a plugin for Jupyter that can save Jupyter notebooks as either Markdown files or scripts in many languages. Common use cases for Jupytext are:
version control on Jupyter Notebooks
editing, merging or refactoring notebooks in your favorite text editor
applying Q&A checks on notebooks.
Docutils is a modular system for processing documentation into useful formats, such as HTML, XML, and LaTeX. It uses reStructuredText, an easy to use markup language, for input.
This package provides tools for converting .rst files to other formats via commands such as rst2man, as well as supporting Python code.
This package provides a small library, built on top of pyOpenSSL, which allows for creating a custom certificate authority (CA) certificate, and generating on-demand dynamic host certs using that CA certificate. It is most useful for use with a man-in-the-middle HTTPS proxy, for example, for recording or replaying web content.
Parallel Python module (PP) provides an easy and efficient way to create parallel-enabled applications for SMP computers and clusters. PP module features cross-platform portability and dynamic load balancing. Thus applications written with PP will parallelize efficiently even on heterogeneous and multi-platform clusters (including clusters running other applications with variable CPU loads).
If your code lets other people supply callback functions, it's important to specify the function signature you expect, and check that functions support that. Adding extra parameters later would break other peoples code unless you're careful. The backcall package provides a way of specifying the callback signature using a prototype function.
This Python package is a high-level wrapper for Kerberos (GSSAPI) operations. The goal is to avoid having to build a module that wraps the entire Kerberos.framework, and instead offer a limited set of functions that do what is needed for client/server Kerberos authentication based on <http://www.ietf.org/rfc/rfc4559.txt>.
This package cleans Jupyter notebooks of cell execution counts, metadata, outputs, and empty cells, preparing them for committing to version control. It provides a Git filter to automatically clean notebooks before they're staged, and can also be used with other version control systems, as a command line tool, and as a Python library.