Skip to main content

DuckDB extensions as python package

Project description

pip installable DuckDB extensions

pip installable DuckDB core extensions, so you don't have to leave your Python ecosystem behind.

PyPI - Version PyPI - Python Version


Table of Contents

Available extensions

The architectures supported:

  • linux_amd64
  • linux_arm64
  • osx_arm64
  • osx_amd64
  • windows_amd64

Compatible with duckdb==1.5.4

Project scope

This repository deliberately packages DuckDB core extensions.

It does not currently package community extensions or nightly-only extensions from other repositories (for example https://community-extensions.duckdb.org). That is a deliberate scope choice: core extensions are maintained by DuckDB Labs and come with a different trust model than third-party/community extensions, and packaging and redistributing community-maintained or unstable moving targets would require accepting additional supply chain risk and per-extension vendor assessment.

Release cadence

This repository does not publish on every upstream DuckDB extension commit.

For a change (for example in duckdb-excel) to show up here:

  1. The change must be included in DuckDB's published extension artifact for a specific DuckDB version.
  2. This repository must bump to that same DuckDB version and publish a new tag.

CI builds run on pushes and pull requests, but PyPI publishing happens only for tagged releases in this repository. Maintainer steps for version bumps are documented in CONTRIBUTING.md.

Artifact integrity checks

  • Release builds verify SHA-256 checksums for downloaded extension binaries using extension_checksums.json.
  • If checksums are missing or mismatched, the build fails.
  • Local developer breakglass is available via DUCKDB_EXTENSIONS_ALLOW_UNVERIFIED=1 for emergency debugging only.
  • Breakglass is blocked in GitHub Actions to ensure published artifacts are always checksum-verified.

Installation

First install duckdb-extensions.

pip install duckdb-extensions

Then one of the extensions.

pip install duckdb-extension-httpfs

You are ready to install the extension for duckdb.

from duckdb_extensions import import_extension
import_extension("httpfs")

Verify that the extension is installed.

import duckdb

print(
    duckdb.sql("""SELECT installed
                FROM duckdb_extensions() where extension_name='httpfs'""")
    .fetchone()[0]
)

Licensing

  • duckdb-extensions repository code and wrapper/package code are distributed under the terms of the MIT license.
  • Bundled extension binaries are downloaded from upstream providers and may be governed by different licenses or terms.
  • See THIRD_PARTY_LICENSES.md for extension-by-extension provenance and upstream terms references.

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_extensions-1.5.4-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file duckdb_extensions-1.5.4-py3-none-any.whl.

File metadata

File hashes

Hashes for duckdb_extensions-1.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a2a896c2cd7b49e3059fda95eb8ba25159136a89b898269ebb659765c26d8e7a
MD5 2ac9365a70a830e781c3382fbfc1f9f6
BLAKE2b-256 3580b341d8d9cf3f90d4ec5e4c6d7e76fe845ecb29ac8271861282f00dc74351

See more details on using hashes here.

Provenance

The following attestation bundles were made for duckdb_extensions-1.5.4-py3-none-any.whl:

Publisher: publish-to-pypi.yml on santosh-d3vpl3x/duckdb_extensions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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