Skip to main content

A declarative language describing ordinary differential equations.

Project description

Gotran - General ODE TRAnslator


  • provides a Python interface to declare arbitrary ODEs.

  • provides an interface for generating CUDA/C/C++/Python/Matlab code for a number of functions including the right hand side and symbolic generation of a Jacobian.

  • is intentionally lightweight, and could be interfaced by other Python libraries needing functionalities to abstract a general ODE.

  • depends on NumPy, and on SymPy. See further instructions in INSTALL

  • can load models from external ODE desciption files such as CellML


Documentation can be found here:

Source code

Source code can be found at


gotran is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

gotran is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with gotran. If not, see


Gotran is developed by Johan Hake. The version of gotran found in this repository is maintained by Henrik Finsberg. Issues can be reported to

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
gotran-2019.2.1-py3-none-any.whl (169.5 kB) Copy SHA256 hash SHA256 Wheel py3
gotran-2019.2.1.tar.gz (125.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page