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.2.tar.gz
.
File metadata
- Download URL: prefect-stitch-0.1.2.tar.gz
- Upload date:
- Size: 25.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62e65a35a2abfb72d812bb46854d58b5aa5ee73d19efed65786083636c5efcd4 |
|
MD5 | 8058773dc6c2158bd1d07d2a88f4fb06 |
|
BLAKE2b-256 | 1289c4a35d284437095d1c5a3458d1233ed67454a2e479156d0071abce49e45c |
File details
Details for the file prefect_stitch-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: prefect_stitch-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.3 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 | 7b31d0ca9277eeba3f9fd704500a7e60de3b2e6486c8af5f3be2f24ab8142be1 |
|
MD5 | 2d97720f428cf6c7100c6fecb4157be7 |
|
BLAKE2b-256 | 3cc2b509f6f8e28b250f2811e37f09ec4cac65a30a72a326cbacdca73cd00f63 |