$npx skillfedfor your agent

findiff

A Python package for finite difference derivatives in any number of dimensions.

Worth itPyPI MathematicsReleased Feb 202684.0K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — findiff-0.13.1-py3-none-any.whl
v0.13.1 · released 2026-02-19 · Python >=3.8 · 3 runtime deps: numpy, scipy, sympy

Yes. findiff is actively maintained, has no known vulnerabilities, installs with low friction, and solves a clear problem in numerical computing. It is well-suited for anyone doing finite difference calculations or PDE solving in Python. The recent additions of compact schemes and periodic boundary conditions make it competitive for modern scientific computing tasks.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction: pure Python wheel with three well-established runtime dependencies (numpy, scipy, sympy).
  • Actively maintained with recent commits and no known vulnerabilities.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute findiff with minimal restrictions, including in commercial projects.

last release 2026-02-19 (176 days) · last repo commit 2026-07-20 · 508 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 84,039 downloads/mo, #14,033 on PyPI

Verify before relying

pip install findiff

import numpy as np
from findiff import Diff

x = np.linspace(0, 1, 100)
f = np.sin(x)
d_dx = Diff(0, x[1] - x[0])
df_dx = d_dx(f)
  • Whether compact finite difference schemes (new in 0.13) offer measurable performance gains for typical PDE workloads compared to standard schemes.
  • Scalability characteristics when applied to very large multidimensional arrays or high-order derivatives.
Same gist for agents: .md · .json

What it is and what it does

findiff is a numerical differentiation library that applies finite difference stencils to numpy arrays to compute derivatives and solve PDEs. It lets you define derivative operators symbolically (e.g., d²/dx²) and apply them to data, with control over accuracy order, boundary handling, and grid periodicity. The package supports standard finite differences and newer compact (implicit) schemes that couple derivative values at neighboring points for spectral-like accuracy from small stencils.

You specify a grid spacing and derivative order, then apply the operator to your data. It handles multidimensional arrays, arbitrary linear combinations of derivatives with variable coefficients, and can return matrix representations of differential operators. Recent versions added periodic boundary conditions and compact schemes with automatic stencil selection, making it suitable for both simple derivative calculations and complex PDE solving workflows.

Use it for

  • Compute spatial derivatives on gridded data for physics simulations or numerical analysis.
  • Solve time-dependent PDEs with Dirichlet or Neumann boundary conditions.
  • Generate finite difference coefficient tables for custom numerical schemes.
  • Build matrix representations of differential operators for linear algebra workflows.
  • Apply compact finite differences to achieve high accuracy with narrow stencils on periodic or non-periodic grids.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

findiff is actively maintained, has no known vulnerabilities, installs with low friction, and solves a clear problem in numerical computing. It is well-suited for anyone doing finite difference calculations or PDE solving in Python. The recent additions of compact schemes and periodic boundary conditions make it competitive for modern scientific computing tasks.

Install

findiff on PyPI

Before you install

Low friction: pure Python wheel with three well-established runtime dependencies (numpy, scipy, sympy). Actively maintained with recent commits and no known vulnerabilities.

License in practice

MIT license is permissive; you can use, modify, and distribute findiff with minimal restrictions, including in commercial projects.

Quickstart

pip install findiff

import numpy as np
from findiff import Diff

x = np.linspace(0, 1, 100)
f = np.sin(x)
d_dx = Diff(0, x[1] - x[0])
df_dx = d_dx(f)

Verify before relying

  • Whether compact finite difference schemes (new in 0.13) offer measurable performance gains for typical PDE workloads compared to standard schemes.
  • Scalability characteristics when applied to very large multidimensional arrays or high-order derivatives.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
numpyscipysympy
MaintenanceActively maintained 176 days since the last release
Last repo commit
First released
Downloads84,039 / month, #14,033 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/Engineering :: Mathematics

Evidence: findiff-0.13.1-py3-none-any.whl

Tags

Capabilities
finite difference derivativesnumerical differentiationpartial differential equations solverfinite difference PDEmultidimensional derivativescompact finite differencesspectral-like resolution
Topics
numerical-methodspde-solverscientific-computing
PyPI keywords
finite-differencesnumerical-derivativesscientific-computing

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “finite difference derivatives”

  • findiffComputes finite difference numerical derivatives and solves partial…
  • numdifftoolsComputes numerical derivatives, gradients, Jacobians, Hessians, and…
  • greeneryParses and manipulates regular expressions by converting them to…

Give your agent the search over MCP, or paste the wish link into any chat.

More Mathematics packages

networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
kiwisolver Worth it
PyPI · Mathematics · released Mar 2026

kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.

Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.

BSD-3-Clausecompiled wheel · 3.10+
205.5Mdownloads / mo
sympy Worth it
PyPI · Scientific/Engineering · released Apr 2025

SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.

BSD-3-Clausepure Python · 3.9+
196.4Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
torch With conditions
PyPI · Software Development · released Jul 2026

PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.

Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MITcompiled wheel · 3.10+
102.5Mdownloads / mo
onnxruntime Worth it
PyPI · Software Development · released Jul 2026

onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.

Install it if you have ONNX models to run in production or development.

MITcompiled wheel · 3.11+
89.3Mdownloads / mo

See also numdifftools · sparsediffpy · diffrax · autograd-gamma · autograd · torchcde · nvidia-cusolver-cu11 · torchsde · casadi · nvidia-cusolver