Skip to main content
DuckDB logo

Discord PyPI Latest Release

DuckDB CLI

This package distributes the DuckDB Command Line Interface as a Python package.

Installation

pip install duckdb-cli

Usage

After installation, the duckdb command is available, and duckdb-cli is the same command under the package's name, so uvx runs it without an install:

duckdb
uvx duckdb-cli
uvx duckdb-cli@2.0.0
uvx duckdb-cli@latest
uvx "duckdb-cli[httpfs]" -c "LOAD httpfs"
uv tool install duckdb-cli

uvx duckdb-cli keeps the version it resolved the first time; @latest refreshes it and @2.0.0 pins one. uv tool install puts duckdb and duckdb-cli on the PATH for good.

Agents

The DuckDB 2.0 CLI has an agent mode: when an environment variable of a known AI coding agent is set, such as CLAUDECODE or AI_AGENT, and stdout is a pipe, results are compact Markdown tables with a row count footer and errors are JSON on stderr. The package changes nothing about it: the environment and the pipe reach the binary as they are, and so do -agent, -no-agent and -c ".help agent". An agent in a Python environment with uv needs no install: uvx duckdb-cli -c "..." runs the current release.

Extensions

Extension packages such as duckdb-core-ext-httpfs install an extension binary into site-packages/.duckdb_extensions, and duckdb adds that directory to DuckDB's extension search path, so LOAD httpfs finds it without a download:

pip install "duckdb-cli[httpfs]==2.0.0"
duckdb -c "LOAD httpfs"

The directory comes after the directories DuckDB already searches. DuckDB's automatic loading checks only the first directory before downloading, so a query that autoloads an extension may download it again, and offline that autoload fails; an explicit LOAD always works. This holds until the bundled engine treats an extension found in any configured directory as installed.

Metadata

Release files for duckdb-cli 1.5.2.post2

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

Built distributions (wheels)

Table of built distributions (wheels) for duckdb-cli 1.5.2.post2
File Actions
duckdb_cli-1.5.2.post2-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for duckdb_cli-1.5.2.post2-py3-none-win_arm64.whl
duckdb_cli-1.5.2.post2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for duckdb_cli-1.5.2.post2-py3-none-win_amd64.whl
duckdb_cli-1.5.2.post2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for duckdb_cli-1.5.2.post2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
duckdb_cli-1.5.2.post2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for duckdb_cli-1.5.2.post2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
duckdb_cli-1.5.2.post2-py3-none-macosx_12_0_x86_64.whl Python 3 none macOS 12.0+ x86-64 Details for duckdb_cli-1.5.2.post2-py3-none-macosx_12_0_x86_64.whl
duckdb_cli-1.5.2.post2-py3-none-macosx_12_0_arm64.whl Python 3 none macOS 12.0+ ARM64 Details for duckdb_cli-1.5.2.post2-py3-none-macosx_12_0_arm64.whl

Total release size: 102.0 MB

Release files / duckdb_cli-1.5.2.post2-py3-none-win_arm64.whl

Download URL duckdb_cli-1.5.2.post2-py3-none-win_arm64.whl
Size 13.8 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
5f695f2a0bcb62518ee008e84a34e77c8f730ba32da1a337e7d26400f5415f28
BLAKE2b-256 checksum
How to use checksums
e853f1c91662c4e7561d3b07227504f2bdd0a83329a0b68124cde1bd9eb5dd4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / duckdb_cli-1.5.2.post2-py3-none-win_amd64.whl

Download URL duckdb_cli-1.5.2.post2-py3-none-win_amd64.whl
Size 13.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
1c7a9a5e7e849c2cdc38d27557561ecb590c9ae473063b9bf51fcae9c484be15
BLAKE2b-256 checksum
How to use checksums
43798d007d11004104b784414824710e69053e758391e53d387fe34d0ec1f1ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / duckdb_cli-1.5.2.post2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL duckdb_cli-1.5.2.post2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 21.2 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
57ef64bc78975bb589568b4830be6a5ee9c83734c4df1f70a2f04de113c20fd9
BLAKE2b-256 checksum
How to use checksums
99125002bde4702f049d3ce37a6d52ca14fa34268d400ad2bfe2e2c056c1ee46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / duckdb_cli-1.5.2.post2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL duckdb_cli-1.5.2.post2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 19.2 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
5cbbc6f9ebfb672f17ccb5a2732d7dfc734643d24913b595713e2e47e6e49b5b
BLAKE2b-256 checksum
How to use checksums
1ebb5e68361a7cf1735b410c03ac95520cffc725bd00c5e1eee37d29f3372448
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / duckdb_cli-1.5.2.post2-py3-none-macosx_12_0_x86_64.whl

Download URL duckdb_cli-1.5.2.post2-py3-none-macosx_12_0_x86_64.whl
Size 18.5 MB
Tags Python 3 macOS 12.0+ x86-64
SHA-256 checksum
How to use checksums
8938ec7f4aa5eccd08cad04535331af8e7f2c22bb8e1b4d039c575d8d98bcffa
BLAKE2b-256 checksum
How to use checksums
c9e3f6c18e00cd02cc561aea3c11e0f9531eb4b5c600c4bae00d6a0bee22599c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / duckdb_cli-1.5.2.post2-py3-none-macosx_12_0_arm64.whl

Download URL duckdb_cli-1.5.2.post2-py3-none-macosx_12_0_arm64.whl
Size 16.3 MB
Tags Python 3 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
ffc0aeaa2522461afae83d7912f539d6bd4bc96aa878703d438df27026b6f1a4
BLAKE2b-256 checksum
How to use checksums
053af2d5b13f6c95a8cc5a8828e88be8a3b6d4caaf9b66dabf0f00d3693fcf8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for duckdb-cli 1.5.2.post2

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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for duckdb_cli-1.5.2.post2-py3-none-win_arm64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

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
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