$npx skillfedfor your agent

Mathematics packages

367 packages · page 5 of 10

Packages

nvidia-cuda-cccl-cu12 With conditions
PyPI · Mathematics · released May 2025

Provides NVIDIA's CUDA C++ Core Compute Libraries (CCCL) for GPU-accelerated computing on CUDA 12 platforms.

license unclearcompiled wheel · 3+aging
627.6Kdownloads / mo
mip With conditions
PyPI · Mathematics · released Mar 2026

Python MIP models and solves mixed-integer linear programs (MIPs) using a high-level syntax with support for advanced solver features like cut generation, lazy constraints, and solution pools.

copyleftpure Python · 3.10+
605.1Kdownloads / mo
python-igraph Skip
PyPI · Mathematics · released Oct 2025

Python interface to the igraph graph library for network analysis and complex graph algorithms; this is a legacy package superseded by the igraph package.

copyleftpure Python · 3.6+
596.7Kdownloads / mo
quadprog With conditions
PyPI · Mathematics · released Oct 2024

Solves strictly convex quadratic programming problems using the Goldfarb/Idnani dual algorithm, minimizing a quadratic objective subject to linear inequality constraints.

GPL-2.0-or-latercompiled wheel · 3.9+dormant
592.7Kdownloads / mo
POT Worth it
PyPI · Mathematics · released Jul 2026

POT provides solvers for optimal transport problems, including Wasserstein distances, Gromov-Wasserstein distances, and related algorithms for signal processing, image processing, and machine learning applications.

MITcompiled wheel · 3.7+
587.8Kdownloads / mo
gin-config With conditions
PyPI · Mathematics · released Nov 2021

Gin provides a lightweight configuration framework that lets you decorate Python functions and classes to accept parameter values from config files or command-line arguments, eliminating the need for manual configuration object management.

Install it if parameter management is a pain point in your workflow.

Apache-2.0pure Python
578.7Kdownloads / mo
snuggs With conditions
PyPI · Mathematics · released Sep 2019

Snuggs evaluates s-expressions (Lisp-like syntax) that operate on NumPy arrays and scalars, letting you write array computations as nested function calls rather than Python code.

Not recommended if you need optimized array computation; use numexpr or raw NumPy instead.

permissive licensepure Python
560.2Kdownloads / mo
tensorflow-decision-forests With conditions
PyPI · Mathematics · released Mar 2025

Trains and deploys decision forest models (Random Forests, Gradient Boosted Trees) within TensorFlow for classification, regression, and ranking tasks.

Not recommended for Windows users without WSL, or for projects not already committed to TensorFlow.

Apache-2.0compiled wheel · 3.9+
555.2Kdownloads / mo
geoh5py Worth it
PyPI · Mathematics · released Jul 2026

geoh5py provides a Python API to read, write, and manipulate geoscientific data (points, curves, surfaces, grids) in the geoh5 file format, enabling interoperability with Geoscience ANALYST visualization software.

Install it if you work with geoh5 data or need to integrate geoscientific datasets with Geoscience ANALYST.

LGPL-3.0-or-laterpure Python
548.7Kdownloads / mo
latex2sympy2 With conditions
PyPI · Mathematics · released Apr 2023

Parses LaTeX math expressions and converts them to SymPy symbolic form, supporting arithmetic, functions, calculus, linear algebra, and matrix operations.

However, be aware that the last release was in 2023 and there have been no recent commits, so bug fixes or updates for newer Python versions are unlikely.

MITpure Pythondormant
538.6Kdownloads / mo
nvidia-mathdx With conditions
PyPI · Mathematics · released Nov 2025

Device-side API extensions for performing mathematical calculations inside CUDA kernels, enabling fused numerical operations to reduce latency and improve application performance.

license unclearpure Pythonaging
526.9Kdownloads / mo
pingouin Worth it
PyPI · Mathematics · released Mar 2026

Pingouin provides a comprehensive statistical analysis toolkit for Python, offering t-tests, ANOVAs, correlations, regression, effect sizes, power analysis, and hypothesis testing with detailed output including confidence intervals and Bayes factors.

Install it if you do statistical testing in Python and want richer output than SciPy alone provides.

copyleftpure Python · 3.10+
525.0Kdownloads / mo
lineax With conditions
PyPI · Mathematics · released May 2026

Lineax solves linear systems and least-squares problems in JAX, handling both explicit matrices and implicit linear operators without materializing them.

Apache-2.0pure Python
523.2Kdownloads / mo
triangle With conditions
PyPI · Mathematics · released Jan 2025

