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.22.0.tar.gz
.
File metadata
- Download URL: codeflare_sdk-0.22.0.tar.gz
- Upload date:
- Size: 76.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 | e543fa42cfc8ec54ee0de3b02a2c764ea2dee6e62769e6b3917fc971997d5a6d |
|
MD5 | c7fcfa4e858d99928186bfd061e72993 |
|
BLAKE2b-256 | 054194f5b31c66cc3083474a4ff5e410a1aa4ad6ee4f2b114cb8d0d81bba34f0 |
File details
Details for the file codeflare_sdk-0.22.0-py3-none-any.whl
.
File metadata
- Download URL: codeflare_sdk-0.22.0-py3-none-any.whl
- Upload date:
- Size: 124.2 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 | 5cbeab5d1816239d8866291c8f917535bbb380a2bd59f4e796f19571fdb981f4 |
|
MD5 | 59e1aded1f0f962f32395dd84a4371a4 |
|
BLAKE2b-256 | 17ffb7a4ee072ebec8cf2e81fe2640f2ce27c7e3098f42c8e8ac48a5c1b34061 |