Cssselect ia a Python module that parses CSS3 Selectors and translates them to XPath 1.0 expressions. Such expressions can be used in lxml or another XPath engine to find the matching elements in an XML or HTML document.
Python-Titlecase is a Python port of John Gruber's titlecase.pl. It capitalizes (predominantly English) strings in a way that is similar to book titles, using the New York Times Manual of Style to leave certain words lowercase.
This package provides an aspect-oriented programming, monkey-patch and decorators library. It is useful when changing behavior in existing code is desired. It includes tools for debugging and testing: simple mock/record and a complete capture/replay framework.
This package provide an alternate implementation of asyncio.wait_for() introduced in Python 3.12. It handles several edge cases like simultaneous cancellation of wait and completion of future differently and consistently across Python versions 3.7+.
This package provides a Python API wrapping the pdftoppm and pdftocairo command line tools. It can convert PDF files to a Python list with elements of type PIL.Image (from the python-pillow library).
This package provides a functionality to reproject astronomical images using various techniques via a uniform interface, where reprojection is the re-gridding of images from one world coordinate system to another e.g. changing the pixel resolution, orientation, coordinate system.
pyvistaqt is a helper module for pyvista to enable you to plot using Qt by placing a vtk-widget into a background renderer. This can be quite useful when you desire to update your plot in real-time.
ConfigObj is a simple but powerful config file reader and writer: an ini file round tripper. Its main feature is that it is very easy to use, with a straightforward programmer’s interface and a simple syntax for config files.
The carputils framework will be the optimal way to access openCARP for most users. This Python framework was developed to provide the means to easily encode in silico experiments including pre- and postprocessing. carputils will call the openCARP simulator.
PyEnchant is a spellchecking library for Python, based on the Enchant library. PyEnchant combines all the functionality of the underlying Enchant library with the flexibility of Python. It also provides some higher-level functionality than is available in the C API.
icontract brings design-by-contract to Python with informative violation messages and inheritance. icontract provides two function, require and ensure for preconditions and postconditions respectively. Additionally, it provides a class decorator, invariant, to establish class invariants.
typogrify provides a set of custom filters that automatically apply various transformations to plain text in order to yield typographically-improved HTML. While often used in conjunction with Jinja and Django template systems, the filters can be used in any environment.
This package provides liblabjackusb, a USB library for low-level communication with the U3, U6, UE9, Digit, T4 and T7 LabJack data acquisition instruments. A udev rule is also included to allow unprivileged users to communicate with the instruments via USB.
Create a Sphinx documentation shell for your project and include the README file as the documentation index. It handles extracting the required meta data such as the project name, author and version from your project for use in your Sphinx docs.
OpenTURNS is a scientific C++ and Python library including an internal data model and algorithms dedicated to the treatment of uncertainties. The main goal of this library is giving to specific applications all the functionalities needed to treat uncertainties in studies.
ChiantiPy is the Python interface to the CHIANTI atomic database for astrophysical spectroscopy. It provides the capability to calculate the emission line and continuum spectrum of an optically thin plasma based on the data in the CHIANTI database.
The mistletoe Markdown parser is a CommonMark-compliant Markdown parser that supports definitions of custom tokens.
Parsing Markdown into an abstract syntax tree also allows mistletoe to swap out renderers for different output formats, without touching any of the core components.
Cairocffi is a CFFI-based drop-in replacement for Pycairo, a set of Python bindings and object-oriented API for cairo. Cairo is a 2D vector graphics library with support for multiple backends including image buffers, PNG, PostScript, PDF, and SVG file output.
This package provides utilities related to the detection of peaks on 1D data. Includes functions to estimate baselines, finding the indexes of peaks in the data and performing Gaussian fitting or centroid computation to further increase the resolution of the peak detection.
This package includes an extension for the Python library asdf to add support for reading and writing chunked Zarr arrays, a file storage format for chunked, compressed, N-dimensional arrays based on an open-source specification.
BenchExec is a framework for reliable benchmarking, which takes care of important low-level details for accurate, precise, and reproducible measurements. In particular, it makes use of cgroups, kernel namespaces, and overlay filesystems to restrict interference of the executed tool with the benchmarking host.
GuardPost is a framework to handle authentication and authorization in asynchronous Python applications.
Its features include
Strategy to implement authentication.
Strategy to implement authorization.
Support for dependency injection
Built-in support for JSON Web Tokens (JWTs) authentication.
This package provides a C-based implementation of SipHash with an interface compatible with the hash functions provided by the hashlib standard library module. SipHash-1-3 and SipHash-2-4 variants are currently implemented.
The aim of the decorator module is to simplify the usage of decorators for the average programmer, and to popularize decorators usage giving examples of useful decorators, such as memoize, tracing, redirecting_stdout, locked, etc. The core of this module is a decorator factory.