Search, curate, and enrich collections for AI training.
Project description
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.
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
File details
Details for the file sourceplus_sdk-0.0.3.tar.gz
.
File metadata
- Download URL: sourceplus_sdk-0.0.3.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37301910ad21589474bcb099653e482a1b5a0f459f13362d4576bd0f1d151698 |
|
MD5 | 4521411a954ec1dc1acbc9fbe3c6499a |
|
BLAKE2b-256 | c8440c0d39a1f66fef7526af51a8c44b33568d4b851ba0db859068341647ec0f |
File details
Details for the file sourceplus_sdk-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: sourceplus_sdk-0.0.3-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16a48b2cc5ffac91925c162e67a110054983a1f80047c387b72a747d31e690f7 |
|
MD5 | 56f8a001f9bf1135646a388f69ff2336 |
|
BLAKE2b-256 | 7abcab642c15a2f6268acb10d64e4c4264f42e7d8be949e8a31626ad6e76c813 |