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 details)
Built Distribution
File details
Details for the file pystitchconnect-0.0.5.tar.gz
.
File metadata
- Download URL: pystitchconnect-0.0.5.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51cc9ecceaca0c4003818c368b20b4b59b60aea6b06d4104a6d4ec683b093cef |
|
MD5 | 5c6dc19236390c47ae3ea2f8ef013ebe |
|
BLAKE2b-256 | eabe33225cd9910d5dbdcda8ea09f7aca5b642b6f5d9bab2d9cca63c427b540b |
File details
Details for the file pystitchconnect-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: pystitchconnect-0.0.5-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e7d2eb6316ac460a8c9555f38f672b82eb04a456673b2a58d429fec6bafab85 |
|
MD5 | 5ed50762091690875455dfff3652c033 |
|
BLAKE2b-256 | 5b3f3e75138debdcebf385ab8a3deb0c4f82454a0d0986cd674f92a900144857 |