Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Haybarn — Python client

The Python client for Haybarn, an independent derived distribution of DuckDB, powered by DuckDB.

Published by Query Farm LLC.

Haybarn is not affiliated with, sponsored by, or endorsed by the DuckDB Foundation or DuckDB Labs. DuckDB is a trademark of the DuckDB Foundation. See NOTICE.

This package is a fork of the DuckDB Python client, rebranded as haybarn. The public API is identical to DuckDB's.

Installation

pip install haybarn

Usage

import haybarn

haybarn.sql("SELECT 42").show()

Migrating from DuckDB

Because the API is identical, existing DuckDB code needs only a one-line change:

import haybarn as duckdb   # the rest of your code is unchanged

For third-party code you cannot edit, there is an opt-in compatibility shim that makes import duckdb resolve to Haybarn:

import haybarn.compat   # registers haybarn as the `duckdb` module
import duckdb           # now this is Haybarn

The compiled extension module is renamed (_haybarn), so a haybarn wheel and a genuine duckdb wheel can be installed side by side without conflict.

Building from source

See CONTRIBUTING.md and AGENTS.md for the build workflow. In short:

uv sync --only-group build --no-install-project
uv sync --no-build-isolation -v --reinstall

The DuckDB engine is built from the external/duckdb submodule.

License

MIT — the same license as DuckDB. The upstream license is preserved in LICENSE; see NOTICE for the list of Haybarn modifications and trademark attribution.

Metadata

Release files for haybarn 2.0.1rc3

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

Source distribution (sdist)

Source distribution for haybarn 2.0.1rc3
File Size Uploaded Provenance Actions
haybarn-2.0.1rc3.tar.gz 17.0 MB With provenance Details for haybarn-2.0.1rc3.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for haybarn 2.0.1rc3
File Actions
haybarn-2.0.1rc3-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for haybarn-2.0.1rc3-cp312-abi3-win_amd64.whl
haybarn-2.0.1rc3-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for haybarn-2.0.1rc3-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
haybarn-2.0.1rc3-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl CPython 3.12 abi3 Linux glibc 2.26+ ARM64, Linux glibc 2.28+ ARM64 Details for haybarn-2.0.1rc3-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
haybarn-2.0.1rc3-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details for haybarn-2.0.1rc3-cp312-abi3-macosx_11_0_arm64.whl
haybarn-2.0.1rc3-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for haybarn-2.0.1rc3-cp311-cp311-win_amd64.whl
haybarn-2.0.1rc3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for haybarn-2.0.1rc3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
haybarn-2.0.1rc3-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.26+ ARM64, Linux glibc 2.28+ ARM64 Details for haybarn-2.0.1rc3-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
haybarn-2.0.1rc3-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for haybarn-2.0.1rc3-cp311-cp311-macosx_11_0_arm64.whl

Total release size: 179.6 MB

Release files / haybarn-2.0.1rc3.tar.gz

Download URL haybarn-2.0.1rc3.tar.gz
Size 17.0 MB
Tags Source
SHA-256 checksum
How to use checksums
a6bf14d740b6c06d89bc254df6757906f7c46ff5f199c5aa30a516973df41a97
BLAKE2b-256 checksum
How to use checksums
da574bce4eb93a03a811cc5efc2cdc178813e30b74b81b3ce2ac037df938929f
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 / haybarn-2.0.1rc3-cp312-abi3-win_amd64.whl

Download URL haybarn-2.0.1rc3-cp312-abi3-win_amd64.whl
Size 16.1 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
5844539d0b568dba4fbd7c913914e2ec23036006c550123c870e1b0258538aef
BLAKE2b-256 checksum
How to use checksums
58ecf8de0b11620df676fa64eb3995f4fc6d438639a51ee9debd187059db6f1f
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 / haybarn-2.0.1rc3-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL haybarn-2.0.1rc3-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 24.9 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
7ea8872423bae1c4eae07628d814a3b344941f53a3b7973d25af20c4e9ec3689
BLAKE2b-256 checksum
How to use checksums
e94d7e97befb0b3b0e67788a52de5582e10463593581178775b5624eb9775954
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 / haybarn-2.0.1rc3-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL haybarn-2.0.1rc3-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 22.2 MB
Tags CPython 3.12 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
9e23c8a13f034f0dba9303311422b4578ac5df926d06657a7387e4ecb2147163
BLAKE2b-256 checksum
How to use checksums
634b823942b90a8204c09ef4564a720e60e1ea11fe0f37177321ccfd6d86d078
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 / haybarn-2.0.1rc3-cp312-abi3-macosx_11_0_arm64.whl

Download URL haybarn-2.0.1rc3-cp312-abi3-macosx_11_0_arm64.whl
Size 18.0 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
91a22aef081ae31155e4409803487b2cb102995851fa82989989d73a3dfbee82
BLAKE2b-256 checksum
How to use checksums
637982d2a4b17a95e50185e1c6f30ea9c815f477dc2687c5b42d81edcd6a5f44
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 / haybarn-2.0.1rc3-cp311-cp311-win_amd64.whl

Download URL haybarn-2.0.1rc3-cp311-cp311-win_amd64.whl
Size 16.1 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
e763c24ea5283a20bff4d5d6cd537d7682412e86a532c26cdbc83d889535fa83
BLAKE2b-256 checksum
How to use checksums
182922232e4ebbee5a967e17053df8507f78ee31715bde55e269a2699c77557a
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 / haybarn-2.0.1rc3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL haybarn-2.0.1rc3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 24.9 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
4025910c87693c5d56c0867651f6be9bc66d9533896ca1aa603da07af0ef7b25
BLAKE2b-256 checksum
How to use checksums
fc09ff855e6d73bd8b2f28d88c826166cf898e81c9642ddd63e11f954e42f6bf
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 / haybarn-2.0.1rc3-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL haybarn-2.0.1rc3-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 22.2 MB
Tags CPython 3.11 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
d7d47877ddbd20c048ad895d10fe00bc38a14f04c39be14470b51eae6dcd761c
BLAKE2b-256 checksum
How to use checksums
816e45da85e9932664c3866b444a1c17ab22b4dc02d8d2eed856ae4a03cc1378
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 / haybarn-2.0.1rc3-cp311-cp311-macosx_11_0_arm64.whl

Download URL haybarn-2.0.1rc3-cp311-cp311-macosx_11_0_arm64.whl
Size 18.0 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7aaf6a5a5cd4a71780ca72695342c644b54a3c057fd42a1f42d37672422bfd5a
BLAKE2b-256 checksum
How to use checksums
933e33dfc6d78b29f70bda2ad42d1c8b75cfec738a0b63e015845dbc71b528dc
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 haybarn 2.0.1rc3

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 9 files in this release have been uploaded with provenance metadata.

Select from 9 files

Attestation for haybarn-2.0.1rc3.tar.gz

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.

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