$npx skillfedfor your agent

Mathematics packages

367 packages · page 9 of 10

Packages

riskfolio-lib With conditions
PyPI · Mathematics · released May 2026

Riskfolio-Lib builds optimized investment portfolios using mathematical models—mean-variance, risk parity, hierarchical clustering, and Black-Litterman approaches—with support for 26+ risk measures and constraints on leverage, turnover, and cardinality.

BSD-3-Clausecompiled wheel · 3.10+
104.2Kdownloads / mo
polars-ols With conditions
PyPI · Mathematics · released Aug 2024

Polars OLS provides Rust-optimized linear regression models (OLS, WLS, Ridge, Elastic Net, non-negative least squares, recursive least squares) as Polars expressions, enabling efficient least-squares estimation within Polars workflows.

license unclearcompiled wheel · 3.8+dormant
102.9Kdownloads / mo
proxsuite With conditions
PyPI · Mathematics · released May 2026

ProxSuite is a numerically robust quadratic programming solver that handles dense, sparse, and matrix-free problems with specialized algorithms for robotics and general optimization.

BSD-2-Clausecompiled wheel · 3.9+
102.8Kdownloads / mo
fpylll With conditions
PyPI · Mathematics · released May 2025

fpylll is a Python wrapper for the fplll lattice reduction library, providing access to algorithms like LLL and BKZ for reducing integer matrices and computing Gram-Schmidt orthogonalization.

However, the GPL version 2 or later license requires verification against your project's licensing constraints, and the unclear license treatment in metadata warrants…

license unclearcompiled wheel
102.7Kdownloads / mo
jaxellip With conditions
PyPI · Mathematics · released Jul 2026

Provides JAX-compatible implementations of elliptic integrals (ellipk, ellipkm1, ellipe) that are differentiable and JIT-compilable, addressing the gap in jax.scipy.special.

Install only if you actually use elliptic integrals; otherwise it adds an unnecessary dependency.

MITpure Python
101.5Kdownloads / mo
netron Worth it
PyPI · Mathematics · released Aug 2026

Netron is a viewer for neural network and machine learning models that supports ONNX, TensorFlow Lite, PyTorch, TensorFlow, Core ML, OpenVINO, Keras, Caffe, Darknet, Safetensors, NumPy, and several other formats.

Install it if you work with neural networks or machine learning models in any of the supported formats.

permissive licensepure Python
98.6Kdownloads / mo
dopamine-rl With conditions
PyPI · Mathematics · released Oct 2024

Dopamine is a research framework for prototyping reinforcement learning algorithms, providing implementations of DQN, C51, Rainbow, IQN, SAC, and PPO agents built primarily with JAX.

Apache-2.0pure Python
98.5Kdownloads / mo
onnxruntime-openvino With conditions
PyPI · Mathematics · released Feb 2026

Enables ONNX Runtime to accelerate machine learning model inference on Intel hardware (CPUs, integrated/discrete GPUs, and NPUs) using OpenVINO optimizations.

MITcompiled wheel · 3.10+
98.1Kdownloads / mo
minorminer With conditions
PyPI · Mathematics · released Jun 2026

minorminer finds graph minor embeddings—it maps one graph into another as a subgraph—using a configurable heuristic algorithm, plus specialized functions for clique and biclique embeddings on quantum-graph topologies.

license unclearcompiled wheel · 3.10+
98.0Kdownloads / mo
graycode With conditions
PyPI · Mathematics · released Nov 2020

Converts between two's complement integers and gray code (reflected binary code), where successive values differ by only one bit.

However, the abandoned maintenance status means no bug fixes or Python version updates are forthcoming—install only if the current functionality meets your needs and…

MITbuilds from source · 3.5+abandoned
97.8Kdownloads / mo
passagemath-categories With conditions
PyPI · Mathematics · released Aug 2026

Provides Sage categories, basic rings, polynomials, and mathematical functions as a modularized pip-installable component of the passagemath mathematical software system.

However, review the GPL-2.0-or-later copyleft license for your use case, and note that Windows support is incomplete without WSL.

GPL-2.0-or-latercompiled wheel
97.1Kdownloads / mo
cylp With conditions
PyPI · Mathematics · released Dec 2025

CyLP provides a Python interface to COIN-OR's linear and mixed-integer programming solvers (CLP, CBC, CGL), allowing you to model optimization problems and customize the solution process with Python-defined cut generators, branch-and-bound strategies, and pivot rules.

EPL-2.0compiled wheelaging
96.7Kdownloads / mo
jaxlie With conditions
PyPI · Mathematics · released Apr 2025

