Skip to main content

sourceplus-sdk

Search, curate, and enrich collections for AI training.

Source.Plus is a platform that enables users to search, curate, and enrich collections for AI training. This SDK provides a Python interface to the Source.Plus API. At this time, this SDK only allows the downloading of image files exported from Source.Plus.

Before You Begin

First, you’ll need your Download Key from Source.Plus. To get your Download Key, go to the settings page in Source.Plus. Create a key if you don’t already have one. This key is used to authenticate your requests to the Source.Plus API.

Set this key as an environment variable in your shell. You can do this by adding the following line to your shell profile (e.g. ~/.bashrc, ~/.zshrc, etc.):

export SOURCEPLUS_DOWNLOAD_KEY="your-download-key"

If you prefer to not make this change, then you can also provide your API Key during the download process.

Installation

First, you need to have pip installed on your system. If you don’t have pip installed, you can install it by following the instructions here.

Next, you’ll need to install the Source.Plus SDK. You can do this using pip:

pip install sourceplus-sdk

Usage

Once you have installed the SDK, you can use it download images from a parquet file:

sourceplus download_images -f /path/to/export.parquet -o /path/to/output/directory

This will download all the image URLs from the parquet file to the output directory. If you have not set the API Key environment variable, the SDK will prompt you to enter your API Key.

Advanced Options

There are several options you can tune to adjust the behavior of the download process. You can see all the options by running:

sourceplus download_images --help

This will show you all the available options and their descriptions.

Metadata

Release files for sourceplus-sdk 0.0.3

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

Source distribution (sdist)

Source distribution for sourceplus-sdk 0.0.3
File Size Uploaded
sourceplus_sdk-0.0.3.tar.gz 19.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sourceplus-sdk 0.0.3
File Interpreter ABI Platform
sourceplus_sdk-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 27.5 kB

Release files / sourceplus_sdk-0.0.3.tar.gz

Download URL sourceplus_sdk-0.0.3.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
37301910ad21589474bcb099653e482a1b5a0f459f13362d4576bd0f1d151698
BLAKE2b-256 checksum
How to use checksums
c8440c0d39a1f66fef7526af51a8c44b33568d4b851ba0db859068341647ec0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.1

Release files / sourceplus_sdk-0.0.3-py3-none-any.whl

Download URL sourceplus_sdk-0.0.3-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16a48b2cc5ffac91925c162e67a110054983a1f80047c387b72a747d31e690f7
BLAKE2b-256 checksum
How to use checksums
7abcab642c15a2f6268acb10d64e4c4264f42e7d8be949e8a31626ad6e76c813
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.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