Skip to main content

Sinkove SDK

PyPI version

The Sinkove SDK is a Python library designed to facilitate interaction with Sinkove's AI dataset generation API. This library allows seamless integration with Sinkove's services, enabling organizations to create, manage, and download datasets programmatically.

Features

  • Create and manage datasets
  • Download datasets with customizable strategies
  • Monitor dataset generation status

Getting Started

Installation

You can install the SDK via pip:

pip install sinkove-sdk

Usage

To use the SDK, you need to set your API key and API URL in the environment variables. Here's a basic example of how to create and download a dataset:

import uuid
from sinkove import Client

def main():
    organization_id = uuid.UUID("your-organization-id")
    model_id = uuid.UUID("your-model-id")

    dataset = Client(organization_id).datasets.create(
        model_id, num_samples=2, args={"prompt": "cardiomegaly"}
    )

    dataset.download("dataset.zip", strategy="skip", wait=True)

if __name__ == "__main__":
    main()

API Documentation

For complete API details, visit the API documentation.

Official Documentation

Find more detailed documentation about the Sinkove services at Sinkove Docs.

Sinkove Console

Access your Sinkove dashboard at the Sinkove Console.

Contributing

Contributions are welcome! Please read the contribution guidelines first. You can start by running the project locally using:

just build
just test

Metadata

Release files for sinkove-sdk 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sinkove-sdk 0.1.2
File Size Uploaded
sinkove_sdk-0.1.2.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sinkove-sdk 0.1.2
File Interpreter ABI Platform
sinkove_sdk-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.3 kB

Release files / sinkove_sdk-0.1.2.tar.gz

Download URL sinkove_sdk-0.1.2.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
19dea485f6fd407b3d649ae7f71b7c3945139136bee513af577baa495a6deb34
BLAKE2b-256 checksum
How to use checksums
6f5524bfe9d452627bcdd2a1f754d1ae1cec801414c99f6d7ce217c8b6107bba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release files / sinkove_sdk-0.1.2-py3-none-any.whl

Download URL sinkove_sdk-0.1.2-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5371059a35f5c62cb84f8363f4ada0885f90d5b1eeec529475403f6b865af6a8
BLAKE2b-256 checksum
How to use checksums
1f643856d7e72be9ea4c5e2d71019b9bbaaed8690d4054ed863c73394461d0c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page