# 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](https://jigsawstack.com/docs) or [Website](https://jigsawstack.com).
## 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](https://docs.jigsawstack.com/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](https://jigsawstack.com/dashboard)
Then, initialize the SDK:
```py
from jigsawstack import JigsawStack
jigsaw = JigsawStack(api_key="your-api-key")
```
## Usage
AI Scraping Example:
```py
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:
```py
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:
```py
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](https://discord.gg/dj8fMBpnqd) to connect with other developers, share ideas, and get help with the SDK.
## Related Projects
- [Docs](https://jigsawstack.com/docs)
- [Javascript SDK](https://github.com/JigsawStack/jigsawstack-js)
## 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.
Raw data
{
"_id": null,
"home_page": "https://github.com/jigsawstack/jigsawstack-python",
"name": "jigsawstack",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "AI, AI Tooling",
"author": "JigsawStack",
"author_email": "hello@jigsawstack.com",
"download_url": "https://files.pythonhosted.org/packages/77/30/73acd4cfa26c5bc6aab87df25da51e4eb170eef710701253820625b97255/jigsawstack-0.3.8.tar.gz",
"platform": null,
"description": "# JigsawStack AI SDK\n\nThe JigsawStack AI SDK is a Python library that allows you to interact with powerful AI services to build AI-powered applications.\n\n- \ud83e\udde9 Powerful AI services all in one SDK\n- \u2328\ufe0f Fully typed parameters and responses\n- \ud83d\udce1 Built in Webhook support for long-running tasks\n- \ud83d\udce6 Built in file system for easy file uploads\n- \ud83c\udf43 Lightweight and blazing fast\n\n## Learn more\n\nTo learn more about all available JigsawStack AI services, view the [Documentation](https://jigsawstack.com/docs) or [Website](https://jigsawstack.com).\n\n## All APIs\n\n| Category | APIs |\n| ----------------- | -------------------------------------------------- |\n| **\ud83d\udc49 General** | Translation, Summarization, Sentiment Analysis |\n| **\ud83c\udf10 Web** | AI Web Scraping, AI Web Search |\n| **\ud83c\udfb5 Audio** | Speech to Text |\n| **\ud83d\udc40 Vision** | vOCR, Object Detection |\n| **\ud83d\uddbc\ufe0f Generative** | AI Image (Flux, SD, SDXL-Fast & more), HTML to Any |\n| **\u2705 Validation** | Email, NSFW images, profanity & more |\n\nLearn more of about each category in the [API reference](https://docs.jigsawstack.com/api-reference)\n\n## Installation\n\nTo install JigsawStack Python SDK, simply execute the following command in a terminal:\n\n```\npip install jigsawstack\n```\n\n## Setup\n\nFirst, get your API key from the [JigsawStack Dashboard](https://jigsawstack.com/dashboard)\n\nThen, initialize the SDK:\n\n```py\nfrom jigsawstack import JigsawStack\n\njigsaw = JigsawStack(api_key=\"your-api-key\")\n```\n\n## Usage\n\nAI Scraping Example:\n\n```py\nparams = {\n \"url\": \"https://www.amazon.com/Cadbury-Mini-Caramel-Eggs-Bulk/dp/B0CWM99G5W\",\n \"element_prompts\": [\"prices\"]\n}\nresult = jigsaw.web.ai_scrape(params)\n```\n\nSpeech To Text Example:\n\n```py\nparams = { \"url\": \"https://rogilvkqloanxtvjfrkm.supabase.co/storage/v1/object/public/demo/Video%201737458382653833217.mp4?t=2024-03-22T09%3A50%3A49.894Z\"}\nresult = jigsaw.audio.speech_to_text(params)\n```\n\nVOCR:\n\n```py\nparams = {\n \"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\"\n}\nresult = jigsaw.vision.vocr(params)\n```\n\n## Community\n\nJoin JigsawStack community on [Discord](https://discord.gg/dj8fMBpnqd) to connect with other developers, share ideas, and get help with the SDK.\n\n## Related Projects\n\n- [Docs](https://jigsawstack.com/docs)\n- [Javascript SDK](https://github.com/JigsawStack/jigsawstack-js)\n\n## Contributing\n\nJigsawStack 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.\n",
"bugtrack_url": null,
"license": null,
"summary": "JigsawStack - The AI SDK for Python",
"version": "0.3.8",
"project_urls": {
"Homepage": "https://github.com/jigsawstack/jigsawstack-python"
},
"split_keywords": [
"ai",
" ai tooling"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "b75c29e7e84d2c146351239e0f11a6d1d78b961513f3748ae191b7f7951798b2",
"md5": "afa82a5e6aeb9d22b41a775881e95a23",
"sha256": "993ccb9db9713def0ec2da0fdacea602c89daf3a4410297293fe2985a0840699"
},
"downloads": -1,
"filename": "jigsawstack-0.3.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "afa82a5e6aeb9d22b41a775881e95a23",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 30761,
"upload_time": "2025-10-10T01:28:13",
"upload_time_iso_8601": "2025-10-10T01:28:13.713765Z",
"url": "https://files.pythonhosted.org/packages/b7/5c/29e7e84d2c146351239e0f11a6d1d78b961513f3748ae191b7f7951798b2/jigsawstack-0.3.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "773073acd4cfa26c5bc6aab87df25da51e4eb170eef710701253820625b97255",
"md5": "add6ef787bddda1dbc7aca0a94b93d89",
"sha256": "169ea2f9e7b6cf349e50a5b6ea213c18cfd9a443c237dfb441abfdedc4e24820"
},
"downloads": -1,
"filename": "jigsawstack-0.3.8.tar.gz",
"has_sig": false,
"md5_digest": "add6ef787bddda1dbc7aca0a94b93d89",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 37339,
"upload_time": "2025-10-10T01:28:15",
"upload_time_iso_8601": "2025-10-10T01:28:15.106765Z",
"url": "https://files.pythonhosted.org/packages/77/30/73acd4cfa26c5bc6aab87df25da51e4eb170eef710701253820625b97255/jigsawstack-0.3.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-10 01:28:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jigsawstack",
"github_project": "jigsawstack-python",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "requests",
"specs": [
[
">=",
"2.31.0"
]
]
},
{
"name": "typing_extensions",
"specs": []
},
{
"name": "aiohttp",
"specs": [
[
">=",
"3.12.15"
]
]
}
],
"lcname": "jigsawstack"
}