$npx skillfedfor your agent

Mathematics packages

367 packages · page 8 of 10

Packages

hyppo With conditions
PyPI · Mathematics · released May 2025

hyppo provides multivariate hypothesis testing for high-dimensional and nonlinear data, implementing both classical and novel statistical tests in Python.

MITpure Python
155.6Kdownloads / mo
glicko2 With conditions
PyPI · Mathematics · released Jan 2024

Implements the Glicko-2 rating system, a skill-rating algorithm for ranking players in competitive games based on wins, losses, and rating volatility.

MITpure Python · 3.7+aging
155.5Kdownloads / mo
yearfrac With conditions
PyPI · Mathematics · released Feb 2023

Computes fractional year differences between dates using various daycount conventions (Actual/Actual, 30/360, 30/365) and provides calendar utilities like leap year checks and Easter date calculation.

permissive licensebuilds from source · 3.6+abandoned
153.9Kdownloads / mo
fastdigest Worth it
PyPI · Mathematics · released Mar 2026

fastdigest provides a Rust-backed t-digest implementation for computing streaming quantiles, percentiles, and online statistics on large or distributed datasets with minimal memory overhead.

Install it if you need streaming quantile estimation or online statistics on large datasets and want a fast, dependency-free solution.

MITcompiled wheel · 3.7+
152.6Kdownloads / mo
py-expression-eval With conditions
PyPI · Mathematics · released Aug 2021

Parses and evaluates mathematical expressions from strings, supporting arithmetic, trigonometric, logarithmic functions, and variables with substitution and simplification.

However, do not use it for new projects requiring active maintenance or support—the repository is archived and the last commit was 2022-06-11.

permissive licensepure Pythonabandoned
150.9Kdownloads / mo
cbcbox Worth it
PyPI · Mathematics · released Aug 2026

cbcbox is a self-contained Python distribution of the CBC MILP solver, providing optimized branch-and-cut solving for mixed-integer linear programs via command-line or Python API.

Install it if you need to solve integer or linear programs and want a self-contained, cross-platform distribution.

copyleftcompiled wheel · 3.8+
150.6Kdownloads / mo
rounders Worth it
PyPI · Mathematics · released Jun 2024

Provides drop-in replacements for Python's built-in `round` function with thirteen different rounding modes, plus functions for rounding to significant figures instead of decimal places.

Apache-2.0pure Python · 3.8+
149.0Kdownloads / mo
graspologic Worth it
PyPI · Mathematics · released Sep 2025

Graspologic provides graph statistical algorithms and utilities for processing, analyzing, and modeling networks using specialized statistical techniques that account for graph structure.

MITpure Python
148.2Kdownloads / mo
xlcalculator With conditions
PyPI · Mathematics · released Feb 2023

Reads MS Excel files and translates Excel formulas into Python code for evaluation, allowing spreadsheet calculations to run without Excel.

However, high install friction and the gap since the last release warrant checking that your target Excel functions are supported and testing numeric precision on…

MITbuilds from source · 3.9+
147.5Kdownloads / mo
scikit-posthocs Worth it
PyPI · Mathematics · released May 2026

Provides post hoc statistical tests for pairwise multiple comparisons after ANOVA, including parametric tests (Scheffe, Student T, Tamhane T2, TukeyHSD) and non-parametric tests (Dunn, Nemenyi, Mann-Whitney, Wilcoxon) with p-value adjustment and outlier detection.

MITpure Python · 3.9+
146.6Kdownloads / mo
cu2qu Skip
PyPI · Mathematics · released Nov 2022

Converts cubic Bézier curves to quadratic curves in font objects (Defcon or Robofab UFO formats), with the primary entry point being the `fonts_to_quadratic` function.

Apache-2.0pure Pythonabandoned
146.2Kdownloads / mo
runstats With conditions
PyPI · Mathematics · released Jun 2021

Computes summary statistics (mean, variance, standard deviation, skewness, kurtosis, min, max) and linear regression (slope, intercept, correlation) in a single pass over data, without storing all values in memory.

Apache-2.0compiled wheel · 3.6+abandoned
146.1Kdownloads / mo
tensorflow-aarch64 With conditions
PyPI · Mathematics · released Mar 2024

TensorFlow for aarch64 is a machine learning framework that enables numerical computation and deep learning across CPUs, GPUs, TPUs, and edge devices on ARM-based systems.

Apache-2.0compiled wheel · 3.9+
143.5Kdownloads / mo
permutation Worth it
PyPI · Mathematics · released Dec 2024

