pydiffsol logo

pydiffsol

Python bindings for diffsol, Rust JIT-compiled ODE solver

11 stars 3 forks v0.6.1 July 10, 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

GEMSEO logo

GEMSEO

35
pyHarm logo

pyHarm

7
PyBuildingEnergy logo

PyBuildingEnergy

51
Archimedes logo

Archimedes

160
AutoEmulate logo

AutoEmulate

117
CoSApp logo

CoSApp

18
PySimHub

Community hub for Python simulation and numerics tools.

© 2026 PySimHub. MIT License.

Data updated Unknown