Skip to main content

ducklake-python-client-fork

Lightweight Python helpers for opening DuckLake connections through DuckDB.

Install

pip install ducklake-python-client-fork

Quick start

from ducklake_client import ColumnDef, DuckLake
from ducklake_client.adapters import DiskStorage, DuckDBCatalog, LocalDuckDBConfig
from ducklake_client.client import DuckLakeConfig

config = DuckLakeConfig(
    catalog=DuckDBCatalog("metadata.ducklake"),
    storage=DiskStorage("data"),
    duckdb=LocalDuckDBConfig(),
)

with DuckLake(config) as lake:
    lake.schema.create("main")
    lake.table.create(
        "items",
        id=ColumnDef("INTEGER", nullable=False),
        name=ColumnDef("VARCHAR"),
    )
    lake.connection.execute("INSERT INTO lake.main.items VALUES (?, ?)", [1, "example"])
    print(lake.sql_dicts("SELECT * FROM lake.main.items"))

DuckLake opens DuckDB lazily on first use. It installs and loads the required extensions, attaches the catalog as lake, and exposes the native connection through lake.connection.

Run python demo.py for a complete local example.

Documentation

Metadata

Release files for ducklake-python-client-fork 0.6.0

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

Source distribution (sdist)

Source distribution for ducklake-python-client-fork 0.6.0
File Size Uploaded Provenance Actions
ducklake_python_client_fork-0.6.0.tar.gz 29.9 kB Without provenance Details for ducklake_python_client_fork-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ducklake-python-client-fork 0.6.0
File Interpreter ABI Platform Actions
ducklake_python_client_fork-0.6.0-py3-none-any.whl Python 3 none any Details for ducklake_python_client_fork-0.6.0-py3-none-any.whl

Total release size: 69.3 kB

Release files / ducklake_python_client_fork-0.6.0.tar.gz

Download URL ducklake_python_client_fork-0.6.0.tar.gz
Size 29.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1b7bff92d77dcd761ef1e167fad637bfa4903bc6b330f083cfa830216a1695f6
BLAKE2b-256 checksum
How to use checksums
9d35d11527f1bf03f2f5c6032a79a25d030c49f51f03aa2d9913a69815708d20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ducklake_python_client_fork-0.6.0-py3-none-any.whl

Download URL ducklake_python_client_fork-0.6.0-py3-none-any.whl
Size 39.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d17468d832df358f4a7f4125098d59fa2bbad0577befb1a0ff82f85a1c81626d
BLAKE2b-256 checksum
How to use checksums
fc55c2a7206a8b113242a0e2f33f6dd1f86c67de0f9dd4106a618da19593680a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for ducklake-python-client-fork 0.6.0

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.

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files No provenance

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