This release is a pre-release and may not be stable for production use.
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.ymlfile - Update variable configurations in your
dbt_project.ymlfile - Update model/test configurations in your
dbt_project.ymlfile (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
Metadata
Release files for fivetran-autogen 0.0.1rc9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fivetran_autogen-0.0.1rc9.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fivetran_autogen-0.0.1rc9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.8 kB
Release files / fivetran_autogen-0.0.1rc9.tar.gz
| Download URL | fivetran_autogen-0.0.1rc9.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
788914a504d3d8a7fb7a7e89465978e28e3df0fe4b84ca3c12b99f384d0e1077
|
|
BLAKE2b-256 checksum How to use checksums |
96366a1591118e727c5816e44ec99bb9215b8ef25a35a22f11bb00fdc3057398
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / fivetran_autogen-0.0.1rc9-py3-none-any.whl
| Download URL | fivetran_autogen-0.0.1rc9-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
962ed51f7c8b352e5036195199001e942671b2a25f009dd36741b78a71319ab9
|
|
BLAKE2b-256 checksum How to use checksums |
916c1dbfc221166a80725d1c5d40ec8d5a8b76b11a78621d8b317a942d24892e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|