Skip to main content
The Sinkove Python SDK provides a simple, powerful interface for generating AI datasets programmatically. This guide covers everything you need to know to get started.

Installation

Install and configure the SDK

Quick Start

Create your first dataset in 5 minutes

Examples

Practical code examples and patterns

API Reference

Complete method and class documentation

Prerequisites

Before using the SDK, ensure you have:
  • Python 3.12+ installed
  • API Key from the Sinkove dashboard
  • Organization ID (UUID format) from the Sinkove dashboard
API keys and Organization IDs are covered in the Get Started section.

Installation

Authentication

The SDK requires an API key for authentication:
Never hardcode API keys in your source code. Use environment variables or secure configuration management.

Basic Usage

Core Concepts

Client

The Client class is your main entry point to the SDK:

Datasets

Datasets are the core resource in Sinkove. They go through several states during processing:

Dataset Operations

Creating Datasets

Listing and Retrieving Datasets

Downloading Datasets

The SDK provides flexible download options:

Monitoring Progress

Error Handling

Always implement proper error handling for production use:

Advanced Features

Custom API Endpoint

Multiple Organizations

Best Practices

  • Security: Use environment variables for API keys
  • Error Handling: Implement timeouts and proper exception handling
  • Performance: Use parallel operations for multiple datasets
  • Resource Management: Clean up downloaded files and monitor disk space

Common Issues

Next Steps

Installation Guide

Detailed installation and setup instructions

Quick Start Tutorial

Step-by-step guide to your first dataset

Code Examples

Advanced patterns and real-world use cases

Full API Reference

Complete method and class documentation