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.23.1.tar.gz
.
File metadata
- Download URL: codeflare_sdk-0.23.1.tar.gz
- Upload date:
- Size: 77.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6bd10b493d155de3a734c9fe8fe61e5afd78118e0bc1a968252055b02ef5a45 |
|
MD5 | a73ae9c5e9bef71e225fad37018033d9 |
|
BLAKE2b-256 | 799b064cbcbdd4b9699b8d994f825b732340c0ff00dd749d621691d3705bc573 |
Provenance
The following attestation bundles were made for codeflare_sdk-0.23.1.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.23.1.tar.gz
- Subject digest:
b6bd10b493d155de3a734c9fe8fe61e5afd78118e0bc1a968252055b02ef5a45
- Sigstore transparency entry: 147294888
- Sigstore integration time:
- Predicate type:
File details
Details for the file codeflare_sdk-0.23.1-py3-none-any.whl
.
File metadata
- Download URL: codeflare_sdk-0.23.1-py3-none-any.whl
- Upload date:
- Size: 125.3 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 | d851be5945ca71dac3117ad12ea5281c4b27a4cafaf45a966fb287d1de5c15b4 |
|
MD5 | 66033ebb80559d24472d695b77c90ee3 |
|
BLAKE2b-256 | c2e0a716c74edbbd52efde217ece8bcf12418eeca2d4b110ea9fa58cead40302 |
Provenance
The following attestation bundles were made for codeflare_sdk-0.23.1-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.23.1-py3-none-any.whl
- Subject digest:
d851be5945ca71dac3117ad12ea5281c4b27a4cafaf45a966fb287d1de5c15b4
- Sigstore transparency entry: 147294890
- Sigstore integration time:
- Predicate type: