No project description provided
Project description
Fivetran Package Config Auto-Generator
# TODO: Find snappier name
The Fivetran Packge Auto-Generator can be used to update your dbt project with the required configuration for Fivetran-created dbt packages.
It will:
- Update your
packages.yml
file - Update variable configurations in your
dbt_project.yml
file - Update model/test configurations in your
dbt_project.yml
file (if necessary)
Installation
Install the auto-generator using pip:
pip3 install fivetran-autogen==0.0.1rc8
Usage
Generating API credentials
The auto-generator uses the Fivetran API to fetch which packages you can install. Follow these instructions to generate your API credentials. These will be required for the next step.
Running the auto-generator
To user the auto-generator, run the following command from the root of your dbt project, i.e. the folder that has your dbt_project.yml
file:
fivetran_autogen
You will then get prompted to:
- Input your API credentials
- Select which package you want to install
- Answer any package specific questions, i.e. what project/dataset the source data is located in
The auto-generator will query your database to collect information as well, using the profile associated with the dbt project.
Test the configuration
Once complete, you should see updated changes to your packages.yml
and dbt_project.yml
files.
To test out the configuration, run the following commands:
dbt deps
dbt run
Project details
Release history Release notifications | RSS feed
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 fivetran_autogen-0.0.1rc9.tar.gz
.
File metadata
- Download URL: fivetran_autogen-0.0.1rc9.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 788914a504d3d8a7fb7a7e89465978e28e3df0fe4b84ca3c12b99f384d0e1077 |
|
MD5 | 9f07b600be864cfdf3aa8d4d6aa8f083 |
|
BLAKE2b-256 | 96366a1591118e727c5816e44ec99bb9215b8ef25a35a22f11bb00fdc3057398 |
File details
Details for the file fivetran_autogen-0.0.1rc9-py3-none-any.whl
.
File metadata
- Download URL: fivetran_autogen-0.0.1rc9-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 962ed51f7c8b352e5036195199001e942671b2a25f009dd36741b78a71319ab9 |
|
MD5 | f3403f166536797201962a9a432bffb3 |
|
BLAKE2b-256 | 916c1dbfc221166a80725d1c5d40ec8d5a8b76b11a78621d8b317a942d24892e |