JigsawStack - The AI SDK for Python
Project description
JigsawStack AI SDK
The JigsawStack AI SDK is a Python library that allows you to interact with powerful AI services to build AI-powered applications.
- 🧩 Powerful AI services all in one SDK
- ⌨️ Fully typed parameters and responses
- 📡 Built in Webhook support for long-running tasks
- 📦 Built in file system for easy file uploads
- 🍃 Lightweight and blazing fast
Learn more
To learn more about all available JigsawStack AI services, view the Documentation or Website.
All APIs
| Category | APIs |
|---|---|
| 👉 General | Translation, Summarization, Sentiment Analysis |
| 🌐 Web | AI Web Scraping, AI Web Search |
| 🎵 Audio | Speech to Text |
| 👀 Vision | vOCR, Object Detection |
| 🖼️ Generative | AI Image (Flux, SD, SDXL-Fast & more), HTML to Any |
| ✅ Validation | Email, NSFW images, profanity & more |
Learn more of about each category in the API reference
Installation
To install JigsawStack Python SDK, simply execute the following command in a terminal:
pip install jigsawstack
Setup
First, get your API key from the JigsawStack Dashboard
Then, initialize the SDK:
from jigsawstack import JigsawStack
jigsaw = JigsawStack(api_key="your-api-key")
Usage
AI Scraping Example:
params = {
"url": "https://www.amazon.com/Cadbury-Mini-Caramel-Eggs-Bulk/dp/B0CWM99G5W",
"element_prompts": ["prices"]
}
result = jigsaw.web.ai_scrape(params)
Speech To Text Example:
params = { "url": "https://rogilvkqloanxtvjfrkm.supabase.co/storage/v1/object/public/demo/Video%201737458382653833217.mp4?t=2024-03-22T09%3A50%3A49.894Z"}
result = jigsaw.audio.speech_to_text(params)
VOCR:
params = {
"url": "https://images.unsplash.com/photo-1542931287-023b922fa89b?q=80&w=2574&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D?t=2024-03-22T09%3A22%3A48.442Z"
}
result = jigsaw.vision.vocr(params)
Community
Join JigsawStack community on Discord to connect with other developers, share ideas, and get help with the SDK.
Related Projects
Contributing
JigsawStack AI SDK is open-source and welcomes contributions. Please open an issue or submit a pull request with your changes. Make sure to be as descriptive as possible with your submissions, include examples if relevant.
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 jigsawstack-0.4.0.tar.gz.
File metadata
- Download URL: jigsawstack-0.4.0.tar.gz
- Upload date:
- Size: 37.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4232d4eac8b080d48382e8ff99293ed217101cc7f4065f7d702d1dad5d81918
|
|
| MD5 |
6b2811e26dfa8e5efd15d561aa8ce1c3
|
|
| BLAKE2b-256 |
ff4879cd59ba4ca0c70ceb417c70046fb89b2ff5419c1ee1979ff19568d5087e
|
Provenance
The following attestation bundles were made for jigsawstack-0.4.0.tar.gz:
Publisher:
publish.yml on JigsawStack/jigsawstack-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jigsawstack-0.4.0.tar.gz -
Subject digest:
e4232d4eac8b080d48382e8ff99293ed217101cc7f4065f7d702d1dad5d81918 - Sigstore transparency entry: 734813653
- Sigstore integration time:
-
Permalink:
JigsawStack/jigsawstack-python@92f18f1a5a6d4cb5c60f925b7e565aed7caaf9b9 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/JigsawStack
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@92f18f1a5a6d4cb5c60f925b7e565aed7caaf9b9 -
Trigger Event:
release
-
Statement type:
File details
Details for the file jigsawstack-0.4.0-py3-none-any.whl.
File metadata
- Download URL: jigsawstack-0.4.0-py3-none-any.whl
- Upload date:
- Size: 31.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
407244876b446ce1a581e6db48e381b38093e1d899a67087c5510c2a1200403e
|
|
| MD5 |
47ace12f56ff62baf7de0509e06a2af0
|
|
| BLAKE2b-256 |
fa991bf01eced1bb8e2b2f37ab1d2529e309b722f19ad02e96bee9452e7d8313
|
Provenance
The following attestation bundles were made for jigsawstack-0.4.0-py3-none-any.whl:
Publisher:
publish.yml on JigsawStack/jigsawstack-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jigsawstack-0.4.0-py3-none-any.whl -
Subject digest:
407244876b446ce1a581e6db48e381b38093e1d899a67087c5510c2a1200403e - Sigstore transparency entry: 734813692
- Sigstore integration time:
-
Permalink:
JigsawStack/jigsawstack-python@92f18f1a5a6d4cb5c60f925b7e565aed7caaf9b9 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/JigsawStack
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@92f18f1a5a6d4cb5c60f925b7e565aed7caaf9b9 -
Trigger Event:
release
-
Statement type: