Skip to main content

A Jupyter Kernel for DuckDB with Unity Catalog

Project description

Dunky

A Jupyter Kernel for DuckDB with Unity Catalog.

Description

Dunky is a Jupyter kernel that allows you to run DuckDB queries with Unity Catalog integration directly from your Jupyter notebooks.

Installation

To install Dunky, you can use the following commands:

pip install dunky

Configure Unity Catalog

You can set the following environment variables to configure Unity Catalog:

UC_ENDPOINT: The endpoint of the Unity Catalog server. UC_TOKEN: The token to authenticate with the Unity Catalog server. UC_AWS_REGION: The AWS region to use for the Unity Catalog server.

settings default to localhost:8080/api/2.1/unity-catalog, not-used, and eu-west-1 respectively.

Usage

After installing, you can start using the Dunky kernel in your Jupyter notebooks. Select the "Dunky" kernel from the kernel selection menu.

You can directly query DuckDB tables and use Unity Catalog features in your notebooks. You don't need to set up a connection or manage credentials, as Dunky handles all of that for you.

Start with attaching your database using the ATTACH DATABASE command. e.g.,

ATTACH DATABASE 'unity' AS unity (TYPE UC_CATALOG);

After attaching, just start writing your queries and enjoy the power of DuckDB with Unity Catalog integration!

Remarks

This extension works well together with the junity extension

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dunky-0.1.1.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

dunky-0.1.1-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file dunky-0.1.1.tar.gz.

File metadata

  • Download URL: dunky-0.1.1.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for dunky-0.1.1.tar.gz
Algorithm Hash digest
SHA256 dd6c23c903f6f99b1a86bfd4afa5f7a036e602b9e762605831f027f93e67b4d8
MD5 887a078772fee53fcc2cafda36ff6017
BLAKE2b-256 a38b03e2dc38a40dd45feaa385e19d6daad830c9059b29a82bfa6c9ac6e1ac51

See more details on using hashes here.

File details

Details for the file dunky-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: dunky-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for dunky-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eacd8ec7cd136239099b7c3084ba85e440481b6797ba1214eb11e4902a95707f
MD5 1cec999b35cbfbb1ced7ecb69e6dc3ed
BLAKE2b-256 410bd9c5f6cbc2a0b15dd7dc4948a4dfcd3c17231b7a297620a0289564bdaf95

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page