jaxlie implements Lie groups (SO2, SE2, SO3, SE3) for rigid body transformations in JAX, providing differentiable operations like exp, log, and matrix conversions for computer vision and robotics applications.

MITpure Python · 3.8+aging
96.2Kdownloads / mo
cleanlab Worth it
PyPI · Mathematics · released Jan 2026

Cleanlab automatically detects and helps fix data quality issues—mislabeled examples, outliers, duplicates, and annotation errors—in datasets for machine learning, working with any model and any data modality.

permissive licensepure Python · 3.10+aging
95.7Kdownloads / mo
dwave-optimization With conditions
PyPI · Mathematics · released Jul 2026

Formulates nonlinear optimization models symbolically using NumPy-inspired syntax for use with D-Wave's Stride hybrid solver.

Apache-2.0compiled wheel · 3.10+
95.3Kdownloads / mo
ott-jax Worth it
PyPI · Mathematics · released Nov 2025

OTT-JAX solves optimal transport problems—matching and comparing point clouds—using JAX-accelerated algorithms like Sinkhorn, including support for Gromov-Wasserstein and Wasserstein barycenter computations.

Apache-2.0pure Python · 3.9+
94.1Kdownloads / mo
typedunits With conditions
PyPI · Mathematics · released Apr 2026

Implements unit of measurement arithmetic with static type checking and protobuffer serialization support, allowing operations on quantities with compatible units.

permissive licensecompiled wheel · 3.10.0+
93.0Kdownloads / mo
skfolio Worth it
PyPI · Mathematics · released Aug 2026

skfolio is a Python library for portfolio optimization and risk management that integrates with scikit-learn to build, tune, cross-validate, and stress-test portfolio models using a unified interface.

Install it if you need portfolio optimization; skip it if you only need basic mean-variance calculations or prefer a different API.

BSD-3-Clausepure Python · 3.10+
92.0Kdownloads / mo
jina With conditions
PyPI · Mathematics · released Mar 2025

Jina is a framework for building and deploying AI services that communicate via gRPC, HTTP, and WebSockets, with built-in support for scaling, containerization, and cloud deployment.

Not recommended if you prefer minimal dependencies or need cutting-edge feature velocity.

Apache-2.0compiled wheelaging
91.7Kdownloads / mo
rdp Skip
PyPI · Mathematics · released Dec 2016

Implements the Ramer-Douglas-Peucker algorithm to reduce the number of points in a 2D or 3D curve while preserving its shape, with a simple Python interface and optional NumPy support.

MITbuilds from sourceabandoned
90.4Kdownloads / mo
rdrobust With conditions
PyPI · Mathematics · released May 2026

Implements regression discontinuity (RD) design estimation, inference, and plotting using local polynomial methods with robust bias-corrected confidence intervals.

copyleftpure Python · 3.9+
89.8Kdownloads / mo
tensorflow-data-validation With conditions
PyPI · Mathematics · released Jun 2026

TensorFlow Data Validation (TFDV) computes summary statistics, detects anomalies, and generates data schemas for machine learning datasets at scale using Apache Beam and TensorFlow.

Apache-2.0compiled wheel
89.7Kdownloads / mo
euclid3 Skip
PyPI · Mathematics · released May 2014

Provides 2D and 3D vector, matrix, quaternion, and geometry math operations for Python, updated for Python 3 compatibility.

Install only if you are maintaining legacy code that already depends on it.

license unclearbuilds from sourceabandoned
89.3Kdownloads / mo
torch-directml With conditions
PyPI · Mathematics · released Sep 2024

Enables PyTorch to use DirectML for GPU acceleration on DirectX 12-compatible hardware from AMD, Intel, NVIDIA, and Qualcomm.

However, operator coverage is still developing—verify that your specific PyTorch operations are supported via the operator roadmap before committing to production use.

MITcompiled wheel · 3.7+
88.7Kdownloads / mo
bootstrapped Skip
PyPI · Mathematics · released Oct 2018

Builds confidence intervals from data samples using bootstrap resampling, with support for A/B testing and statistical power analysis.

license unclearbuilds from sourceabandoned
88.0Kdownloads / mo
pycuda With conditions
PyPI · Mathematics · released Jan 2026

PyCUDA provides Pythonic bindings to Nvidia's CUDA API, letting you write GPU-accelerated code in Python with automatic memory management, error handling, and access to CUDA's full driver API.

MITbuilds from source
86.5Kdownloads / mo
python-flint With conditions
PyPI · Mathematics · released Jul 2026

Python bindings for FLINT and Arb that provide exact integer and rational arithmetic, arbitrary-precision real and complex numbers with error tracking, and polynomial, power series, and matrix operations over these types.

