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.0.tar.gz
.
File metadata
- Download URL: codeflare_sdk-0.23.0.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 | fdd464527701c39d28103ab1ca9b6c151fd4797ca5ebf79852ee4cc1d8166fe2 |
|
MD5 | e75d8358db5bba882bc1051168826c6e |
|
BLAKE2b-256 | aa5a306322459200340383a1cd4fb590dc19130327fd0ff765127af031783f42 |
Provenance
The following attestation bundles were made for codeflare_sdk-0.23.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.23.0.tar.gz
- Subject digest:
fdd464527701c39d28103ab1ca9b6c151fd4797ca5ebf79852ee4cc1d8166fe2
- Sigstore transparency entry: 147281142
- Sigstore integration time:
- Predicate type:
File details
Details for the file codeflare_sdk-0.23.0-py3-none-any.whl
.
File metadata
- Download URL: codeflare_sdk-0.23.0-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 | d729ea7c81133f0877ff649b89d41cc085b8223c1548052073477df74685fab7 |
|
MD5 | be8d48501c1028496013cb9facd182a6 |
|
BLAKE2b-256 | fa53b07d50ace90511ec7869a9c6982f81f0ed0ba3219b4349636c585293e8c7 |
Provenance
The following attestation bundles were made for codeflare_sdk-0.23.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.23.0-py3-none-any.whl
- Subject digest:
d729ea7c81133f0877ff649b89d41cc085b8223c1548052073477df74685fab7
- Sigstore transparency entry: 147281143
- Sigstore integration time:
- Predicate type: