dbt-db2fori-1.4.1
توضیحات
dbt adapter for IBM db2 for i
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dbt-db2fori-1.4.1 |
| نام | dbt-db2fori |
| نسخه کتابخانه | 1.4.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Seth O |
| ایمیل نویسنده | sdowusu@gmail.com |
| آدرس صفحه اصلی | https://github.com/kaysef/dbt-db2fori |
| آدرس اینترنتی | https://pypi.org/project/dbt-db2fori/ |
| مجوز | MIT |
# dbt-db2fori
A [dbt](https://www.getdbt.com/) adapter for IBM's DB2 for i v7.2+. The connection to the warehouse is through `ODBC` and requires that `pyodbc` is installed. All credits to [dbt-sqlserver adapter](https://github.com/dbt-msft/dbt-sqlserver) and [dbt-ibmdb2](https://github.com/aurany/dbt-ibmdb2) projects that heavily inspired this adapter.
## Why this adapter?
A similar adapter [dbt-ibmdb2](https://github.com/aurany/dbt-ibmdb2) exists, however, [dbt-ibmdb2](https://github.com/aurany/dbt-ibmdb2) uses the `ibm_db` Python package to connect to IBM DB2. This adapter connects to the warehouse using `pyodbc`
## Features
The following materializations are supported:
- Incremental
- Snapshot
- View
- Table
Ephemeral models have not been tested yet.
## Installation
Use pip to install:
```bash
pip install dbt-db2fori
```
An example `profiles.yml` is:
```bash
default:
outputs:
dev:
type: db2_for_i
threads: 4
driver: IBM i Access ODBC Driver
system: system
username: username
password: password
database: db
schema: schema
target: dev
```
To report a bug or request a feature, open an [issue](https://github.com/kaysef/dbt-db2fori/issues/new)
نیازمندی
| مقدار | نام |
|---|---|
| >=4.0.35,<5.0.0 | pyodbc |
| >=1.3.2,<2.0.0 | dbt-core |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl dbt-db2fori-1.4.1:
pip install dbt-db2fori-1.4.1.whl
نصب پکیج tar.gz dbt-db2fori-1.4.1:
pip install dbt-db2fori-1.4.1.tar.gz