pybammsolvers
Python interface for the IDAKLU solver
Decision gist · record as of 2026-08-14
Yes, if you are using PyBaMM or developing electrochemical models that require a robust implicit ODE solver. The package is actively maintained, has no known vulnerabilities, and offers precompiled wheels for modern Python versions on common platforms. Install friction is moderate but manageable for most developers; local builds require a C/C++ toolchain but are well-documented. The unclear license treatment warrants verification before use in proprietary projects.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10–3.13; local builds need cmake, ninja, pybind11, and system C/C++ compiler plus SUNDIALS/SuiteSparse libraries.
- Medium install friction: precompiled wheels are available for Python 3.10–3.13 on macOS (Intel and ARM), Linux (x86_64 and aarch64), and Windows, but local builds require cmake, ninja, pybind11, and system libraries (SUNDIALS, SuiteSparse).
- Active maintenance with a release 24 days ago.
License · maintenance · safety
(unclear)
last release 2026-07-21 (24 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 119,307 downloads/mo, #12,078 on PyPI
Alternatives
Verify before relying
pip install pybammsolvers
import pybammsolvers
# Use within PyBaMM or via casadi/numpy for ODE integration- Whether pybammsolvers can be used standalone or is intended primarily as a PyBaMM dependency.
- Performance characteristics or solver stability guarantees compared to other ODE solvers.
- Documentation availability and completeness for the Python API.
What it is and what it does
pybammsolvers is a Python wrapper around the IDAKLU solver, a C/C++ implementation of implicit differential equation solvers built on SUNDIALS and SuiteSparse. It is designed for solving stiff ordinary differential equations, particularly those arising in battery electrochemistry and electrochemical modeling. The package bundles SUNDIALS and SuiteSparse as git submodules and compiles them during installation, so it carries medium install friction on platforms without precompiled wheels.
The package depends on casadi and numpy at runtime. It is actively maintained and supports Python 3.10 through 3.13 with precompiled wheels for common platforms. Local builds are possible but require a C/C++ toolchain and build dependencies (cmake, ninja, pybind11). The project includes unit tests, integration tests, and performance benchmarks.
Use it for
- Solving stiff differential equations in battery electrochemistry simulations within PyBaMM.
- Benchmarking solver performance against released PyBaMM versions.
- Developing or testing new solver implementations on unsupported architectures via local builds.
- Integrating IDAKLU into custom electrochemical modeling workflows that require implicit ODE solvers.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are using PyBaMM or developing electrochemical models that require a robust implicit ODE solver.
The package is actively maintained, has no known vulnerabilities, and offers precompiled wheels for modern Python versions on common platforms. Install friction is moderate but manageable for most developers; local builds require a C/C++ toolchain but are well-documented. The unclear license treatment warrants verification before use in proprietary projects.
Install
pybammsolvers on PyPI
Before you install
Medium install friction: precompiled wheels are available for Python 3.10–3.13 on macOS (Intel and ARM), Linux (x86_64 and aarch64), and Windows, but local builds require cmake, ninja, pybind11, and system libraries (SUNDIALS, SuiteSparse). Active maintenance with a release 24 days ago.
Requires Python 3.10–3.13; local builds need cmake, ninja, pybind11, and system C/C++ compiler plus SUNDIALS/SuiteSparse libraries.
Quickstart
pip install pybammsolvers
import pybammsolvers
# Use within PyBaMM or via casadi/numpy for ODE integration
Verify before relying
- Whether pybammsolvers can be used standalone or is intended primarily as a PyBaMM dependency.
- Performance characteristics or solver stability guarantees compared to other ODE solvers.
- Documentation availability and completeness for the Python API.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release <3.15,>=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 2 packagescasadinumpy |
| Maintenance | Actively maintained 24 days since the last release |
| First released | |
| Downloads | 119,307 / month, #12,078 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: pybammsolvers-0.9.0-cp310-cp310-macosx_10_13_x86_64.whl; pybammsolvers-0.9.0-cp310-cp310-macosx_11_0_arm64.whl; pybammsolvers-0.9.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; pybammsolvers-0.9.0-cp310-cp310-manylinux_2_34_aarch64.whl; pybammsolvers-0.9.0-cp310-cp310-win_amd64.whl; pybammsolvers-0.9.0-cp311-cp311-macosx_10_13_x86_64.whl; pybammsolvers-0.9.0-cp311-cp311-macosx_11_0_arm64.whl; pybammsolvers-0.9.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; pybammsolvers-0.9.0-cp311-cp311-manylinux_2_34_aarch64.whl; pybammsolvers-0.9.0-cp311-cp311-win_amd64.whl; pybammsolvers-0.9.0-cp312-cp312-macosx_10_13_x86_64.whl; pybammsolvers-0.9.0-cp312-cp312-macosx_11_0_arm64.whl; pybammsolvers-0.9.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; pybammsolvers-0.9.0-cp312-cp312-manylinux_2_34_aarch64.whl; pybammsolvers-0.9.0-cp312-cp312-win_amd64.whl; pybammsolvers-0.9.0-cp313-cp313-macosx_10_13_x86_64.whl; pybammsolvers-0.9.0-cp313-cp313-macosx_11_0_arm64.whl; pybammsolvers-0.9.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; pybammsolvers-0.9.0-cp313-cp313-manylinux_2_34_aarch64.whl; pybammsolvers-0.9.0-cp313-cp313-win_amd64.whl
Tags
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 › “IDAKLU solver python”
- pybammsolverspybammsolvers provides a Python interface to the IDAKLU solver, a…
- cbcboxcbcbox is a self-contained Python distribution of the CBC MILP…
- ecosECOS is a Python wrapper for a numerical solver that handles convex…
Give your agent the search over MCP, or paste the wish link into any chat.
More Mathematics packages
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.
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.
SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.
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.
PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.
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.
See also pybamm · torchdiffeq · qpsolvers · gekko · pyamg · diffrax · nvidia-cusolver · torchcde · nvidia-cusolver-cu12 · torchsde