Skip to main content

DuckDB extension package for duckdb/core-extensions/postgres

Project description

DuckDB extensions via PIP

Installaton

pip install duckdb-ext[postgres]

Usage

Option 1: Automatic

import duckdb
import duckdb_ext

with duckdb_ext.init(duckdb.connect()) as con:
    ...

Option 2: Manual

import duckdb
import duckdb_ext

with duckdb.connect() as con:
    con.execute("SET extension_directory = ?;", (get_extension_dir(),))
    # Ideally also:
    con.execute("SET autoinstall_known_extensions = false;")

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

duckdb_ext_postgres-1.2.1.20250921.post0-py3-none-manylinux_2_17_x86_64.whl (15.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

File details

Details for the file duckdb_ext_postgres-1.2.1.20250921.post0-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for duckdb_ext_postgres-1.2.1.20250921.post0-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 fb06ff1f211d6ddb420f556eb5304fa196fe33dcc7116b8b070103b459383162
MD5 a6f5a1eb138be9dda2093546322960b4
BLAKE2b-256 ddac5dbef251d9abf18b8bddfad3d4d1b211173eb4ebfb959556091d6c798c76

See more details on using hashes here.

Supported by

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