Skip to main content

Stitch-API-python

Python wrapper for Stitch Data API

Installation

pip install python-stitch-data==0.1.7

Getting started

  • Create secrets file
cp  .env.example .env
  • Fill in secrets (or use environment variables)

STITCH_API_KEY

stitch app > account settings. Used for public API calls

STITCH_CLIENT_ID

stitch app > account settings. Used for public API calls

STITCH_AUTH_USER

Used for internal api calls

STITCH_AUTH_PASSWORD

Used for internal api calls

STITCH_BLACKILST_SOURCES

To mitigate the risk of resetting a large table it can be desirable to add sources/streams to explicit blacklist

Usage

import stitch_api

stitch = stitch_api.StitchAPI(STITCH_API_KEY,
                              STITCH_CLIENT_ID,
                              STITCH_AUTH_USER,
                              STITCH_AUTH_PASSWORD,
                              STITCH_BLACKLIST_SOURCES)

sources = stitch.list_sources()

CLI

stitchapi pause-source --source <SOURCE_NAME>

Metadata

Release files for python-stitch-data 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-stitch-data 0.1.7
File Size Uploaded Provenance Actions
python-stitch-data-0.1.7.tar.gz 7.4 kB Without provenance Details for python-stitch-data-0.1.7.tar.gz

Release files / python-stitch-data-0.1.7.tar.gz

Download URL python-stitch-data-0.1.7.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e521019e606a261e837427277adafc77366db1de7bd865f9208d51abc8c93892
BLAKE2b-256 checksum
How to use checksums
e466155bfad7ac16764706918005b6d4a3f84db3a592fd66ec958861df2f069c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

Security for python-stitch-data 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page