This package contains a plugin that provides specializations for type hinting stub files, especially interesting for linting typeshed. It adds the .pyi extension to the default value of the --filename command-line argument to Flake8. This means stubs are linted by default with this plugin enabled, without needing to explicitly list every file. It modifies PyFlakes runs for .pyi files to defer checking type annotation expressions after the entire file has been read. This enables support for first-class forward references that stub files use.
pandapower is an easy to use network calculation program aimed to automate the analysis and optimization of power systems. It uses the data analysis library pandas and is compatible with the commonly used MATPOWER / PYPOWER case format. pandapower allows using different solvers including an improved Newton-Raphson power flow implementation, all PYPOWER solvers, the C++ library solvers for fast steady-state distribution power system analysis of PowerGridModel, the Newton-Raphson power flow solvers in the C++ library lightsim2grid, and the PowerModels.jl library.
The FEniCS Form Compiler (FFC) is a compiler for finite element variational forms. From a high-level description of the form, it generates efficient low-level C++ code that can be used to assemble the corresponding discrete operator (tensor). In particular, a bilinear form may be assembled into a matrix and a linear form may be assembled into a vector. FFC may be used either from the command line (by invoking the ffc command) or as a Python module (import ffc).
FFC is part of the FEniCS Project.
Hydra is an open-source Python framework that simplifies the development of research and other complex applications. The key feature is the ability to dynamically create a hierarchical configuration by composition and override it through config files and the command line.
Key features:
Hierarchical configuration composable from multiple sources
Configuration can be specified or overridden from the command line
Dynamic command line tab completion
Run your application locally or launch it to run remotely
Run multiple jobs with different arguments with a single command
NestedText is a file format for holding data that is to be entered, edited, or viewed by people. It allows data to be organized into a nested collection of dictionaries, lists, and strings. In this way it is similar to JSON and YAML, but without the complexity and risk of YAML and without the syntactic clutter of JSON. NestedText is both simple and natural. Only a small number of concepts and rules must be kept in mind when creating it. It is easily created, modified, or viewed with a text editor and easily understood and used by both programmers and non-programmers.
term-image is a library and program to display images on compatible terminals.
Features:
Multiple image formats (basically all formats supported by
PIL.Image.open())Multiple image source types: PIL image instance, local file, URL
Multiple image render styles (with automatic support detection)
Support for multiple terminal graphics protocols, including Kitty
Transparency support (with multiple options)
Animated image support (including transparent ones)
Integration into various TUI / terminal-based output libraries
Terminal size awareness
Automatic and manual image sizing
Horizontal and vertical alignment
Automatic and manual font ratio adjustment (to preserve image aspect ratio)
This package provides discretization tools for finite volume and inverse problems.
The vision is to create a package for finite volume simulation with a focus on large scale inverse problems. This package has the following features:
modular with respect to the spacial discretization
built with the inverse problem in mind
supports 1D, 2D and 3D problems
access to sparse matrix operators
access to derivatives to mesh variables
Currently, discretize supports:
Tensor Meshes (1D, 2D and 3D)
Cylindrically Symmetric Meshes
QuadTree and OcTree Meshes (2D and 3D)
Logically Rectangular Meshes (2D and 3D)
Triangular (2D) and Tetrahedral (3D) Meshes
about-time is a helper for tracking time and throughput of code blocks, with beautiful human friendly renditions.
Key feature are:
measure the duration of two or more blocks at the same time, including the whole duration
instrument a code to cleanly retrieve durations in one line, to log or send to time series databases
easily see human friendly durations in s (seconds), ms (milliseconds), µs (microseconds) and even ns (nanoseconds)
easily see human friendly counts with SI prefixes like k, M, G, T, etc
measure the actual throughput of a block
easily see human friendly throughputs in
/second,/minute,/houror even/day, including SI prefixes
The package allows you to enter Python code within a LaTeX document, execute the code, and access its output in the original document. There is also support for Bash, JavaScript, Julia, Octave, Perl, R, Raku (Perl 6), Ruby, Rust, and SageMath. Code is only executed when it has been modified, or when it meets user-specified criteria. Code may be divided into user-defined sessions, which automatically run in parallel. Errors and warnings are synchronized with the LaTeX document, so that they refer to the document's line numbers. External dependencies can be tracked, so that code is re-executed when the data it depends on is modified. PythonTeX also provides syntax highlighting for code in LaTeX documents via the Pygments syntax highlighter.
The package also provides a depythontex utility. This creates a copy of the document in which all Python code has been replaced by its output. This is useful for journal submissions, sharing documents, and conversion to other formats.
Bindings for FUSE.
This package provides Python bindings to libdbus, the reference implementation of the D-Bus protocol.
Mock data generation factories.
Fuzzy Finder implemented in Python.
Software Heritage Deposit Server
Convert matplotlib figures into TikZ/PGFPlots
Play and Record Sound with Python
Modular plotting for ArviZ.
Interrogate a codebase for docstring coverage.
A bash shell kernel for Jupyter.
Library for simple routing on OSM data
Wrap tempfile to give you pathlib.Path.
Gregorian to Jalali and inverse date convertor.