🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

jigsawstack

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jigsawstack

JigsawStack - The AI SDK for Python

0.2.6
PyPI
Maintainers
1

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

CategoryAPIs
👉 GeneralTranslation, Summarization, Sentiment Analysis
🌐 WebAI Web Scraping, AI Web Search
🎵 AudioText to Speech, Speech to Text
👀 VisionvOCR, Object Detection
🧠 LLMsPrompt Engine
🖼️ GenerativeAI Image (Flux, SD, SDXL-Fast & more), HTML to Any
✅ ValidationEmail, 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)

Text To Speech Example:

params = {"text": "Hello, how are you doing?"}
result = jigsaw.audio.text_to_speech(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://rogilvkqloanxtvjfrkm.supabase.co/storage/v1/object/public/demo/Collabo%201080x842.jpg?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.

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.

Keywords

AI

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts