DSJobs simplifies accessing TAPIS on DesignSafe
Project description
DesignSafe Jobs
dsjobs is a library that simplifies the process of submitting, running, and monitoring TAPIS v2 / AgavePy jobs on DesignSafe via Jupyter Notebooks.
Features
-
Simplified TAPIS v2 Calls: No need to fiddle with complex API requests.
dsjobsabstracts away the complexities. -
Seamless Integration with DesignSafe Jupyter Notebooks: Launch DesignSafe applications directly from the Jupyter environment.
Installation
Install dsjobs via pip
pip3 install dsjobs
To install the current development version of the library use:
pip install git+https://github.com/DesignSafe-CI/dsjobs.git --quiet
Example usage:
-
Jupyter Notebook Templates using DSJobs.
-
View DSJobs API doc
Install the latest version of dsjobs and restart the kernel (Kernel >> Restart Kernel):
# Remove any previous installations
!pip uninstall dsjobs -y
# Install
!pip install dsjobs --quiet
- Import
dsjobslibrary
import dsjobs as ds
- To list all functions in
dsjobs
dir(ds)
Documentation
View DSJobs API doc
To generate API docs:
pdoc --html --output-dir docs dsjobs --force
Support
For any questions, issues, or feedback submit an issue
Development
To develop or test the library locally. Install Poetry. In the current repository run the following commands
poetry shell
poetry install
poetry build
To run the unit test
poetry run pytest -v
License
dsjobs is licensed under the MIT License.
Authors
- Prof. Pedro Arduino, University of Washington
- Krishna Kumar, University of Texas at Austin
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dsjobs-0.1.5.tar.gz.
File metadata
- Download URL: dsjobs-0.1.5.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98a0829e548af06ce7a620d78fd2ff60e5cc67bdd3c54a50b6e02cabb465031a
|
|
| MD5 |
0e79263fc5d1cb9f41f78889f71171f5
|
|
| BLAKE2b-256 |
0696464bce2de50f2cd69c8ada5983c595afedec9e374ed1301a6b5e47ad740a
|
File details
Details for the file dsjobs-0.1.5-py3-none-any.whl.
File metadata
- Download URL: dsjobs-0.1.5-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d474f40734938c453cf95e8ad5289ea1fd0f87cfb92eca3c24838963c1f690b9
|
|
| MD5 |
e2e52e89ff8c69ceed69ec02cdb8f0ce
|
|
| BLAKE2b-256 |
ab48811a9f4797645439c5579be83cc673dc215665ba258f3139c4691cce36c8
|