Skip to content

wrench-project/wrench-python-api

Repository files navigation

Build License: LGPL v3

WRENCH Project
Cyberinfrastructure Simulation Workbench

Objective

Provide a Python API for WRENCH. This API is built on top of WRENCH's REST API.

Dependencies and Installation

  • WRENCH and its dependencies

    • You must compile/install the wrench-daemon target during the build process
  • Run python3 ./setup.py install to install the WRENCH Python API.

Example and API Documentation

An example simulator is provided in example/simulator.py, and can be executed as follows. In a terminal start the wrench-daemon as:

wrench-daemon

(use wrench-daemon --help to see command-line options)

In another terminal, run the example simulator as:

python3 ./example/simulator.py

For complete documentation, see the API Documentation page.