$npx skillfedfor your agent

Mathematics packages

367 packages · page 7 of 10

Packages

llmcompressor Worth it
PyPI · Mathematics · released Aug 2026

llmcompressor optimizes large language models for efficient deployment by applying quantization, pruning, and other compression techniques compatible with vLLM inference.

Apache-2.0pure Python · 3.10+
221.4Kdownloads / mo
graspologic-native With conditions
PyPI · Mathematics · released Jun 2026

Provides a high-performance Rust implementation of the Leiden community detection algorithm for graph analysis, exposed to Python via a native extension module.

MITcompiled wheel · 3.9+
220.3Kdownloads / mo
pyudorandom Skip
PyPI · Mathematics · released Jul 2016

Generates pseudorandom numbers using algebraic methods.

license unclearbuilds from sourceabandoned
220.2Kdownloads / mo
window-ops With conditions
PyPI · Mathematics · released Mar 2024

Provides numba-optimized window operations (rolling, expanding, seasonal) on numpy arrays as a faster alternative to pandas rolling and expanding methods, plus online classes for incremental updates.

Not recommended if you need active development, broad window function coverage, or integration with pandas DataFrames.

Apache-2.0pure Python · 3.6+dormant
215.8Kdownloads / mo
statistics Skip
PyPI · Mathematics · released Oct 2014

Provides basic mathematical statistics functions (mean, median, mode, standard deviation, variance) for Python 2.x, backported from Python 3.4's standard library statistics module.

Install only if you are maintaining legacy code on those versions that cannot be upgraded; otherwise, use Python 3's built-in statistics module.

permissive licensebuilds from sourceabandoned
212.1Kdownloads / mo
mnn Worth it
PyPI · Mathematics · released Jul 2026

MNN is a lightweight deep learning inference and training framework that runs neural network models efficiently on mobile devices, embedded systems, and servers with support for multiple hardware backends including CPU, GPU, and NPU.

BSD-3-Clausecompiled wheel · 3.8+
210.4Kdownloads / mo
megatron-core With conditions
PyPI · Mathematics · released Jul 2026

Megatron Core provides GPU-optimized building blocks and parallelism strategies for training large transformer models at scale, including tensor parallelism, pipeline parallelism, and mixed precision support.

Not recommended for simple single-GPU training or inference-only use cases.

BSD-3-Clausecompiled wheel · 3.12+
208.0Kdownloads / mo
rectangle-packer Worth it
PyPI · Mathematics · released Mar 2026

Packs a set of rectangles with fixed orientations into a minimal-area bounding box with no overlaps, returning the (x, y) coordinates of each rectangle's lower-left corner.

Install it if you need to pack rectangles efficiently.

MITcompiled wheel · 3.9+
207.7Kdownloads / mo
better-optimize With conditions
PyPI · Mathematics · released May 2026

A wrapper around scipy's optimize.minimize and optimize.root that adds progress bars, early stopping, flattened keyword arguments, and a unified callback API across different optimization methods.

MITpure Python · 3.12+
206.4Kdownloads / mo
tensorflow-recommenders Worth it
PyPI · Mathematics · released Jan 2026

TensorFlow Recommenders provides a Keras-based library for building recommender system models, covering the full workflow from data preparation through training, evaluation, and deployment.

Apache-2.0pure Python
203.9Kdownloads / mo
trueskill Skip
PyPI · Mathematics · released Sep 2018

Implements the TrueSkill rating algorithm to compute player skill ratings and match quality in competitive games.

BSD-3-Clausebuilds from sourceabandoned
200.2Kdownloads / mo
tensorflow-intel With conditions
PyPI · Mathematics · released Oct 2024

Intel-optimized TensorFlow for Windows that accelerates numerical computation and machine learning workloads using oneDNN primitives for Intel architecture.

Install only if you are on Windows; the medium dependency footprint is standard for TensorFlow and the oneDNN environment variable must be set explicitly to activate…

Apache-2.0compiled wheel · 3.9+
198.2Kdownloads / mo
pytorch-wavelets With conditions
PyPI · Mathematics · released Apr 2023

Provides 2D discrete wavelet and dual-tree complex wavelet transforms (DWT and DTCWT) with their inverses in PyTorch, supporting gradient backpropagation and batched multichannel image processing.

However, verify that the 'Free To Use' license suits your use case, test compatibility with your PyTorch and NumPy versions, and be prepared to maintain or fork the…

license unclearpure Pythonabandoned
198.2Kdownloads / mo
pyulog Worth it
PyPI · Mathematics · released Aug 2026

Parses ULog files (a self-describing logging format) and provides command-line tools to extract, convert, and display logged data in multiple formats including CSV, KML, and ROS2 bag files.

