Build custom connectors on Fivetran platform
Actively maintained. Last release 12 days ago, commits in 20 of the last 26 weeks. A safe choice.
pip install fivetran-connector-sdkfivetran-connector-sdk
The fivetran-connector-sdk allows users to execute custom, self-written Python code within Fivetran's secure cloud environment. Fivetran automatically manages running the connectors on your scheduled frequency and manages the required compute resources.
The Connector SDK service is the best fit for the following use cases:
- Fivetran doesn't have a connector for your source and is unlikely to support it soon.
- You are using private APIs, custom applications, unsupported file formats, or those that require pre-processing.
- You have sensitive data that needs filtering or anonymizing before entering the destination.
- You don't want to introduce a 3rd party into your pipeline (e.g., to host a custom function).
To learn more, see our Connector SDK documentation
Install
pip install fivetran-connector-sdk
Requirements
- Python version ≥3.11 and ≤3.15
- Operating system:
- Windows: 10 or later (64-bit only)
- macOS: 13 (Ventura) or later (Apple Silicon [arm64] or Intel [x86_64])
- Linux: Distributions such as Ubuntu 20.04 or later, Debian 10 or later, or Amazon Linux 2 or later (arm64 or x86_64)
Getting started
See Quickstart guide to get started.
Usage
Import required classes from fivetran_connector_sdk to begin writing your custom data connector
from fivetran_connector_sdk import Connector
from fivetran_connector_sdk import Logging as log
from fivetran_connector_sdk import Operations as op
See our Technical Reference and Connector Development Concepts documentation for more details.
You can also refer to our to better understand Fivetran's Connector SDK and start creating custom data connectors.