dbt-adapters-1.9.0
1.9.0
1.8.0
1.7.2
1.7.0
1.6.1
1.6.0
1.5.0
1.4.1
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.23.0
1.22.9
1.22.8
1.22.7
1.22.6
1.22.5
1.22.4
1.22.3
1.22.2
1.22.10
1.22.1
1.22.0
1.21.0
1.20.1
1.20.0
1.2.1
1.19.0
1.18.0
1.17.3
1.17.2
1.17.1
1.17.0
1.16.7
1.16.6
1.16.5
1.16.4
1.16.3
1.16.2
1.16.1
1.16.0
1.15.3
1.15.2
1.15.1
1.15
1.14.8
1.14.7
1.14.6
1.14.5
1.14.4
1.14.3
1.14.1
1.14.0
1.13.2
1.13.1
1.13.0
1.12.0
1.11.0
1.10.4
1.10.3
1.10.2
1.10.1
1.10.0
1.1.1
1.1.0rc2
1.1.0rc1
1.1.0
1.0.8b3
1.0.0b2
1.0.0b1
1.0.0
0.1.0a6
0.1.0a5
0.1.0a4
0.1.0a3
0.1.0a2
0.1.0a1
1.9.0
1.8.0
1.7.2
1.7.0
1.6.1
1.6.0
1.5.0
1.4.1
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.23.0
1.22.9
1.22.8
1.22.7
1.22.6
1.22.5
1.22.4
1.22.3
1.22.2
1.22.10
1.22.1
1.22.0
1.21.0
1.20.1
1.20.0
1.2.1
1.19.0
1.18.0
1.17.3
1.17.2
1.17.1
1.17.0
1.16.7
1.16.6
1.16.5
1.16.4
1.16.3
1.16.2
1.16.1
1.16.0
1.15.3
1.15.2
1.15.1
1.15
1.14.8
1.14.7
1.14.6
1.14.5
1.14.4
1.14.3
1.14.1
1.14.0
1.13.2
1.13.1
1.13.0
1.12.0
1.11.0
1.10.4
1.10.3
1.10.2
1.10.1
1.10.0
1.1.1
1.1.0rc2
1.1.0rc1
1.1.0
1.0.8b3
1.0.0b2
1.0.0b1
1.0.0
0.1.0a6
0.1.0a5
0.1.0a4
0.1.0a3
0.1.0a2
0.1.0a1
توضیحات
The set of adapter protocols and base functionality that supports integration with dbt-core
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | dbt-adapters-1.9.0 |
| نام | dbt-adapters |
| نسخه کتابخانه | 1.9.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | ['dbt Labs <info@dbtlabs.com>'] |
| نویسنده | - |
| ایمیل نویسنده | dbt Labs <info@dbtlabs.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/dbt-adapters/ |
| مجوز | - |
<p align="center">
<img
src="https://raw.githubusercontent.com/dbt-labs/dbt/ec7dee39f793aa4f7dd3dae37282cc87664813e4/etc/dbt-logo-full.svg"
alt="dbt logo"
width="500"
/>
</p>
<p align="center">
<a href="https://pypi.org/project/dbt-adapters/">
<img src="https://badge.fury.io/py/dbt-adapters.svg" />
</a>
<a target="_blank" href="https://pypi.org/project/dbt-adapters/" style="background:none">
<img src="https://img.shields.io/pypi/pyversions/dbt-adapters">
</a>
<a href="https://github.com/psf/black">
<img src="https://img.shields.io/badge/code%20style-black-000000.svg" />
</a>
<a href="https://github.com/python/mypy">
<img src="https://www.mypy-lang.org/static/mypy_badge.svg" />
</a>
<a href="https://pepy.tech/project/dbt-athena">
<img src="https://static.pepy.tech/badge/dbt-adapters/month" />
</a>
</p>
# Adapters
There are two major adapter types: [base](/dbt-adapters/src/dbt/adapters/base/impl.py) and [sql](/dbt-adapters/src/dbt/adapters/sql/impl.py).
## `base`
`BaseAdapter` defines the base functionality an adapter is required to implement in order to function with `dbt-core`.
There are several methods which have default implementations as well as methods that require the concrete adapter to implement them.
## `sql`
`SQLAdapter` inherits from `BaseAdapter`, updates default implementations to work with SQL-based platforms,
and defines additional required methods to support those defaults.
# Components
An adapter is composed of several components.
- connections
- dialect
- relation caching
- integration with `dbt-core`
The first two are platform-specific and require significant implementation in a concrete adapter.
The last two are largely implemented in `dbt-adapters` with minor adjustments in a concrete adapter.
## Connections
This component is responsible for creating and managing connections to storage and compute.
#### Files
- `dbt/adapters/{base|sql}/connections.py`
## Dialect
This component is responsible for translating a request from `dbt-core` into a specific set of actions on the platform.
#### Files
- `dbt/adapters/base/column.py`
- `dbt/adapters/base/query_headers.py`
- `dbt/adapters/base/relation.py`
- `dbt/adapters/relation_configs/*`
- `dbt/adapters/clients/jinja.py`
- `dbt/include/global_project/*`
## Relation caching
This component is responsible for managing a local cache of relations, relation metadata, and dependencies between relations.
#### Files
- `dbt/adapters/cache.py`
## Integration with `dbt-core`
This component is responsible for managing the interface between `dbt-core` and a concrete adapter.
#### Files
- `dbt/adapters/{base|sql}/impl.py`
- `dbt/adapters/base/meta.py`
- `dbt/adapters/base/plugin.py`
- `dbt/adapters/capability.py`
- `dbt/adapters/factory.py`
- `dbt/adapters/protocol.py`
- `dbt/adapters/contracts/*`
- `dbt/adapters/events/*`
- `dbt/adapters/exceptions/*`
نیازمندی
| مقدار | نام |
|---|---|
| - | agate<2.0,>=1.0 |
| - | dbt-common<2.0,>=1.36 |
| - | dbt-protos<2.0,>=1.0.291 |
| - | mashumaro[msgpack]<3.18,>=3.9 |
| - | protobuf<7.0,>=6.0 |
| - | pytz>=2015.7 |
| - | typing-extensions<5.0,>=4.0 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10.0 | Python |
نحوه نصب
نصب پکیج whl dbt-adapters-1.9.0:
pip install dbt-adapters-1.9.0.whl
نصب پکیج tar.gz dbt-adapters-1.9.0:
pip install dbt-adapters-1.9.0.tar.gz