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.4.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for pystitchconnect-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38b291eef2878266eeb3a4b5af743d0d3b5838a423ac770b343444fea0d9da44 |
|
MD5 | 5edc27781088604598c43d6e75e191b7 |
|
BLAKE2b-256 | 9e06ca0f397b276b41b27409bff972e051795164e1c1a5da316cce3b6628bbc3 |