Triangle wraps Jonathan Richard Shewchuk's C library to generate two-dimensional quality meshes and compute Delaunay triangulations from point sets or polygonal regions.

However, be aware the project is dormant—maintenance is minimal, so plan accordingly if you need active support or encounter bugs.

copyleftcompiled wheel · 3.7+dormant
511.1Kdownloads / mo
symengine With conditions
PyPI · Mathematics · released Apr 2025

Python wrappers for SymEngine, a fast C++ symbolic manipulation library, enabling symbolic computation and algebraic operations in Python.

MITcompiled wheel
506.4Kdownloads / mo
numkong With conditions
PyPI · Mathematics · released Aug 2026

NumKong provides mixed-precision linear algebra and distance kernels with automatic accumulator widening, GIL-free batched operations, and low-precision dtype support (BFloat16, Float8, Float6, packed bits) across x86, ARM, RISC-V, and other architectures.

permissive licensecompiled wheel · 3.9+
496.0Kdownloads / mo
magiccube With conditions
PyPI · Mathematics · released Apr 2025

MagicCube implements NxNxN Rubik cubes with fast rotations and includes a solver for 3x3x3 cubes and a move optimizer.

permissive licensepure Python · 3.9+aging
485.9Kdownloads / mo
numdifftools Worth it
PyPI · Mathematics · released Aug 2026

Computes numerical derivatives, gradients, Jacobians, Hessians, and higher-order partial derivatives of scalar and vector functions using adaptive finite differences and Richardson extrapolation.

BSD-3-Clausepure Python · 3.10+
478.0Kdownloads / mo
munkres With conditions
PyPI · Mathematics · released Sep 2020

Implements the Munkres algorithm (Hungarian algorithm) to solve the Assignment Problem, finding optimal one-to-one matchings between sets given a cost matrix.

However, the abandoned status (no updates since 2020-09-15) means you should verify the implementation meets your accuracy and performance needs before adopting it in…

Apache-2.0pure Pythonabandoned
476.8Kdownloads / mo
xprof With conditions
PyPI · Mathematics · released Aug 2026

XProf is a profiler for ML workloads that visualizes performance across multiple devices, showing execution timelines, memory usage, and operation-level details through a web interface.

Apache-2.0compiled wheel · 3.10+
473.6Kdownloads / mo
daqp With conditions
PyPI · Mathematics · released May 2026

DAQP is a dual active-set solver for convex quadratic programs, including mixed-integer variants, with a C-based implementation that interfaces to Python.

Install only if your problem fits the standard convex QP form; for general nonlinear optimization or exotic constraints, a more general solver may be necessary.

permissive licensecompiled wheel
460.8Kdownloads / mo
pytorch-tokenizers With conditions
PyPI · Mathematics · released Aug 2026

Provides C++ implementations of multiple tokenizers (SentencePiece, Tiktoken, Huggingface, Llama2.c, Tekken) with Python bindings for use in PyTorch-based LLM applications and ExecuTorch runners.

BSD-3-Clausecompiled wheel · 3.10+
452.7Kdownloads / mo
executorch With conditions
PyPI · Mathematics · released Aug 2026

ExecuTorch exports and runs PyTorch models on mobile, embedded, and edge devices with support for hardware acceleration backends like XNNPACK, Core ML, and QNN.

permissive licensecompiled wheel
448.4Kdownloads / mo
ydf With conditions
PyPI · Mathematics · released Mar 2026

YDF trains, evaluates, and interprets decision forest models (Random Forests, Gradient Boosted Trees, and others) through a Python wrapper around the C++ Yggdrasil Decision Forests library.

Apache-2.0compiled wheel · 3.9+
439.8Kdownloads / mo
directsearch With conditions
PyPI · Mathematics · released Jun 2026

Solves unconstrained and linearly constrained nonlinear minimization problems without computing derivatives, using direct search methods that work well when objective function evaluations are expensive or noisy.

GPL-3.0-or-laterpure Python · 3.9+
437.6Kdownloads / mo
Mosek With conditions
PyPI · Mathematics · released Jun 2026

MOSEK solves large-scale convex and mixed-integer optimization problems including linear, quadratic, conic, and semidefinite programs via a Python API.

license unclearcompiled wheel
430.5Kdownloads / mo
trianglesolver With conditions
PyPI · Mathematics · released Apr 2020

Solves for unknown sides and angles of a triangle given partial information, using the law of sines and law of cosines.

However, the package is abandoned and receives no maintenance; do not rely on it for production systems or expect updates.

MITpure Pythonabandoned
414.5Kdownloads / mo
s2sphere With conditions
PyPI · Mathematics · released Nov 2017

