Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jigsawstack-0.4.5.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jigsawstack-0.4.5-py3-none-any.whl (31.2 kB view details)

Uploaded Python 3

File details

Details for the file jigsawstack-0.4.5.tar.gz.

File metadata

  • Download URL: jigsawstack-0.4.5.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jigsawstack-0.4.5.tar.gz
Algorithm Hash digest
SHA256 701bd0b1786aa9008699607762fd1b7835096a7c90419a666dd5fd3064047343
MD5 e3a9c34bd6349bc628bc07ef352dbfaf
BLAKE2b-256 71d83f90019a12ede4674a0ab1a033d713dd6d786445dd72ef3a62c95b910370

See more details on using hashes here.

Provenance

The following attestation bundles were made for jigsawstack-0.4.5.tar.gz:

Publisher: publish.yml on JigsawStack/jigsawstack-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jigsawstack-0.4.5-py3-none-any.whl.

File metadata

  • Download URL: jigsawstack-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 31.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jigsawstack-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 014b029d132c7a36f2c26630fe424faf6880ca2a62c6d367bf72de8cf68d3e95
MD5 675ca3260dc1710281f7ab0280f8c7db
BLAKE2b-256 76f19ccd04f280ba7fc76d951b84e4eb74800b5d217e852d30d2319db56c8197

See more details on using hashes here.

Provenance

The following attestation bundles were made for jigsawstack-0.4.5-py3-none-any.whl:

Publisher: publish.yml on JigsawStack/jigsawstack-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page