Install it if you work with PX4 logs or need ULog parsing; skip it otherwise.

BSD-3-Clausepure Python
195.9Kdownloads / mo
antropy Worth it
PyPI · Mathematics · released Apr 2026

AntroPy computes entropy and fractal dimension measures from time-series data, optimized for speed via Numba JIT compilation and designed to work on both 1-D and N-D arrays.

permissive licensepure Python · 3.10+
195.9Kdownloads / mo
fxpmath Worth it
PyPI · Mathematics · released Mar 2026

Fxpmath provides fixed-point arithmetic with arbitrary word and fractional sizes, supporting signed and unsigned numbers, numpy arrays, and bitwise operations for DSP and FPGA applications.

MITpure Python · 3.7+
194.2Kdownloads / mo
diptest With conditions
PyPI · Mathematics · released Apr 2026

Computes Hartigan's dip test statistic and p-value to detect multimodality in a sample, measuring how far an empirical distribution deviates from unimodality.

copyleftcompiled wheel · 3.8+
193.0Kdownloads / mo
flwr Worth it
PyPI · Mathematics · released Aug 2026

Flower is a framework for building federated learning systems where machine learning models are trained collaboratively across distributed clients without centralizing raw data.

Install it if you need to build federated learning systems or conduct distributed model training while preserving data privacy.

Apache-2.0pure Python
188.8Kdownloads / mo
tensorflow-transform Worth it
PyPI · Mathematics · released Jun 2026

TensorFlow Transform preprocesses data with full-pass operations like normalization, vocabulary generation, and bucketing, exporting a reusable TensorFlow graph for consistent training and serving.

Apache-2.0pure Python
187.3Kdownloads / mo
openskill Worth it
PyPI · Mathematics · released Jan 2026

Openskill is a multiplayer rating system that calculates and updates player skill ratings in competitive games, supporting multiple teams, asymmetric team sizes, and various outcome types (win, draw, rank).

MITpure Python
187.1Kdownloads / mo
torchtyping With conditions
PyPI · Mathematics · released Aug 2024

Adds type annotations for PyTorch tensor shape, dtype, layout, and dimension names with optional runtime checking via typeguard.

However, be aware that the package is aging and the author recommends jaxtyping for new projects due to better static type checker support.

Apache-2.0pure Python · 3.7.0+aging
186.2Kdownloads / mo
pymc-marketing With conditions
PyPI · Mathematics · released Aug 2026

PyMC-Marketing provides Bayesian statistical models for marketing analytics, including Marketing Mix Modeling (MMM), Customer Lifetime Value (CLV), Customer Choice, Bass Diffusion, and Predicted Incrementality by Experimentation (PIE).

Apache-2.0pure Python · 3.12+
184.7Kdownloads / mo
ai-edge-litert-nightly With conditions
PyPI · Mathematics · released Aug 2026

LiteRT is a runtime for running trained machine learning models on mobile and embedded devices with low latency and minimal binary footprint.

However, avoid it for production deployments requiring stability—use a stable release instead.

Apache-2.0compiled wheel
184.7Kdownloads / mo
isosurfaces With conditions
PyPI · Mathematics · released Feb 2024

Constructs isolines and isosurfaces of 2D and 3D scalar fields defined by functions, using a quadtree-based approach to efficiently sample only regions near the implicit surface.

However, note that maintenance is aging (last update February 2024, no commits in over 900 days)—suitable for stable use cases, but not for projects requiring active…

MITpure Python · 3.8+aging
182.9Kdownloads / mo
Theano-PyMC Skip
PyPI · Mathematics · released Jan 2021

Theano-PyMC is an optimizing compiler for mathematical expressions on multi-dimensional arrays, enabling GPU acceleration and automatic differentiation for numerical computations.

BSD-3-Clausebuilds from sourceabandoned
179.4Kdownloads / mo
pyopencl With conditions
PyPI · Mathematics · released Jan 2026

PyOpenCL provides Python bindings to OpenCL, enabling you to write GPU and massively parallel compute code that runs on diverse hardware accelerators through a Pythonic interface.

MITcompiled wheel
175.2Kdownloads / mo
simple-equ With conditions
PyPI · Mathematics · released Apr 2026

A library of ready-to-use STEM equations implemented as functions, covering algebra, geometry, and statistics to avoid reimplementing common mathematical formulas.

Not recommended if you need a comprehensive math library.

permissive licensecompiled wheel · 3.8+
170.6Kdownloads / mo
ai-edge-quantizer With conditions
PyPI · Mathematics · released Jul 2026

Quantizes LiteRT models to reduce size and improve inference performance on edge devices, supporting dynamic, weight-only, and static quantization strategies with configurable recipes.

Apache-2.0pure Python · 3.10+
169.7Kdownloads / mo
Theano Skip
PyPI · Mathematics · released Jul 2020

Theano is a Python library for defining, optimizing, and evaluating mathematical expressions on CPUs and GPUs, with symbolic differentiation and tight NumPy integration.

Install only if required to run existing legacy code, and expect significant friction on modern systems.

BSD-3-Clausebuilds from sourceabandoned
168.5Kdownloads / mo
litert-torch With conditions
PyPI · Mathematics · released Aug 2026

Converts PyTorch models to .tflite format for on-device deployment on Android, iOS, and IoT devices via LiteRT, with CPU coverage and initial GPU and NPU support.

Apache-2.0pure Python · 3.10+
166.6Kdownloads / mo
lightly Worth it
PyPI · Mathematics · released Jul 2026

Lightly provides self-supervised learning models and loss functions for computer vision, enabling you to train neural networks on unlabeled image data using methods like MoCo, SimCLR, BYOL, and DINO.

Install it if you need to train on unlabeled image data or experiment with SSL methods.

MITpure Python · 3.6+
166.3Kdownloads / mo
klujax With conditions
PyPI · Mathematics · released Apr 2026

Solves sparse linear systems in JAX using the KLU algorithm from SuiteSparse, optimized for CPU arrays with float64 or complex128 precision.

LGPL-2.0-onlycompiled wheel · 3.11+
166.2Kdownloads / mo
torchax With conditions
PyPI · Mathematics · released Jun 2026

torchax is a PyTorch backend that runs PyTorch code on Google Cloud TPUs via JAX, with bidirectional interoperability allowing you to call JAX functions from PyTorch and vice versa.

However, it is in alpha (Development Status :: 3), so expect incomplete operation coverage and potential API changes.

Apache-2.0pure Python · 3.11+
164.6Kdownloads / mo
empyrical-reloaded With conditions
PyPI · Mathematics · released Jun 2025

Computes financial return and risk metrics—including drawdown, alpha/beta, Value at Risk, Sharpe and Sortino ratios—from return arrays or pandas Series, with support for rolling window calculations and optional data fetching from Yahoo Finance or Fama-French sources.

Apache-2.0pure Python · 3.9+aging
161.7Kdownloads / mo
qiskit-connector With conditions
PyPI · Mathematics · released Jan 2026

Automates IBM Quantum backend connection, authentication, and selection by detecting your subscription plan and returning the least-busy available QPU resource for immediate use in Qiskit circuits.

However, note the aging maintenance status (219 days since last release) and verify that the connector's error handling and backend-selection logic align with your…

Apache-2.0pure Python · 3.9+aging
160.2Kdownloads / mo
tfx-bsl With conditions
PyPI · Mathematics · released Jun 2026

tfx_bsl provides shared libraries and utilities used internally by TensorFlow eXtended (TFX) components and standalone TFX libraries like TFDV, TFMA, and TFT.

Apache-2.0compiled wheel
159.4Kdownloads / mo
tensorflow-cpu-aws With conditions
PyPI · Mathematics · released Mar 2024

TensorFlow CPU for AWS is a machine learning framework optimized for numerical computation on CPU-based AWS infrastructure, supporting deployment across diverse platforms and devices.

However, verify that this AWS-specific variant offers advantages over the standard TensorFlow CPU distribution, and check whether version 2.15.1 (released 2024-03-14)…

Apache-2.0compiled wheel · 3.9+
159.0Kdownloads / mo
lightly-utils With conditions
PyPI · Mathematics · released Jul 2021

Provides utility functions and helpers for the Lightly self-supervised learning framework, supporting computer vision model pretraining with numpy and Pillow.

However, verify that this utility package is still the recommended approach for your Lightly version, as the last release was in 2021.

MITpure Python · 3.6+
158.8Kdownloads / mo
piecewise-rational With conditions
PyPI · Mathematics · released Jan 2026

Performs shape-preserving piecewise rational cubic interpolation using the Delbourgo-Gregory algorithm, maintaining monotonicity and convexity of interpolated curves.

However, it is aging (no updates since initial release) and has minimal adoption; consider it only if standard cubic splines or other interpolation libraries do not…

MITpure Pythonaging
158.1Kdownloads / mo
cody-special With conditions
PyPI · Mathematics · released Jan 2026

Provides high-precision implementations of error functions (erf, erfc, erfcx) and normal distribution functions (PDF, CDF, inverse CDF) using W.J. Cody's rational Chebyshev approximations.

MITpure Pythonaging
158.1Kdownloads / mo