dapi is a Python library for submitting, monitoring, and managing TAPIS v3 jobs on DesignSafe via Jupyter Notebooks or the command line. It also provides access to DesignSafe research databases.

from dapi import DSClient
ds = DSClient()
input_uri = ds.files.to_uri("/MyData/analysis/input/")
job_request = ds.jobs.generate(
app_id="matlab-r2023a",
input_dir_uri=input_uri,
script_filename="run_analysis.m",
allocation="your_allocation",
)
job = ds.jobs.submit(job_request)
job.monitor()For background on DesignSafe compute environments, storage, and workflow design, see the DesignSafe Workflows guide.
Getting Started¶
Quick Start -- get running in 5 minutes
Installation -- install options and updates
Authentication -- credentials and environment setup
User Guide¶
Jobs -- submit, monitor, and manage computational jobs
Apps -- find applications and their IDs
Files -- path translation, upload, download
Projects -- list, inspect, and access project files
Publications -- search and access published datasets
Systems -- queues and TMS credentials
Database Access -- query DesignSafe research databases
Examples¶
Examples -- full worked examples with runnable notebooks
Support¶
Report bugs or request features on GitHub Issues.
License¶
MIT License (view)