$npx skillfedfor your agent

sparsediffpy

Python bindings for SparseDiffEngine algorithmic differentiation

With conditionsPyPI MathematicsReleased Jul 20261.5M downloads / moApache-2.0Platform wheel

Decision gist · record as of 2026-08-14

platform wheels — sparsediffpy-0.6.1-cp311-cp311-macosx_10_9_universal2.whl · sparsediffpy-0.6.1-cp311-cp311-macosx_10_9_x86_64.whl · sparsediffpy-0.6.1-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
v0.6.1 · released 2026-07-13 · Python >=3.11 · 1 runtime deps: numpy

Yes, if you need efficient sparse Jacobian or Hessian computation in Python. The package is actively maintained, has no known vulnerabilities, uses a permissive license, and provides a clean Python interface to a specialized C library. Install friction is moderate but manageable with pre-built wheels. Primary consideration: verify that the _sparsediffengine API matches your differentiation needs before committing to a production workflow.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later (requires_python: >=3.11).
  • Medium install friction due to compiled wheels across multiple Python versions and platforms.
  • Package is actively maintained with a recent release, and requires only numpy as a runtime dependency.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution.

last release 2026-07-13 (32 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,504,507 downloads/mo, #3,828 on PyPI

Verify before relying

pip install sparsediffpy
from sparsediffpy import _sparsediffengine
  • Specific capabilities and API surface of _sparsediffengine module beyond import.
  • Performance characteristics or scale limits for sparse Jacobian/Hessian computation.
  • Whether the package is suitable for production use or primarily experimental.
  • Typical use patterns and integration with numpy workflows.
Same gist for agents: .md · .json

What it is and what it does

SparseDiffPy is a Python wrapper around SparseDiffEngine, a C library specialized in computing sparse Jacobians and Hessians—the first and second derivatives of functions that have sparse structure. It bridges high-level Python code to low-level compiled differentiation routines, allowing developers to leverage algorithmic differentiation without writing C directly.

The package depends only on numpy and targets modern Python versions (3.11+), with pre-built wheels available for macOS, Linux, and Windows across multiple architectures. It is actively maintained with no known security vulnerabilities. The primary use case is numerical optimization, machine learning, and scientific computing workflows where computing derivatives efficiently is critical and the underlying functions exhibit sparsity patterns that can be exploited for speed.

Use it for

  • Computing sparse Jacobians for large-scale optimization problems where most partial derivatives are zero.
  • Efficient Hessian computation in machine learning model training and hyperparameter optimization.
  • Numerical simulations and scientific computing where derivative evaluation is a bottleneck.
  • Sensitivity analysis in engineering and physics simulations with sparse dependency graphs.

Worth the install?

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

With conditions

Yes, if you need efficient sparse Jacobian or Hessian computation in Python.

The package is actively maintained, has no known vulnerabilities, uses a permissive license, and provides a clean Python interface to a specialized C library. Install friction is moderate but manageable with pre-built wheels. Primary consideration: verify that the _sparsediffengine API matches your differentiation needs before committing to a production workflow.

Install

sparsediffpy on PyPI

Before you install

Medium install friction due to compiled wheels across multiple Python versions and platforms. Package is actively maintained with a recent release, and requires only numpy as a runtime dependency.

Requires Python 3.11 or later (requires_python: >=3.11).

License in practice

Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution.

Quickstart

pip install sparsediffpy
from sparsediffpy import _sparsediffengine

Verify before relying

  • Specific capabilities and API surface of _sparsediffengine module beyond import.
  • Performance characteristics or scale limits for sparse Jacobian/Hessian computation.
  • Whether the package is suitable for production use or primarily experimental.
  • Typical use patterns and integration with numpy workflows.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.11
Install frictionMedium. Platform-specific wheel
Runtime dependencies
1 package
numpy
MaintenanceActively maintained 32 days since the last release
First released
Downloads1,504,507 / month, #3,828 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: sparsediffpy-0.6.1-cp311-cp311-macosx_10_9_universal2.whl; sparsediffpy-0.6.1-cp311-cp311-macosx_10_9_x86_64.whl; sparsediffpy-0.6.1-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; sparsediffpy-0.6.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; sparsediffpy-0.6.1-cp311-cp311-win_amd64.whl; sparsediffpy-0.6.1-cp312-cp312-macosx_10_13_universal2.whl; sparsediffpy-0.6.1-cp312-cp312-macosx_10_13_x86_64.whl; sparsediffpy-0.6.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; sparsediffpy-0.6.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; sparsediffpy-0.6.1-cp312-cp312-win_amd64.whl; sparsediffpy-0.6.1-cp313-cp313-macosx_10_13_universal2.whl; sparsediffpy-0.6.1-cp313-cp313-macosx_10_13_x86_64.whl; sparsediffpy-0.6.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; sparsediffpy-0.6.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; sparsediffpy-0.6.1-cp313-cp313-win_amd64.whl; sparsediffpy-0.6.1-cp314-cp314-macosx_10_15_universal2.whl; sparsediffpy-0.6.1-cp314-cp314-macosx_10_15_x86_64.whl; sparsediffpy-0.6.1-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; sparsediffpy-0.6.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; sparsediffpy-0.6.1-cp314-cp314-win_amd64.whl

Tags

Capabilities
sparse jacobian hessian computationalgorithmic differentiation pythonsparse automatic differentiationjacobian matrix calculationefficient gradient computation
Topics
automatic-differentiationnumerical-optimizationsparse-computation

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 › “sparse jacobian hessian computation”

  • sparsediffpySparseDiffPy provides Python bindings to compute sparse Jacobians and…
  • numdifftoolsComputes numerical derivatives, gradients, Jacobians, Hessians, and…
  • tabmatProvides efficient matrix classes for tabular data that mix dense,…

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 casadi · numdifftools · findiff · jax · Theano · autograd · Theano-PyMC · gpytorch · diffrax · nvidia-cusparselt-cu13