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.5.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for pystitchconnect-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e7d2eb6316ac460a8c9555f38f672b82eb04a456673b2a58d429fec6bafab85 |
|
MD5 | 5ed50762091690875455dfff3652c033 |
|
BLAKE2b-256 | 5b3f3e75138debdcebf385ab8a3deb0c4f82454a0d0986cd674f92a900144857 |