Skip to main content

A Python toolkit to support use of OSeMOSYS

Project description Documentation Status

A Python toolkit to support use of OSeMOSYS


otoole is a Python package which provides a command-line interface for users of OSeMOSYS.

The aim of the package is to provide a community resource which centralises the commonly used pre- and post-processing steps around the use of OSeMOSYS.


otoole aims to support different ways of storing input data and results, including csv files, databases, datapackages and Excel workbooks, as well as different implementations of the OSeMOSYS model.


otoole requires a number of dependencies, including pygraphviz, which can be difficult to install on Windows.

The easiest way to install the dependencies is to use miniconda.

  1. Obtain the miniconda package:
  2. Add the conda-forge channel conda config --add channels conda-forge
  3. Create a new Python environment conda create -n myenv python=3.7 networkx datapackage pandas graphviz=2.46.1 xlrd
  4. Activate the new environment conda activate myenv
  5. Use pip to install otoole pip install otoole


Install otoole using pip:

pip install otoole

To upgrade otoole using pip:

pip install otoole --upgrade


For detailed instructions of the use of the tool, run the command line help function:

otoole --help


A more detailed documentation of otoole can be found here:


New ideas and bugs should be submitted: to the repository Issue Tracker. Please do contribute by discussing and developing these ideas further, or by developing the codebase.

To contribute directly to the documentation of code development, you first need to install the package in develop mode:

git clone
cd otoole
git checkout <branch you wish to use>
python develop

Now, all changes made in the codebase will automatically be reflected in the installed Python version accessible on the command line or from importing otoole modules into other Python packages.

Project details

Download files

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

Source Distribution

otoole-0.11.0.tar.gz (280.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page