Skip to main content

Prefect integrations with Fivetran

Project description

prefect-fivetran

Welcome!

Prefect integrations with Fivetran

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-fivetran with pip:

pip install prefect-fivetran

Write and run a flow

from prefect import flow
from prefect_fivetran import FivetranCredentials
from prefect_fivetran.connectors import fivetran_sync_flow

@flow
def my_flow():
    ...
    fivetran_credentials = FivetranCredentials(
        api_key="my_api_key",
        api_secret="my_api_secret",
    )
    fivetran_result = await fivetran_sync_flow(
        fivetran_credentials=fivetran_credentials,
        connector_id="my_connector_id",
        schedule_type="my_schedule_type",
        poll_status_every_n_seconds=30,
    )
    ...

my_flow()

Resources

If you encounter any bugs while using prefect-fivetran, feel free to open an issue in the prefect-fivetran repository.

If you have any questions or issues while using prefect-fivetran, 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-fivetran for development, clone the repository and perform an editable install with pip:

git clone https://github.com/pubchimps/prefect-fivetran.git

cd prefect-fivetran/

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

prefect-fivetran-0.1.0b0.tar.gz (29.4 kB view details)

Uploaded Source

Built Distribution

prefect_fivetran-0.1.0b0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file prefect-fivetran-0.1.0b0.tar.gz.

File metadata

  • Download URL: prefect-fivetran-0.1.0b0.tar.gz
  • Upload date:
  • Size: 29.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.13

File hashes

Hashes for prefect-fivetran-0.1.0b0.tar.gz
Algorithm Hash digest
SHA256 72e54750d4dcd514245ac1ba5e24899a658ca77130205bafe32c83fa5b2de7fe
MD5 724128b67eb8d4adcdfa0222109dffda
BLAKE2b-256 59c033d106932b191a786f18a9177448f97f7ff7ef9926c7170b47a1b775eabf

See more details on using hashes here.

File details

Details for the file prefect_fivetran-0.1.0b0-py3-none-any.whl.

File metadata

  • Download URL: prefect_fivetran-0.1.0b0-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.13

File hashes

Hashes for prefect_fivetran-0.1.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 581bc82bbb9ac856dd5a447b6d164909c0e9c37aea4930c31aa770a2d3387b9b
MD5 e1dc8f75b3dcf603729e8ffd1397b5ee
BLAKE2b-256 87310c8cfa0e866515e5743c440be4b7e5b1554afd04dcc9d0cff5c92c5a08f5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page