Provides a Permutation class for representing and manipulating permutations of positive integers, supporting operations like composition, cycle decomposition, inverses, order, parity, and Lehmer codes.

Install it if you need to work with permutations; skip it if your use case doesn't involve permutation algebra.

MITpure Python · 3.8+
142.9Kdownloads / mo
pyamg Worth it
PyPI · Mathematics · released Aug 2025

PyAMG provides Algebraic Multigrid (AMG) solvers for efficiently solving large-scale sparse linear systems, with implementations of Classical AMG and Smoothed Aggregation methods.

MITcompiled wheel · 3.9+
141.9Kdownloads / mo
gekko Worth it
PyPI · Mathematics · released Dec 2025

GEKKO is a Python package for optimization and machine learning that specializes in solving dynamic systems described by differential algebraic equations, with support for linear, quadratic, nonlinear, and mixed-integer programming problems.

permissive licensepure Python · 2.6+
141.1Kdownloads / mo
gstools Worth it
PyPI · Mathematics · released Apr 2025

GSTools provides geostatistical tools for spatial random field generation, kriging, variogram estimation, and covariance modelling with support for structured and unstructured data in 1D, 2D, and 3D.

LGPL-3.0pure Python · 3.8+
136.9Kdownloads / mo
rdata Worth it
PyPI · Mathematics · released Jun 2026

Reads and writes R dataset files (.rda and .rds formats) in pure Python without requiring R or its libraries installed.

Install it if you need to read or write R datasets; skip it if you work exclusively within Python or have R already available and prefer rpy2.

MITpure Python · 3.11+
136.3Kdownloads / mo
linopy Worth it
PyPI · Mathematics · released Jul 2026

linopy builds linear, integer, and quadratic optimization models using labeled n-dimensional arrays, bridging xarray data structures with external solvers.

Install it if you need to build optimization models with xarray-like data structures or if you want to avoid hand-coding matrix construction for multi-dimensional…

MITpure Python · 3.11+
134.2Kdownloads / mo
piecewise-regression With conditions
PyPI · Mathematics · released Dec 2023

Fits piecewise linear regression models to data with one or more breakpoints, estimating segment gradients and breakpoint positions with confidence intervals.

MITpure Pythondormant
133.8Kdownloads / mo
tf-slim With conditions
PyPI · Mathematics · released May 2020

TensorFlow-Slim provides high-level layers, variable management, and training utilities that simplify defining, training, and evaluating neural network models in TensorFlow.

Apache-2.0pure Python
133.0Kdownloads / mo
tensorflow-graphics With conditions
PyPI · Mathematics · released Dec 2021

TensorFlow Graphics provides differentiable graphics and geometry layers—cameras, reflectance models, spatial transformations, mesh operations—that integrate into neural networks for 3D vision and graphics tasks.

permissive licensepure Python
132.2Kdownloads / mo
colormath With conditions
PyPI · Mathematics · released Dec 2017

Colormath performs color space conversions, calculates color differences (Delta E), and converts between color representations and spectral data.

However, do not adopt it for new projects requiring active maintenance, Python version updates, or modern color science standards—the lack of updates since 2017 and…

BSD-3-Clausebuilds from sourceabandoned
131.7Kdownloads / mo
gstools-cython Worth it
PyPI · Mathematics · released Dec 2025

Provides optimized Cython implementations of geostatistical algorithms, accelerating spatial statistical computations for the parent package.

LGPL-3.0-or-latercompiled wheel · 3.10+aging
130.8Kdownloads / mo
passagemath-gap With conditions
PyPI · Mathematics · released Aug 2026

Provides Python interfaces to the GAP computational algebra system through Cython-based libgap and Pexpect-based interactive access, bundled with GAP and a comprehensive set of GAP packages for group theory and related mathematics.

GPL-2.0-or-latercompiled wheel
128.4Kdownloads / mo
nemo-text-processing With conditions
PyPI · Mathematics · released Jun 2026

Converts text to normalized form and back (inverse normalization) for speech recognition and synthesis pipelines, using weighted finite-state transducers and language models.

Apache-2.0pure Python
126.3Kdownloads / mo
cypari2 With conditions
PyPI · Mathematics · released Oct 2025

cypari2 provides a Python interface to PARI/GP, a number theory library, exposing PARI functions as Python methods on wrapped objects.

