A Python SDK for interacting with Sinkove's AI dataset generation API.
Project description
Sinkove SDK
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sinkove_sdk-0.1.2.tar.gz.
File metadata
- Download URL: sinkove_sdk-0.1.2.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19dea485f6fd407b3d649ae7f71b7c3945139136bee513af577baa495a6deb34
|
|
| MD5 |
5b4f5fac8d6909cbded1313a7112caf1
|
|
| BLAKE2b-256 |
6f5524bfe9d452627bcdd2a1f754d1ae1cec801414c99f6d7ce217c8b6107bba
|
File details
Details for the file sinkove_sdk-0.1.2-py3-none-any.whl.
File metadata
- Download URL: sinkove_sdk-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5371059a35f5c62cb84f8363f4ada0885f90d5b1eeec529475403f6b865af6a8
|
|
| MD5 |
2f368967344c172cfa18cfbcbfa5a8a7
|
|
| BLAKE2b-256 |
1f643856d7e72be9ea4c5e2d71019b9bbaaed8690d4054ed863c73394461d0c5
|