pydiffsol logo

pydiffsol

Python bindings for diffsol, Rust JIT-compiled ODE solver

11 stars 3 forks v0.5.2 May 20, 2026 MIT

Links

About

Pydiffsol provides python bindings for diffsol, a Rust library for solving ordinary differential equations (ODEs) or semi-explicit differential algebraic equations (DAEs).

Equations are specified with diffsl, a domain specific language (DSL) that uses automatic differentiation to calculate the necessary jacobians, and JIT compilation using LLVM or Cranelift to generate efficient native code at runtime.

This provides the performance of Rust with the flexibility of Python. Users create a Python Ode object with DiffSL code, specifying the diffsol solver, matrix, linear solver and scalar types. All standard solver configuration settings such as tolerances, min step size, max newton steps etc. can be set through the Ode instance.

Currently supported solver types are BDF, ESDIRK34, TRBDF2 and TSIT45.

Wheels are built for linux, windows and macos.

Tags


Related Projects

pyHarm logo

pyHarm

7
PyBuildingEnergy logo

PyBuildingEnergy

48
Archimedes logo

Archimedes

159
AutoEmulate logo

AutoEmulate

114
CoSApp logo

CoSApp

18
PyPSA logo

PyPSA

2K
PySimHub

Community hub for Python simulation and numerics tools.

© 2026 PySimHub. MIT License.

Data updated Unknown