Skip to main content

dagster-ducklake

A dagster module that provides integration with ducklake

Installation

The dagster_ducklake module is available as a PyPI package - install with your preferred python environment manager (We recommend uv).

source .venv/bin/activate
uv pip install dagster-ducklake

Example Usage

import dagster as dg

@dg.asset
def my_ducklake_asset(ddb: DuckDBConnectionProvider):
    with ddb.duckdb_connect() as con:
        query = "select * from table"

        df = con.query(query).df()
        df.head()

Resource initialization

{
    "ducklake": DuckLakeResource(
        metadata_backend=PostgresConfig(
            host="db.mycorp.com",
            port=5432,
            database="ducklake_catalog",
            user=dg.EnvVar("POSTGRES_USER"),
            password=dg.EnvVar("POSTGRES_PASSWORD"),
        ),
        storage_backend=S3Config(
            endpoint_url="objectstore.mycorp.com",
            bucket="duckpond-dev",
            prefix="stage",
            aws_access_key_id=dg.EnvVar("OBJECT_STORE_USER"),
            aws_secret_access_key=dg.EnvVar("OBJECT_STORE_PASSWORD"),
            region=dg.EnvVar("OBJECT_STORE_REGION"),
            use_ssl=True,
            url_style="path",
        ),
        alias="stage",
        plugins=["postgres", "httpfs", "ducklake"],
    ),
}

Development

The Makefile provides the tools required to test and lint your local installation

make test
make ruff
make check

Metadata

Release files for dagster-ducklake 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dagster-ducklake 0.0.4
File Size Uploaded Provenance Actions
dagster_ducklake-0.0.4.tar.gz 5.2 kB Without provenance Details for dagster_ducklake-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dagster-ducklake 0.0.4
File Interpreter ABI Platform Actions
dagster_ducklake-0.0.4-py3-none-any.whl Python 3 none any Details for dagster_ducklake-0.0.4-py3-none-any.whl

Total release size: 11.6 kB

Release files / dagster_ducklake-0.0.4.tar.gz

Download URL dagster_ducklake-0.0.4.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5dce5aa111bb1553b261ac74858a5b22856b9f137e388f6e976f3be5e9393508
BLAKE2b-256 checksum
How to use checksums
7d5174b6561252be2b4a83b0e4b4d86efac3daa909a9b8cd55655ea56335c38d
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_ducklake-0.0.4-py3-none-any.whl

Download URL dagster_ducklake-0.0.4-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac99d22e86c4b0dfda4838758f4602780707ba247b8033ebd41ac562395cadf2
BLAKE2b-256 checksum
How to use checksums
87f4d73aae7744cf8c253d6991b9e5eac8e9b9f53728af746e77c41a4f176751
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}

Security for dagster-ducklake 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page