Skip to main content

Python SDK for Stitch Connect API.

Project description

License: MIT Build Status Python Versions

pystitch

a Python SDK for the Stitch Connect API

Installation

pip install pystitchconnect

Example Usage

import os
from pystitch import PyStitch

STITCH_API_TOKEN = os.environ["STITCH_API_TOKEN"]

# Instantiate a PyStitch client using your API token.
client = PyStitch(token=STITCH_API_TOKEN)

# List all available Source objects.
sources = client.list_sources()

# Trigger a replication job for a specific Source.
response = client.start_replication_job(source_id=12345)
assert(response.ok)

Project details


Download files

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

Files for pystitchconnect, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size pystitchconnect-0.0.5-py3-none-any.whl (3.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pystitchconnect-0.0.5.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page