Introduction

The Labellerr SDK is a Python library designed to make interaction with the Labellerr platform simple and efficient. With this SDK, you can manage data annotations, projects, and exports seamlessly in your applications. This documentation will guide you through installing the SDK, understanding its core functionalities, and handling common errors. Prefer a runnable notebook with sample data and ready-made cells? Open the end-to-end SDK cookbook in Google Colab

Installation

To install the Labellerr SDK, use the following command:
pip install https://github.com/tensormatics/SDKPython/releases/download/prod/labellerr_sdk-1.0.0.tar.gz

Getting Started

Obtaining api_keys and client_id:

To obtain your api_keys and client_id, Pro and Enterprise plan users can contact Labellerr support. If you are on a free plan, you can request them by emailing **support@tensormatics.com**. Once installed, you can start by importing and initializing the LabellerrClient and LabellerrError. This client will handle all communication with the Labellerr platform.

Example Client initiation:

from labellerr.client import LabellerrClient
from labellerr.exceptions import LabellerrErrorInitialize the client with your API credentialsapi_key = “your-api-key”
api_secret = “your-api-secret”
client_id = “your-client-id
project_id = ‘your-project-id’choose scope from SCOPE_LIST=[‘project’,‘client’,‘public’]scope = ‘client’
email = “your-email-id”client = LabellerrClient(api_key, api_secret)
Replace 'your_api_key', 'your-email-id', 'client_id', 'project_id' and 'your-api-secret' with your actual credentials provided by Labellerr.