Skip to main content

This package is a thin wrapper around the crunchable.io API

Example usage:

>>> from crunchable import Crunchable
>>> client = Crunchable(YOUR_API_KEY)
>>> request = client.request_multiple_choice(instruction="Is this image safe for kids?", choices=["Safe", "Not Safe!"], attachments_type="image", attachments=['http://i.dailymail.co.uk/i/pix/2015/09/30/20/2CD2A9C700000578-3255251-Tom_and_Jerry_take_note_this_is_how_a_cat_and_mouse_can_get_on_a-a-87_1443640290328.jpg'], min_choices=1, max_choices=1)
>>> response = client.wait_for_task(request['id'])
>>> print response['response']

For more information, refer to the Crunchable.IO API docs

Release files for crunchable 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 crunchable 0.3
File Size Uploaded
crunchable-0.3.tar.gz 2.6 kB Details

Release files / crunchable-0.3.tar.gz

Download URL crunchable-0.3.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8b43e786e717413da269df5d9a0289da82e19b783c7af1fabd190a88580c8c44
BLAKE2b-256 checksum
How to use checksums
3a112f8187e82697ae7147eb6a2b959a120792967ab0e2c3862547b097261266
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3 This release

1 release file

0.2

1 release file

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