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
Metadata
Release files for dsjobs 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dsjobs-0.1.5.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dsjobs-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.3 kB
Release files / dsjobs-0.1.5.tar.gz
| Download URL | dsjobs-0.1.5.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98a0829e548af06ce7a620d78fd2ff60e5cc67bdd3c54a50b6e02cabb465031a
|
|
BLAKE2b-256 checksum How to use checksums |
0696464bce2de50f2cd69c8ada5983c595afedec9e374ed1301a6b5e47ad740a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Release files / dsjobs-0.1.5-py3-none-any.whl
| Download URL | dsjobs-0.1.5-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d474f40734938c453cf95e8ad5289ea1fd0f87cfb92eca3c24838963c1f690b9
|
|
BLAKE2b-256 checksum How to use checksums |
ab48811a9f4797645439c5579be83cc673dc215665ba258f3139c4691cce36c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|