Python SDK for codeflare client
Project description
CodeFlare SDK
An intuitive, easy-to-use python interface for batch resource requesting, access, job submission, and observation. Simplifying the developer's life while enabling access to high-performance compute resources, either in the cloud or on-prem.
For guided demos and basics walkthroughs, check out the following links:
- Guided demo notebooks available here, and copies of the notebooks with expected output also available
- these demos can be copied into your current working directory when using the
codeflare-sdk
by using thecodeflare_sdk.copy_demo_nbs()
function - Additionally, we have a video walkthrough of these basic demos from June, 2023
Full documentation can be found here
Installation
Can be installed via pip
: pip install codeflare-sdk
Development
Please see our CONTRIBUTING.md for detailed instructions.
Release Instructions
Automated Releases
It is possible to use the Release Github workflow to do the release. This is generally the process we follow for releases
Manual Releases
The following instructions apply when doing release manually. This may be required in instances where the automation is failing.
- Check and update the version in "pyproject.toml" file.
- Commit all the changes to the repository.
- Create Github release (https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository#creating-a-release).
- Build the Python package.
poetry build
- If not present already, add the API token to Poetry.
poetry config pypi-token.pypi API_TOKEN
- Publish the Python package.
poetry publish
- Trigger the Publish Documentation workflow
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
File details
Details for the file codeflare_sdk-0.24.0.tar.gz
.
File metadata
- Download URL: codeflare_sdk-0.24.0.tar.gz
- Upload date:
- Size: 80.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4c799648cdac687c1d06850368a091fc81d988f468d0aa4b327dd2414f7d0af |
|
MD5 | 656721698e1192595994ea9f708e0011 |
|
BLAKE2b-256 | fb1f73463924b495325643722c17fab578e2755a21916a7d24618500d2743819 |
Provenance
The following attestation bundles were made for codeflare_sdk-0.24.0.tar.gz
:
Publisher:
release.yaml
on project-codeflare/codeflare-sdk
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
codeflare_sdk-0.24.0.tar.gz
- Subject digest:
c4c799648cdac687c1d06850368a091fc81d988f468d0aa4b327dd2414f7d0af
- Sigstore transparency entry: 151961099
- Sigstore integration time:
- Predicate type:
File details
Details for the file codeflare_sdk-0.24.0-py3-none-any.whl
.
File metadata
- Download URL: codeflare_sdk-0.24.0-py3-none-any.whl
- Upload date:
- Size: 128.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ead4179305bcacbb26a97de3ebdb2d0b0c0a70a12aae0919452a6f99a02c0c8d |
|
MD5 | b65e86765c2dfd68e2d915e529ea3837 |
|
BLAKE2b-256 | 0d5eebf1d78f31d76609cd4f739fe84123aa430c67d50852a95852a452eac1b2 |
Provenance
The following attestation bundles were made for codeflare_sdk-0.24.0-py3-none-any.whl
:
Publisher:
release.yaml
on project-codeflare/codeflare-sdk
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
codeflare_sdk-0.24.0-py3-none-any.whl
- Subject digest:
ead4179305bcacbb26a97de3ebdb2d0b0c0a70a12aae0919452a6f99a02c0c8d
- Sigstore transparency entry: 151961100
- Sigstore integration time:
- Predicate type: