Skip to main content

A simple interface to cardiac cellular electrophysiology

Project description

travis appveyor codecov Documentation Status


Myokit is an open-source Python-based toolkit that facilitates modeling and simulation of cardiac cellular electrophysiology. It's hosted on GitHub and available on PyPi. For the latest documentation, see

More information, including examples and an installation guide, is available on A list of changes introduced in each Myokit release is provided in the Changelog.


For full installation details (on linux, mac, or windows), please see A shorter installation guide for experienced users is given below.

To install Myokit, using PyQt5 for Myokit's GUI components, run:

pip install myokit[pyqt]

to use PySide2 instead, run:

pip install myokit[pyside]

If you're not planning to use the GUI components (for example to run simulations on a server), you can simply install with

pip install myokit

On Linux and Windows, start menu icons can be added by running

python -m myokit icons

To run single-cell simulations, CVODE must be installed (but Windows users can skip this step, as binaries are included in the pip install). In addition, Myokit needs a working C/C++ compiler to be present on the system.

Existing Myokit installations can be upgraded using

pip install --upgrade myokit

Quick-start guide

After installation, to quickly test if Myokit works, type

python -m myokit run example

or simply

myokit run example

To open an IDE window, type

myokit ide

To see what else Myokit can do, type

myokit -h

Citing Myokit

If you use Myokit in your research, please cite it using the information in our CITATION file.

Download files

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

Files for myokit, version 1.32.0
Filename, size File type Python version Upload date Hashes
Filename, size myokit-1.32.0-py3-none-any.whl (3.9 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size myokit-1.32.0.tar.gz (3.7 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page