fivetran-autogen-0.0.1rc9
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fivetran-autogen-0.0.1rc9 |
| نام | fivetran-autogen |
| نسخه کتابخانه | 0.0.1rc9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Fivetran |
| ایمیل نویسنده | hello@fivetran.com |
| آدرس صفحه اصلی | https://github.com/fivetran/dbt_autogen |
| آدرس اینترنتی | https://pypi.org/project/fivetran-autogen/ |
| مجوز | - |
# Fivetran Package Config Auto-Generator
[](https://circleci.com/gh/fivetran/dbt_autogen/tree/main) [](https://pypi.org/project/fivetran-autogen/)
```python
# 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:
```bash
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](https://fivetran.com/docs/rest-api/getting-started) 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:
```bash
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:
```bash
dbt deps
dbt run
```
نیازمندی
| مقدار | نام |
|---|---|
| ==8.0.3 | click |
| ==2.32.0 | google-cloud-bigquery |
| ==2.11.0 | google-cloud-bigquery-storage |
| ==4.4.0 | jsonschema |
| ==2.9.3 | psycopg2 |
| ==6.0.1 | pyarrow |
| ==6.0 | PyYAML |
| ==2.27.1 | requests |
| ==0.17.20 | ruamel.yaml |
| ==1.3.3 | snowflake-sqlalchemy |
| ==1.4.25 | SQLAlchemy |
| ==1.3.0 | sqlalchemy-bigquery |
نحوه نصب
نصب پکیج whl fivetran-autogen-0.0.1rc9:
pip install fivetran-autogen-0.0.1rc9.whl
نصب پکیج tar.gz fivetran-autogen-0.0.1rc9:
pip install fivetran-autogen-0.0.1rc9.tar.gz