Skip to main content

Introduction

The ZEDEDA Edge AI Client (zededa-eip-client) is a Python package that provides programmatic access to ZEDEDA Edge Inference Services. You can use it to manage providers, browse models, trigger imports, and monitor jobs from a Jupyter Notebook, a Python script, or any other Python environment. This article covers provider management using the client. For console-based provider management, see Manage Providers.

Prerequisites

  • Python 3.8 or later.
  • Access to ZEDEDA Edge Inference Services with a valid organization ID.
  • Credentials for the provider types you want to add (API tokens, access keys, or service principal details).

Install the Client

Install the zededa-eip-client package from PyPI:

Authenticate

Authenticate with ZEDEDA Edge Inference Services before making any API calls. Pass your organization ID to the login function:
After authentication, initialize the client:

List Providers

Retrieve all providers configured in your organization:
Each provider entry includes the provider name, type, connection status, and configuration details.

Create a Provider

Use create_external_provider to add a new provider. The required fields vary by provider type. The following examples cover seven of the nine supported provider types. Qualcomm AI Hub and Local (file upload) providers are also supported.

HuggingFace

NVIDIA NGC

Azure ML

Azure Blob

MLflow

Amazon S3

AWS SageMaker

Update a Provider

Use update_external_provider to modify an existing provider’s credentials or configuration. Pass the provider ID and only the fields you want to change:

Test a Provider Connection

Use test_provider_connection to verify that ZEDEDA Edge Inference Services can reach the provider with its current credentials:
The response indicates whether the connection succeeded or failed. Only Super Admin can run a connection test. A failed test sets the provider to an error state, and imports from it are blocked until a test passes.

Browse a Provider

Use browse_provider to list models or files available in a provider. Browsing is supported for all provider types. The search query is supported only for Hugging Face, MLflow, NVIDIA NGC, and Qualcomm AI Hub providers. For other provider types, omit query or the request fails.

Import a Model from a Provider

Use import_model_from_external_provider to start an import job that fetches a model from the provider into your ZEDEDA Edge Inference Services model library:
The method returns a job object containing the job ID. You can use this ID to monitor import progress in the Infrastructure Monitor Jobs page, or by polling the job status programmatically.

Delete a Provider

Use delete_external_provider to remove a provider from your organization:
Deleting a provider does not remove any models that were already imported from it.

In This Section