MIT AND LGPL-3.0-or-latercompiled wheel · 3.10+
86.1Kdownloads / mo
tf-estimator-nightly Skip
PyPI · Mathematics · released Jan 2024

Provides high-level APIs for training, evaluating, and exporting machine learning models, encapsulating the full model lifecycle.

Apache-2.0pure Python · 3.7+abandoned
84.4Kdownloads / mo
torchcde With conditions
PyPI · Mathematics · released Oct 2021

Provides differentiable GPU-capable solvers for controlled differential equations (CDEs), enabling Neural Controlled Differential Equation models for irregular time series with support for backpropagation and memory-efficient adjoint methods.

However, proceed with caution: the project is aging (last release October 2021, no recent commits), so compatibility with the latest PyTorch versions and long-term…

Apache-2.0pure Pythonaging
84.4Kdownloads / mo
findiff Worth it
PyPI · Mathematics · released Feb 2026

Computes finite difference numerical derivatives and solves partial differential equations on arrays of any dimension, with support for arbitrary accuracy orders, boundary conditions, and compact (implicit) schemes.

MITpure Python · 3.8+
84.0Kdownloads / mo
pygmsh With conditions
PyPI · Mathematics · released Jan 2022

pygmsh provides a Python interface to Gmsh, a mesh generation tool, allowing you to define 2D and 3D geometries and generate unstructured meshes from them.

However, maintenance is dormant—the last release was 2022-01-28.

GPL-3.0-or-laterpure Python · 3.7+dormant
83.4Kdownloads / mo
optlang Worth it
PyPI · Mathematics · released Jun 2026

Optlang formulates and solves linear, mixed-integer, and quadratic optimization problems using symbolic expressions from sympy, with pluggable solver backends including GLPK, CPLEX, and Gurobi.

Install it if you're doing operations research, scientific computing, or constraint-based modeling in Python.

Apache-2.0pure Python · 3.9+
83.2Kdownloads / mo
cplex With conditions
PyPI · Mathematics · released Jul 2026

Provides a Python interface to IBM CPLEX's optimization solver, enabling linear, quadratic, and mixed-integer programming from Python code.

However, verify that the Community Edition's restrictions (key limits, possible performance caps, commercial use terms) align with your project before committing to…

license unclearcompiled wheel · 3.10+
83.2Kdownloads / mo
passagemath-homfly With conditions
PyPI · Mathematics · released Aug 2026

Provides a Python interface to libhomfly for computing Homfly polynomials of knots and links.

GPL-2.0-or-latercompiled wheel
82.3Kdownloads / mo
opensimplex With conditions
PyPI · Mathematics · released May 2024

Generates OpenSimplex noise across 2D, 3D, and 4D coordinate spaces, with both scalar and NumPy array interfaces for performance-critical workloads.

However, maintenance is dormant (last release 835 days ago), so expect no active development or rapid bug fixes—verify that the current API and behavior suit your use…

MITpure Python · 3.8+dormant
81.8Kdownloads / mo
ripser Worth it
PyPI · Mathematics · released May 2026

Ripser computes persistent homology and persistence diagrams for point clouds and sparse/dense datasets, enabling topological data analysis through an interface wrapping the fast C++ Ripser engine.

MITcompiled wheel
81.7Kdownloads / mo
pyfixest With conditions
PyPI · Mathematics · released Jun 2026

PyFixest performs fast high-dimensional fixed effects regression in Python, supporting OLS, WLS, IV, GLMs, quantile regression, and difference-in-differences estimation with multiple inference and post-estimation tools.

MITcompiled wheel · 3.10+
81.2Kdownloads / mo
numerary Worth it
PyPI · Mathematics · released Aug 2023

Provides runtime-checkable protocols and type hints for working with numeric types beyond Python's built-in int and float, enabling type-safe interfaces that accept members of the numeric tower and other numeric primitives.

MITpure Python · 3.8+
80.3Kdownloads / mo
pyvcg With conditions
PyPI · Mathematics · released Jul 2026

PyVCG generates verification conditions for SMT solvers like CVC5 and SMTLIB2, supporting a range of logical sorts, datatypes, and arithmetic operations to build and solve formal verification problems.

GPL-3.0-or-laterpure Python · 3.8+
79.4Kdownloads / mo
docplex With conditions
PyPI · Mathematics · released Apr 2026

Modeling library for building and solving mathematical optimization problems using IBM CPLEX and CP Optimizer solvers, with two namespaces for linear/quadratic and constraint programming respectively.

Apache-2.0builds from source
78.4Kdownloads / mo