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 2.0.1

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 2.0.1
File Actions
duckdb_cli-2.0.1-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for duckdb_cli-2.0.1-py3-none-win_arm64.whl
duckdb_cli-2.0.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for duckdb_cli-2.0.1-py3-none-win_amd64.whl
duckdb_cli-2.0.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for duckdb_cli-2.0.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
duckdb_cli-2.0.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for duckdb_cli-2.0.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
duckdb_cli-2.0.1-py3-none-macosx_12_0_x86_64.whl Python 3 none macOS 12.0+ x86-64 Details for duckdb_cli-2.0.1-py3-none-macosx_12_0_x86_64.whl
duckdb_cli-2.0.1-py3-none-macosx_12_0_arm64.whl Python 3 none macOS 12.0+ ARM64 Details for duckdb_cli-2.0.1-py3-none-macosx_12_0_arm64.whl

Total release size: 126.8 MB

Release files / duckdb_cli-2.0.1-py3-none-win_arm64.whl

Download URL duckdb_cli-2.0.1-py3-none-win_arm64.whl
Size 18.5 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
0f58ac6c8aa1dd4e08457001e57efeb17b423c39fd90d470f30287ab8b919f8a
BLAKE2b-256 checksum
How to use checksums
785b12e8c60a23fb276490219e2b05d0d115161bdd9b5f8dc22d1762d383bf62
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 20, 2026.

Transparency log

Release files / duckdb_cli-2.0.1-py3-none-win_amd64.whl

Download URL duckdb_cli-2.0.1-py3-none-win_amd64.whl
Size 19.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
73cbd17c5eece8003937c6d94f5f86ee51023639c3878c76bc196b63e10407bf
BLAKE2b-256 checksum
How to use checksums
fe467285b62f611b4932dc578fa2ea43134103080bd75f2f53c927767313c804
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 20, 2026.

Transparency log

Release files / duckdb_cli-2.0.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL duckdb_cli-2.0.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 24.8 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
44131cf22c717febcb9bb9f1ae117690f1e2ff6947a3154150ddf2ad40d8b31b
BLAKE2b-256 checksum
How to use checksums
6aa4402c39041ccd4a0f6fac4e63ae42215a42d11336bace1278c48541febdf8
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 20, 2026.

Transparency log

Release files / duckdb_cli-2.0.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL duckdb_cli-2.0.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 22.6 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
0086b3175b3bb7867fcc26558729c1764b61eb86f968fb14a7a4eac66105e028
BLAKE2b-256 checksum
How to use checksums
33f188537dac2de8dcf1560eeeaa2da05576abf8c54c6ec8d5f2190a5d6a05ce
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 20, 2026.

Transparency log

Release files / duckdb_cli-2.0.1-py3-none-macosx_12_0_x86_64.whl

Download URL duckdb_cli-2.0.1-py3-none-macosx_12_0_x86_64.whl
Size 21.7 MB
Tags Python 3 macOS 12.0+ x86-64
SHA-256 checksum
How to use checksums
c1c8a877b9d4b9c98de574b75901fad52e570716c5fe17a78cec881404f12484
BLAKE2b-256 checksum
How to use checksums
914e647e7de7707f7879271dacb90fc40d15b7b0819a46067fb1ef060678588e
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 20, 2026.

Transparency log

Release files / duckdb_cli-2.0.1-py3-none-macosx_12_0_arm64.whl

Download URL duckdb_cli-2.0.1-py3-none-macosx_12_0_arm64.whl
Size 19.4 MB
Tags Python 3 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
3d560caaeab701d267325ea0cd9f75c5679b291378f019f7abf61bdb242f76f5
BLAKE2b-256 checksum
How to use checksums
657d62d6878f09d81e57bc829d39f65517cea3dd433f9945f1e8d990a5dfe165
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 20, 2026.

Transparency log

Security for duckdb-cli 2.0.1

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-2.0.1-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 20, 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

2.0.1 This release

6 release files Full 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