Prefect collection to interact with Stitch
Project description
prefect-stitch
Welcome!
Prefect collection to interact with Stitch
Getting Started
Python setup
Requires an installation of Python 3.7+.
We recommend using a Python virtual environment manager such as pipenv, conda or virtualenv.
These tasks are designed to work with Prefect 2.0. For more information about how to use Prefect, please refer to the Prefect documentation.
Installation
Install prefect-stitch
with pip
:
pip install prefect-stitch
Write and run a flow
from prefect import flow
from prefect_stitch.tasks import (
start_replication_job
)
@flow
def example_flow():
start_replication_job(
access_token="my_secret_token",
source_id=1234
)
example_flow()
Resources
If you encounter any bugs while using prefect-stitch
, feel free to open an issue in the prefect-stitch repository.
If you have any questions or issues while using prefect-stitch
, you can find help in either the Prefect Discourse forum or the Prefect Slack community.
Development
If you'd like to install a version of prefect-stitch
for development, clone the repository and perform an editable install with pip
:
git clone https://github.com/AlessandroLollo/prefect-stitch.git
cd prefect-stitch/
pip install -e ".[dev]"
# Install linting pre-commit hooks
pre-commit install
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
Built Distribution
File details
Details for the file prefect-stitch-0.1.3.tar.gz
.
File metadata
- Download URL: prefect-stitch-0.1.3.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c211795cfc98bc5d16b6b752e5c7157af2d39e0d30abf03c68066d513d105d3b |
|
MD5 | 4e0422092b4996ab68fcbc0ce572780b |
|
BLAKE2b-256 | 92c33c102b010d726fab7e47f6ce8a5c1de6612a7ef8361398b32d74049b43db |
File details
Details for the file prefect_stitch-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: prefect_stitch-0.1.3-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 053704e4d2d9dd833a3f9eb43857eac86070787afd6292b2c71db6d26113ac48 |
|
MD5 | c6325152746129c4970dcb2df9007afd |
|
BLAKE2b-256 | a5adff5e92fab388946ca5ee0cfae25d71ed36f0fd68d590a4b3a19ad7bed3a8 |