Skip to content

APISpec

sjzasada edited this page Jan 19, 2017 · 2 revisions

BAC 2.0 API Specification

The core functionality of BAC 2.0 is implemented as a Python 3 package consisting of numerous submodules. The basic module structure is outlined below:

bac/
  __init__.py
  build/
    __init__.py
    ...
  simulate/
    __init__.py
    workflow.py       -   module to manage execution of workflow
    movedata.py       -   module to wrap remote data transfers
    runremote.py      -   module to wrap remote running (e.g. AWS, Radical)
    checkstatus.py    -   module to wrap remote status monitoring 
    remoteerror.py    -   module to wrap around/report remote error states
  present/
    __init__.py
    ...

The bac command line tool calls out to this API to provide its functionality.