s2sphere provides Python bindings to work with S2 geometry—a spherical geometry library for spatial indexing and geometric calculations on the Earth's surface.

However, abandonment since 2017-11-16 means no bug fixes, security patches, or compatibility updates are forthcoming—verify it runs on your target Python version…

MITpure Pythonabandoned
413.7Kdownloads / mo
python-markdown-math Worth it
PyPI · Mathematics · released Apr 2025

Adds support for rendering mathematical formulas in Markdown documents by extending Python-Markdown to recognize math delimiters and pass them to MathJax or KaTeX for display.

Install it if you need to render math formulas in Markdown and are willing to load MathJax or KaTeX separately in your HTML output.

BSD-3-Clausepure Python · 3.9+aging
411.3Kdownloads / mo
scipy-openblas32 With conditions
PyPI · Mathematics · released Aug 2026

Provides pre-built OpenBLAS shared libraries and headers for use as a build or runtime dependency in NumPy, SciPy, and other Python projects that need linear algebra acceleration.

BSD-3-Clausecompiled wheel · 3.7+
410.9Kdownloads / mo
dask-awkward Worth it
PyPI · Mathematics · released Feb 2026

Dask-awkward integrates Awkward Array with Dask to enable distributed, lazy computation on complex, nested data structures across multiple cores or machines.

Install it if you work with Awkward Arrays at scale or need lazy evaluation of nested structures across multiple workers.

BSD-3-Clausepure Python · 3.10+
404.2Kdownloads / mo
preliz With conditions
PyPI · Mathematics · released Jul 2026

PreliZ helps you specify prior distributions for Bayesian models by providing interactive tools for prior elicitation, from parameter-space methods to predictive elicitation, designed to work with probabilistic programming languages like PyMC.

Apache-2.0pure Python · 3.12+
397.5Kdownloads / mo
bitmath Worth it
PyPI · Mathematics · released May 2026

bitmath converts and performs arithmetic on file sizes across SI and NIST prefix units (kB to YiB), with support for human-readable formatting, rich comparisons, and capacity math.

MITpure Python · 3.9+
396.9Kdownloads / mo
tf2onnx With conditions
PyPI · Mathematics · released Mar 2026

Converts TensorFlow, Keras, TensorFlow.js, and TFLite models to ONNX format via command line or Python API, enabling model portability across different inference runtimes.

Apache-2.0pure Python · 3.10+
395.3Kdownloads / mo
optimistix With conditions
PyPI · Mathematics · released Feb 2026

Optimistix provides nonlinear solvers for root finding, minimization, fixed-point problems, and least-squares fitting, built on JAX with support for autodiff, GPU/TPU acceleration, and PyTree-based state.

Apache-2.0pure Python
391.9Kdownloads / mo
prtpy With conditions
PyPI · Mathematics · released May 2024

Implements multiway number partitioning and bin packing algorithms with support for exact and approximate methods, multiple input formats, and configurable optimization objectives.

However, the aging maintenance status (last release over a year ago, Pre-Alpha classifier) and lack of recent activity suggest treating it as stable but not actively…

permissive licensepure Python · 3.8+aging
391.7Kdownloads / mo
jmp With conditions
PyPI · Mathematics · released Jan 2023

JMP provides mixed precision training support for JAX by managing dtype policies and loss scaling to reduce memory bandwidth and improve computational efficiency during neural network training.

The main gotcha is that JAX must be installed separately first with the correct accelerator support; beyond that, JMP is straightforward to integrate into existing…

Apache-2.0pure Python
385.1Kdownloads / mo
torch-tb-profiler With conditions
PyPI · Mathematics · released Oct 2023

Integrates PyTorch profiling data with TensorBoard, providing GPU timeline tracing and performance diagnostics for ML workloads through a TensorBoard plugin interface.

However, the last release was in October 2023; verify compatibility with your current PyTorch version before relying on it for new projects.

BSD-3-Clausepure Python · 3.6.2+
376.1Kdownloads / mo
bittensor-cli Skip
PyPI · Mathematics · released Jul 2026

Command-line interface for managing Bittensor platform operations including wallet creation, subnet registration, delegation, and governance voting.

MITpure Python · 3.10+abandoned
373.0Kdownloads / mo
diffrax With conditions
PyPI · Mathematics · released Feb 2026

Diffrax provides numerical solvers for ordinary, stochastic, and controlled differential equations in JAX, with automatic differentiation and GPU acceleration built in.

Apache-2.0pure Python · 3.11+
357.1Kdownloads / mo