JigsawStack - The AI SDK for Python
Maintained. Last release 5 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity.
pip install jigsawstackJigsawStack 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)