Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com> Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com> |
||
|---|---|---|
| .. | ||
| docs | ||
| mpijob | ||
| test | ||
| .gitignore | ||
| README.md | ||
| requirements.txt | ||
| setup.py | ||
| tensorflow-mnist.py | ||
| test-requirements.txt | ||
README.md
kubeflow
Python SDK for MPI-Operator
This Python package is automatically generated by the OpenAPI Generator project:
- API version: v2beta1
- Package version: 0.1
- Build package: org.openapitools.codegen.languages.PythonLegacyClientCodegen
Requirements.
Python 2.7 and 3.4+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)
Then import the package:
import mpijob
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import mpijob
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import mpijob
from mpijob.rest import ApiException
from pprint import pprint
Documentation for API Endpoints
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|
Documentation For Models
- V1JobCondition
- V1JobStatus
- V1ReplicaSpec
- V1ReplicaStatus
- V1RunPolicy
- V1SchedulingPolicy
- V2beta1MPIJob
- V2beta1MPIJobList
- V2beta1MPIJobSpec
Documentation For Authorization
All endpoints do not require authorization.