Skip to content

Updated README for Opening Repo #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
# 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.

Documentation site coming soon, link will be provided here

## Installation

Can be installed via `pip`: `pip install codeflare-sdk`

## Development

For testing, make sure to have installed:
- `pytest`
- The remaining dependencies located in `requirements.txt`
NOTE: Self-contained unit/functional tests coming soon, will live in `tests` folder

To build the python package:
- If poetry is not installed: `pip3 install poetry`
- `poetry build`

To publish:
- `poetry publish`
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ authors = [

readme = 'README.md'

repository = "https://github.com/openshift-psap/codeflare-sdk"
homepage = "https://github.com/openshift-psap/codeflare-sdk"
repository = "https://github.com/project-codeflare/codeflare-sdk"
homepage = "https://github.com/project-codeflare/codeflare-sdk"

keywords = ['codeflare', 'python', 'sdk', 'client', 'batch', 'scale']

Expand Down
2 changes: 2 additions & 0 deletions tests/test_clusters.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

import time

# FIXME - These tests currently assume OC logged in, and not self-contained unit/funcitonal tests

def test_cluster_up():
cluster = Cluster(ClusterConfiguration(name='raycluster-autoscaler'))
cluster.up()
Expand Down