Python SDK for Stitch Connect API.
Project description
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.
Source Distribution
pystitchconnect-0.0.3.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for pystitchconnect-0.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a14f53f7d2f2b1b419bb84e9f89ecf576f57159f1bdebd3b869f275c1eb82e4 |
|
MD5 | 3bb91bbf64488cabd353b1fe0a0d3d07 |
|
BLAKE2b-256 | f4896b1beaac3ed17acede75d926dbdc55e1601f156617773a7036ca8924d582 |