KBatch Papermill: Run papermill in kbatch
Project description
kbatch-papermill
Currently designed for Destination-Earth GFTS, it runs notebooks with papermill on Kubernetes via kbatch. It does not currently target general use because the following assumptions, specific to GFTS deployments, are made:
- Default AWS credentials are set up via environment variables, and work.
- Jobs should always run with the same $JUPYTER_IMAGE as the submitting environment.
- $JUPYTER_IMAGE has
papermill. - We have read/write access to S3 for both the code input directory and the output directory (completed job results).
Note that we do not use the ConfigMap approach to pass the code directory, because of the size limit on config maps. So we essentially replicate the code directory functionality of kbatch, but store in S3 instead.
We also add some generic functionality to make a nicer Python API for kbatch, which should perhaps be upstreamed. See _kbatch.py for most of that.
Project details
Release history Release notifications | RSS feed
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 kbatch_papermill-0.1.0a1.tar.gz.
File metadata
- Download URL: kbatch_papermill-0.1.0a1.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db4c4a8509f60c851de7da4afef3a08e71925fabfa92d70e5a92ae3be09d32bb
|
|
| MD5 |
170e6d198d88c2a9e72ca3ea4424e6a4
|
|
| BLAKE2b-256 |
2ae184ff07d50f1299a9882e4f01562abae816c648881f887a0318d02cc28811
|
Provenance
The following attestation bundles were made for kbatch_papermill-0.1.0a1.tar.gz:
Publisher:
release.yaml on minrk/kbatch-papermill
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kbatch_papermill-0.1.0a1.tar.gz -
Subject digest:
db4c4a8509f60c851de7da4afef3a08e71925fabfa92d70e5a92ae3be09d32bb - Sigstore transparency entry: 184149058
- Sigstore integration time:
-
Permalink:
minrk/kbatch-papermill@cb783c3e284a16617351984b806050ac5f9c2b74 -
Branch / Tag:
refs/tags/0.1.0a1 - Owner: https://github.com/minrk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@cb783c3e284a16617351984b806050ac5f9c2b74 -
Trigger Event:
push
-
Statement type:
File details
Details for the file kbatch_papermill-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: kbatch_papermill-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d02292e4b998c32bcdc12b74778b3bfee177b9edc0f1d2cccb7d8f4a43021247
|
|
| MD5 |
f0c5631cfa72e5136bf8dd0be116208e
|
|
| BLAKE2b-256 |
e3266dd3b239c339cd3f3963f35f7162909429c6016c715a6be5f9b9ddc6e055
|
Provenance
The following attestation bundles were made for kbatch_papermill-0.1.0a1-py3-none-any.whl:
Publisher:
release.yaml on minrk/kbatch-papermill
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kbatch_papermill-0.1.0a1-py3-none-any.whl -
Subject digest:
d02292e4b998c32bcdc12b74778b3bfee177b9edc0f1d2cccb7d8f4a43021247 - Sigstore transparency entry: 184149069
- Sigstore integration time:
-
Permalink:
minrk/kbatch-papermill@cb783c3e284a16617351984b806050ac5f9c2b74 -
Branch / Tag:
refs/tags/0.1.0a1 - Owner: https://github.com/minrk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@cb783c3e284a16617351984b806050ac5f9c2b74 -
Trigger Event:
push
-
Statement type: