You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dapi` is a library that simplifies the process of submitting, running, and monitoring [TAPIS v3](https://tapis.readthedocs.io/en/latest/) jobs on [DesignSafe](https://designsafe-ci.org) via [Jupyter Notebooks](https://jupyter.designsafe-ci.org).
3
-
4
-
## Features
5
-
6
-
### Jobs
7
-
8
-
* Get TAPIS v3 templates for jobs: No need to fiddle with complex API requests. `dapi` abstracts away the complexities.
9
-
10
-
* Seamless Integration with DesignSafe Jupyter Notebooks: Launch DesignSafe applications directly from the Jupyter environment.
11
-
12
-
### Database
13
-
14
-
Connects to SQL databases on DesignSafe:
15
-
16
-
| Database | dbname | env_prefix |
17
-
|----------|--------|------------|
18
-
| NGL | `ngl`| `NGL_` |
19
-
| Earthake Recovery | `eq` | `EQ_` |
20
-
| Vp | `vp` | `VP_` |
21
-
22
-
Define the following environment variables:
23
-
```
24
-
{env_prefix}DB_USER
25
-
{env_prefix}DB_PASSWORD
26
-
{env_prefix}DB_HOST
27
-
{env_prefix}DB_PORT
28
-
```
29
-
30
-
For e.g., to add the environment variable `NGL_DB_USER` edit `~/.bashrc`, `~/.zshrc`, or a similar shell-specific configuration file for the current user and add `export NGL_DB_USER="dspublic"`.
31
-
32
-
## Installation
33
-
34
-
```shell
35
-
pip3 install dapi
36
-
```
37
-
2
+
Dapi - A Python wrapper for interacting with DesignSafe resources via the Tapis API.
0 commit comments