Skip to main content

Combine duckdb-dbt and Kedro Datasets to enable:

  • extension of dbt to ingest wide array of data, and;
  • conversion of Kedro projects to dbt by easily reading your Kedro data catalog configs (yaml files)

Demo

You can add your existing Kedro definitions to your dbt sources like so:

pip install dbt_duckdb_kedro_datasets

version: 2

sources:
  - name: my_source # can call this anything
    schema: main
    meta:
      plugin: dbt_duckdb_kedro_datasets # this library
    tables:
      - name: my_table # can call this anything
        description: "A dbt_duckdb_kedro_datasets test"
        meta:
          type: pandas.CSVDataset
          filepath: ./data/1_raw/bikes.csv # file to ingest
          load_args:
            sep: ','

Now we can access this CSV in dbt

select *
from {{ source('my_source', 'my_table') }}

For a more complete example look at this

Functionality

This gives you access to read/write Excel Sheets, Parquet, Json, DeltaTable, Pickle and many more!

note: I've only tested this with CSV data so far so please let me know if you run into any issues. Particularly non-tabular data (i.e. picture bit values etc.) will probably not be compatible (since dbt expects dataframe like objects returned).

Metadata

Release files for dbt-duckdb-kedro-datasets 0.1.2

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

Source distribution (sdist)

Source distribution for dbt-duckdb-kedro-datasets 0.1.2
File Size Uploaded Provenance Actions
dbt_duckdb_kedro_datasets-0.1.2.tar.gz 2.3 kB Without provenance Details for dbt_duckdb_kedro_datasets-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dbt-duckdb-kedro-datasets 0.1.2
File Interpreter ABI Platform Actions
dbt_duckdb_kedro_datasets-0.1.2-py3-none-any.whl Python 3 none any Details for dbt_duckdb_kedro_datasets-0.1.2-py3-none-any.whl

Total release size: 5.2 kB

Release files / dbt_duckdb_kedro_datasets-0.1.2.tar.gz

Download URL dbt_duckdb_kedro_datasets-0.1.2.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
83186b64b9fb7f7dba47fa04c465736416bd2a8abbd518a8bc1bbf8566498379
BLAKE2b-256 checksum
How to use checksums
46c90453eca6776d043f2cbf070901b59f7b59756134340a2efface0fcec718d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / dbt_duckdb_kedro_datasets-0.1.2-py3-none-any.whl

Download URL dbt_duckdb_kedro_datasets-0.1.2-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57cafd3dd67ce7feaf171769929081609e51a2f7032abd3ee328e72aa0bfa343
BLAKE2b-256 checksum
How to use checksums
5134ee3d60322e79dba145ed2a6d13f941a159d368f03639c5147ccbcd2fdfff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for dbt-duckdb-kedro-datasets 0.1.2

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