dagster-adbc
A Dagster module that provides an integration with ADBC.
Installation
The dagster_adbc module is available as a PyPI package - install with your preferred python environment manager (We recommend uv).
uv venv
source .venv/bin/activate
uv pip install dagster-adbc
Additionally, the ADBC driver for your database must be installed. We recommend dbc for installing drivers.
uv pip install dbc
dbc install flightsql
Example Usage
from dagster import Definitions, EnvVar, asset
from dagster_adbc import ADBCResource
@asset
def my_table(dremio: ADBCResource) -> None:
with dremio.get_connection() as connection, connection.cursor() as cursor:
cursor.execute("SELECT * FROM my_table")
table = cursor.fetch_arrow_table()
defs = Definitions(
assets=[my_table],
resources={
"dremio": ADBCResource(
driver="flightsql",
uri="grpc+tcp://localhost:32010",
db_kwargs={"username": "admin", "password": EnvVar("DREMIO_PASSWORD")},
)
},
)
Development
The Makefile provides the tools required to test and lint your local installation.
make test
make ruff
make check
Release files for dagster-adbc 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dagster_adbc-0.0.2.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dagster_adbc-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.9 kB
Release files / dagster_adbc-0.0.2.tar.gz
| Download URL | dagster_adbc-0.0.2.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5c1b1c0d926c41003185908d74af0cd471316a5661a06cf7404a33631cd0054
|
|
BLAKE2b-256 checksum How to use checksums |
4d86edfaee77e5be460365e67ab947824c32d7e591697118c665fe72963f03e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / dagster_adbc-0.0.2-py3-none-any.whl
| Download URL | dagster_adbc-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
78fd0eb73fcaeb40eaef85bbc36a353d7a057a16340249070e912baa6ebe395b
|
|
BLAKE2b-256 checksum How to use checksums |
6f090fea6e75981bf572a786c3461749b3c96da61edc11e2e640634049a4e5fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|