Skip to main content

JigsawStack Python SDK

Project description

JigsawStack Python SDK

The JigsawStack Python SDK 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

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 Text to Speech, Speech to Text (Whisper large v3)
👀 Vision vOCR, Object Detection
🧠 LLMs Prompt Engine
🖼️ Generative AI Image (SD, SDXL-Fast & more), HTML to Any
🌍 Geo Location search, Timezone, IP Geolocation & more
✅ Validation Email, NSFW images, profanity & more
📁 Store Simple File Storage, KV Encryption store

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.

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.1.19.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

jigsawstack-0.1.19-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jigsawstack-0.1.19.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for jigsawstack-0.1.19.tar.gz
Algorithm Hash digest
SHA256 4fa60e3c51dbc84850f18b9c90a396e0019f7b9c242643b730271ddf8e3498af
MD5 983a9c1cd85b780906cd3e9ffa467166
BLAKE2b-256 f00f894a3b75cb54c08b6569593eaa8297b44b8448c2e83990b5e974ed9819b7

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on JigsawStack/jigsawstack-python

Attestations:

File details

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

File metadata

  • Download URL: jigsawstack-0.1.19-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for jigsawstack-0.1.19-py3-none-any.whl
Algorithm Hash digest
SHA256 2e74b48670b4f6d30e5182d00226d1a58a42141cae154d6801ed42e9864f0df5
MD5 3ef946db3b15f0764b8368e452528e61
BLAKE2b-256 86b36f929eac810711dc4170523482aad5e16aea95f1004adcbedca6592e58ad

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on JigsawStack/jigsawstack-python

Attestations:

Supported by

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