This package provides both simple, atomic constructs (such as integers of various sizes), as well as composite ones which allow you form hierarchical and sequential structures of increasing complexity. It features bit and byte granularity, easy debugging and testing, an easy-to-extend subclass system, and lots of primitive constructs to make your work easier.
The main purpose of this package is to provide more complex arithmetic operations on dates/times. Heavy use is made of the relativedelta type from the dateutil library. Much of this package is just a light wrapper on top of this with some added features such as range generation and business day calculation.
The xmlschema library is an implementation of XML Schema for Python. It has full support for the XSD 1.0 and 1.1 standards, an XPath-based API for finding schema's elements and attributes; and can encode and decode XML data to JSON and other formats.
This package includes simulation models for an induction motor, a synchronous reluctance motor, and a permanent-magnet synchronous motor. The motor models are simulated in the continuous-time domain while the control algorithms run in discrete time. The default solver is the explicit Runge-Kutta method of order 5(4) from scipy.integrate.solve_ivp.
The goal of GeoPandas is to make working with geospatial data in Python easier. It combines the capabilities of Pandas and Shapely, providing geospatial operations in Pandas and a high-level interface to multiple geometries to Shapely. GeoPandas enables you to easily do operations in Python that would otherwise require a spatial database such as PostGIS.
specutils is a Python package for representing, loading, manipulating,and analyzing astronomical spectroscopic data. The generic data containers and accompanying modules provide a toolbox that the astronomical community can use to build more domain-specific packages. For more details about the underlying principles, see APE13.
geosketch is a Python package that implements the geometric sketching algorithm described by Brian Hie, Hyunghoon Cho, Benjamin DeMeo, Bryan Bryson, and Bonnie Berger in "Geometric sketching compactly summarizes the single-cell transcriptomic landscape", Cell Systems (2019). This package provides an example implementation of the algorithm as well as scripts necessary for reproducing the experiments in the paper.
HTML to Text is a Python library for extract text from HTML. Contrary to other solution such as LXML or Beautiful Soup, the text extracted with html_text does not contain elements such as JavaScript or inline styles not normally visible to users. It also normalizes white space characters in a smarter, more visually pleasing style.
Hotspot is a tool for identifying informative genes (and gene modules) in a single-cell dataset. Importantly, "informative" is decided based on how well a gene's variation agrees with some cell metric---some similarity mapping between cells. Genes which are informative are those whose expression varies in similar way among cells which are nearby in the given metric.
Biopython is a set of tools for biological computation including parsers for bioinformatics files into Python data structures; interfaces to common bioinformatics programs; a standard sequence class and tools for performing common operations on them; code to perform data classification; code for dealing with alignments; code making it easy to split up parallelizable tasks into separate processes; and more.
Biopython is a set of tools for biological computation including parsers for bioinformatics files into Python data structures; interfaces to common bioinformatics programs; a standard sequence class and tools for performing common operations on them; code to perform data classification; code for dealing with alignments; code making it easy to split up parallelizable tasks into separate processes; and more.
This package provides an implementation of the Ensemble Slice Sampling method. Features:
fast & Robust Bayesian Inference
efficient Markov Chain Monte Carlo (MCMC)
black-box inference, no hand-tuning
excellent performance in terms of autocorrelation time and convergence rate
scale to multiple CPUs without any extra effort
automated Convergence diagnostics
pyjanitor provides a set of data cleaning routines for pandas DataFrames. These routines extend the method chaining API defined by pandas for a subset of its methods. Originally, this package was a port of the R package by the same name and it is inspired by the ease-of-use and expressiveness of the dplyr package.
This package provides more-reasonable core functionality for numpy.
A lot of numpysane functionality is inspired by PDL (Perl Data Language).
numpysane has:
easier broadcasting
nicer array manipulation
array concatenation
manipulation of dimensions
broadcast-aware inner product
broadcast-aware outer product
broadcast-aware 2-norm
broadcast-aware matrix multiplication
Blessings is a pythonic API to manipulate terminal color, styling, and positioning. It provides similar features to curses but avoids some of curses’s limitations: it does not require clearing the whole screen for little changes, provides a scroll-back buffer after the program exits, and avoids styling altogether when the output is redirected to something other than a terminal.
Hatch is a modern, extensible Python project manager. It has features such as:
Standardized build system with reproducible builds by default
Robust environment management with support for custom scripts
Easy publishing to PyPI or other indexes
Version management
Configurable project generation with sane defaults
Responsive CLI, ~2-3x faster than equivalent tools.
GitPython is a python library used to interact with Git repositories, high-level like git-porcelain, or low-level like git-plumbing.
It provides abstractions of Git objects for easy access of repository data, and additionally allows you to access the Git repository more directly using either a pure Python implementation, or the faster, but more resource intensive git command implementation.
Traitlets is a framework that lets Python classes have attributes with type checking, dynamically calculated default values, and ‘on change’ callbacks. The package also includes a mechanism to use traitlets for configuration, loading values from files or from command line arguments. This is a distinct layer on top of traitlets, so you can use traitlets in your code without using the configuration machinery.
Fakeredis is a pure-Python implementation of the redis-py Python client that simulates talking to a redis server. It was created for a single purpose: to write unit tests.
Setting up redis is not hard, but one often wants to write unit tests that don't talk to an external server such as redis. This module can be used as a reasonable substitute.
The iniconfig package provides a small and simple INI-file parser module having a unique set of features ; iniconfig
maintains the order of sections and entries ;
supports multi-line values with or without line-continuations ;
supports "#" comments everywhere ;
raises errors with proper line-numbers ;
raises an error when two sections have the same name.
Easy ANSI is a terminal framework API to give you an easy way to use colors, cursor control movements, and line/box drawing. It is not meant as a replacement to more full-featured frameworks (such as curses or urwid), but as a tool to quickly create nice-looking screens in your terminal window. You can even create animations with the cursor controls.
duniterpy is an implementation of duniter API. Its main features are:
Support Duniter's Basic Merkle API and protocol
Asynchronous/synchronous without threads
Support HTTP, HTTPS and Web Socket transport for Basic Merkle API
Support Elasticsearch Duniter4j API
Duniter signing key
Sign/verify and encrypt/decrypt messages with the Duniter credentials
This package implements a functionality for creating, editing and loading COLLADA,which is a COLLAborative Design Activity for establishing an interchange file format for interactive 3D applications.
The library allows you to load a COLLADA file and interact with it as a python object. In addition, it supports creating a collada python object from scratch, as well as in-place editing.
FastRLock is a C-level implementation of an optimistic lock for CPython which can be used as a replacement for threading.RLock. It is implemented in Cython and offers a C-API for direct use from Cython code. The lock is 10x faster than threading.RLock under normal conditions and 10% faster under congestion, making it a faster option than the revised RLock implementation in Python 3.2.