Repository

clara-platform-python-client

An intuitive Python 3 package to develop applications with NVIDIA Clara Deploy

README

License
Clara Deploy Platform

NVIDIA

Clara Deploy Python Client

An intuitive python 3 package to develop applications with NVIDIA Clara Deploy. Utilize the clients within the nvidia_clara package to manage jobs, pipelines, payloads, and models. Each client has an associated set of objects which are defined in seperate 'types' modules (also can be found in nvidia_clara). Look at the examples below to learn more on each client to get started!

Additional Resources to Learn More on Clara Deploy

Client Prerequisites

  • Python 3.6 or higher
  • Clara Deploy 0.7.0 or higher

Pypi Packages Needed

Getting Started

Package Installation

Installing from source repository

$ git clone --recursive [email protected]:NVIDIA/clara-platform-python-client.git
$ cd ./clara-platform-python-client
$ python3 -m pip install requirements.txt
$ python3 -m pip install .

Installing directly from Pypi

$ python3 -m pip install nvidia-clara-client

Clara Client Guides

  • Jobs Learn to start and manage Clara jobs
  • Pipelines Learn to create and manage Clara pipelines
  • Payloads Learn to create, upload, download, and manage Clara payloads

Full Example(s) Running Pipeline

Running Pytests

Only for developing with source repository

$ pip3 install grpcio-testing
$ pip3 install pytest
$ export PYTHONPATH="${PYTHONPATH}:<INSERT PATH TO /clara-platform-python-client>"
$ pytest <INSERT PATH TO /clara-platform-python-client>

Additional Resources to Learn More on Clara Deploy

2

Client Prerequisites

1

  • Python 3.6 or higher Clara Deploy 0.7.0 or higher

Pypi Packages Needed

4

Package Installation

3

Clara Client Guides

3

Full Example(s) Running Pipeline

1

Running Pytests

1

  • Only for developing with source repository