GPL-2.0-or-latercompiled wheel · 3.12+
126.2Kdownloads / mo
pyroots Skip
PyPI · Mathematics · released Jun 2020

Implements root-finding algorithms (bisect, ridder, Brent) for single-variable functions without requiring scipy as a dependency.

No—not for new projects.

BSD-3-Clausepure Pythonabandoned
122.8Kdownloads / mo
py-lets-be-rational Worth it
PyPI · Mathematics · released May 2026

Computes implied volatility from option prices using Peter Jaeckel's LetsBeRational algorithm, with optional Numba acceleration for speed.

MITpure Python
120.9Kdownloads / mo
tflite-runtime With conditions
PyPI · Mathematics · released Oct 2023

TensorFlow Lite runtime enables on-device machine learning inference on mobile and embedded devices with low latency and minimal binary size.

However, the dormant maintenance status means no recent updates or security patches; verify compatibility with your target model format and hardware before committing…

Apache-2.0compiled wheeldormant
120.7Kdownloads / mo
pybammsolvers With conditions
PyPI · Mathematics · released Jul 2026

pybammsolvers provides a Python interface to the IDAKLU solver, a C/C++ differential equation solver used in battery modeling applications.

license unclearcompiled wheel
119.3Kdownloads / mo
powerlaw Worth it
PyPI · Mathematics · released Jan 2026

Fits heavy-tailed distributions like power laws to data and compares them against alternative distributions such as lognormals using statistical methods from Clauset et al. 2007.

Install it if you need to test whether data actually follows a power law rather than relying on visual inspection or naive fitting.

MITpure Python · 3.8+
118.9Kdownloads / mo
quadrilateral-fitter With conditions
PyPI · Mathematics · released Aug 2024

Fits the smallest-area quadrilateral that contains all points from a noisy polygon or point cloud, useful for cleaning up irregular detections before perspective correction or pattern matching.

Install it if your workflow involves cleaning up shape detections; skip it if you need active support or ongoing feature development.

MITpure Python · 3.6+dormant
117.3Kdownloads / mo
fastcluster With conditions
PyPI · Mathematics · released May 2025

Performs fast hierarchical agglomerative clustering from distance matrices or vector data, replacing scipy.cluster.hierarchy functions with optimized C++ implementations.

BSD-3-Clausecompiled wheel · 3+aging
116.6Kdownloads / mo
open3d-cpu With conditions
PyPI · Mathematics · released Jan 2025

Open3D-cpu provides CPU-based 3D data structures, processing algorithms, and visualization tools for working with point clouds, meshes, and RGB-D data in Python.

MITcompiled wheel · 3.8+
113.6Kdownloads / mo
rectpack With conditions
PyPI · Mathematics · released Nov 2021

Rectpack solves the 2D bin packing problem by arranging rectangles into the smallest number of bins using configurable heuristic algorithms (Skyline, MaxRects, Guillotine) with support for online and offline modes.

However, do not use it if you require active maintenance, compatibility with recent Python versions, or ongoing algorithm improvements.

Apache-2.0builds from sourceabandoned
109.7Kdownloads / mo
docarray Worth it
PyPI · Mathematics · released Mar 2025

DocArray provides a Python data structure for representing, transmitting, storing, and retrieving multimodal data, with built-in support for tensors from NumPy, PyTorch, TensorFlow, and JAX.

Apache-2.0pure Python
109.0Kdownloads / mo
paretoset With conditions
PyPI · Mathematics · released May 2025

Computes the Pareto (non-dominated) set from multi-dimensional data, identifying points that are not worse than any other point across all objectives.

Install it if your workflow involves skyline queries or Pareto front extraction.

MITpure Python · 3.8+aging
108.2Kdownloads / mo
pyclothoids With conditions
PyPI · Mathematics · released Apr 2025

Pyclothoids provides a Python interface to compute and manipulate clothoid curves—mathematical curves parameterized by arc length with closed-form tangent and curvature expressions, evaluated via Fresnel integrals.

Not recommended if simpler curves will solve your problem.

license unclearcompiled wheelaging
106.8Kdownloads / mo
tetgen With conditions
PyPI · Mathematics · released May 2026

tetgen wraps the TetGen C++ library to generate tetrahedral meshes from 3D polyhedral domains, producing constrained Delaunay tetrahedralizations and Voronoi partitions suitable for finite element and finite volume methods.

Install only if you actually work with 3D mesh generation; it is not a general-purpose utility.

MITcompiled wheel · 3.10+
105.8Kdownloads / mo