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.
Tutorial and basics walkthrough coming soon!
Full documentation can be found here
Installation
Can be installed via pip
: pip install codeflare-sdk
Development
For testing, make sure to have installed:
pytest
,pytest-mock
(can both be installed withpip
)- The remaining dependencies located in
requirements.txt
- To run the unit tests, run
pytest -v tests/unit_test.py
) - Any new test functions/scripts can be added into the
tests
folder
NOTE: Functional tests coming soon, will live in tests/func_test.py
For formatting:
- Currently using black v22.3.0 for format checking
- To install, run
pip install black==22.3.0
- To check file formatting, in top-level dir run
black --check .
- To auto-reformat all files, remove the
--check
flag - To reformat an individual file, run
black <filename>
- To auto-reformat all files, remove the
To build the python package:
- If poetry is not installed:
pip install poetry
poetry build
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
codeflare-sdk-0.2.1.tar.gz
(18.8 kB
view hashes)
Built Distribution
Close
Hashes for codeflare_sdk-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ef22cb46786639b903aa05f6227181a02d1993802931fc23d938ef42440f1e8 |
|
MD5 | 53ada88cd78883c50f2deb2f6ed63cf6 |
|
BLAKE2b-256 | 6fa7ee504c851f10a55f8e6b4710cf7d412a0a3215ba1486a87b841a0f06267f |