<p align="center">
<img src="https://raw.githubusercontent.com/dbt-labs/dbt/ec7dee39f793aa4f7dd3dae37282cc87664813e4/etc/dbt-logo-full.svg" alt="dbt logo" width="500"/>
</p>
# dbt-adapters
This package is responsible for:
- defining database connection methods
- caching information from databases
- determining how relations are defined
In this repo there is also our testing suite used for tesing adapter functionality
# Adapters
There are two major adapter types: base and sql
## `base`
Defines the base implementation Adapters can use to build out full functionality.
## `sql`
Defines a sql implementation for adapters that initially inherits the base implementation
and comes with some pre-made methods and macros that can be overwritten as needed per adapter.
(most common type of adapter.)
# Files
## `cache.py`
Cached information from the database.
## `factory.py`
Defines how we generate adapter objects
## `protocol.py`
Defines various interfaces for various adapter objects. Helps mypy correctly resolve methods.
## `reference_keys.py`
Configures naming scheme for cache elements to be universal.
Raw data
{
"_id": null,
"home_page": null,
"name": "dbt-adapters",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9.0",
"maintainer_email": "dbt Labs <info@dbtlabs.com>",
"keywords": "adapter, adapters, database, dbt, dbt Cloud, dbt Core, dbt Labs, dbt-core, elt",
"author": null,
"author_email": "dbt Labs <info@dbtlabs.com>",
"download_url": "https://files.pythonhosted.org/packages/5c/de/52c8963984fcd36934dd0e7bb542b3e18ac8940a0f8e3662795b4924cc1b/dbt_adapters-1.13.1.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <img src=\"https://raw.githubusercontent.com/dbt-labs/dbt/ec7dee39f793aa4f7dd3dae37282cc87664813e4/etc/dbt-logo-full.svg\" alt=\"dbt logo\" width=\"500\"/>\n</p>\n\n# dbt-adapters\n\nThis package is responsible for:\n\n- defining database connection methods\n- caching information from databases\n- determining how relations are defined\n\nIn this repo there is also our testing suite used for tesing adapter functionality\n\n# Adapters\n\nThere are two major adapter types: base and sql\n\n## `base`\n\nDefines the base implementation Adapters can use to build out full functionality.\n\n## `sql`\n\nDefines a sql implementation for adapters that initially inherits the base implementation\nand comes with some pre-made methods and macros that can be overwritten as needed per adapter.\n(most common type of adapter.)\n\n# Files\n\n## `cache.py`\n\nCached information from the database.\n\n## `factory.py`\n\nDefines how we generate adapter objects\n\n## `protocol.py`\n\nDefines various interfaces for various adapter objects. Helps mypy correctly resolve methods.\n\n## `reference_keys.py`\n\nConfigures naming scheme for cache elements to be universal.\n",
"bugtrack_url": null,
"license": null,
"summary": "The set of adapter protocols and base functionality that supports integration with dbt-core",
"version": "1.13.1",
"project_urls": {
"Changelog": "https://github.com/dbt-labs/dbt-adapters/blob/main/CHANGELOG.md",
"Documentation": "https://docs.getdbt.com",
"Homepage": "https://github.com/dbt-labs/dbt-adapters",
"Issues": "https://github.com/dbt-labs/dbt-adapters/issues",
"Repository": "https://github.com/dbt-labs/dbt-adapters.git"
},
"split_keywords": [
"adapter",
" adapters",
" database",
" dbt",
" dbt cloud",
" dbt core",
" dbt labs",
" dbt-core",
" elt"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6d0e9fcd0fbd6de0827bf8834007bce3773a8d3d21348e2b3470df9dcb41a55e",
"md5": "bfb756b1731a04a56267616fb7139bae",
"sha256": "bd4d19c99779c9882a3e5732e0a88eecad8fdbdaba33260549ee31792329ffb6"
},
"downloads": -1,
"filename": "dbt_adapters-1.13.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bfb756b1731a04a56267616fb7139bae",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9.0",
"size": 164985,
"upload_time": "2025-01-10T00:47:57",
"upload_time_iso_8601": "2025-01-10T00:47:57.849758Z",
"url": "https://files.pythonhosted.org/packages/6d/0e/9fcd0fbd6de0827bf8834007bce3773a8d3d21348e2b3470df9dcb41a55e/dbt_adapters-1.13.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5cde52c8963984fcd36934dd0e7bb542b3e18ac8940a0f8e3662795b4924cc1b",
"md5": "362d76f4e2d38dd3f99dc7a663fb7f62",
"sha256": "7bd2099fad2fdcf8ffcefcd4272328d6ad0d79f4b979f222bdeef30440c610dd"
},
"downloads": -1,
"filename": "dbt_adapters-1.13.1.tar.gz",
"has_sig": false,
"md5_digest": "362d76f4e2d38dd3f99dc7a663fb7f62",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9.0",
"size": 106903,
"upload_time": "2025-01-10T00:47:59",
"upload_time_iso_8601": "2025-01-10T00:47:59.687645Z",
"url": "https://files.pythonhosted.org/packages/5c/de/52c8963984fcd36934dd0e7bb542b3e18ac8940a0f8e3662795b4924cc1b/dbt_adapters-1.13.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-10 00:47:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dbt-labs",
"github_project": "dbt-adapters",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "dbt-adapters"
}