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.0rc5

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.0rc5
File Size Uploaded Provenance
haybarn-2.0.0rc5.tar.gz 16.8 MB With provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for haybarn 2.0.0rc5
File
haybarn-2.0.0rc5-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details
haybarn-2.0.0rc5-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
haybarn-2.0.0rc5-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
haybarn-2.0.0rc5-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details
haybarn-2.0.0rc5-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
haybarn-2.0.0rc5-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
haybarn-2.0.0rc5-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
haybarn-2.0.0rc5-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details

Total release size: 174.8 MB

Release files / haybarn-2.0.0rc5.tar.gz

Download URL haybarn-2.0.0rc5.tar.gz
Size 16.8 MB
Tags Source
SHA-256 checksum
How to use checksums
ff241882ccf7a5f6cf3c33a696d3d1b93085e8c71263e853ce4c12fd8b0bc207
BLAKE2b-256 checksum
How to use checksums
ac10dafc00af01d8359820ef5c8cf769c03bf431bf36364a095891896362aac3
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 Oct 24, 2026.

Transparency log

Release files / haybarn-2.0.0rc5-cp312-abi3-win_amd64.whl

Download URL haybarn-2.0.0rc5-cp312-abi3-win_amd64.whl
Size 15.4 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
7355797d57de98f4f745906af6ac9243069a35442d40f6d5ea9affbf45ce8b93
BLAKE2b-256 checksum
How to use checksums
9e1991f1c72100bbc0e163120647279c4616b98011ce6c20759837654cb5b233
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 Oct 24, 2026.

Transparency log

Release files / haybarn-2.0.0rc5-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL haybarn-2.0.0rc5-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 24.4 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
d2ec7ac156f38ea11a08bbee7e944bb5482520ee045c2459af35bbb088add5ca
BLAKE2b-256 checksum
How to use checksums
ca27f591f27717785aa827909d1e96edc8c53367f72ae48b4b55225fb33de2bf
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 Oct 24, 2026.

Transparency log

Release files / haybarn-2.0.0rc5-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL haybarn-2.0.0rc5-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 21.7 MB
Tags CPython 3.12 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
0d120c55cc8757e152ceb24d5b9970df677c6bf873d534a84e3b7f100bdf767e
BLAKE2b-256 checksum
How to use checksums
36e9921572e42e0e03eeb653071a6ec39f187dbf187cb4df4b10cb6b9ac79a72
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 Oct 24, 2026.

Transparency log

Release files / haybarn-2.0.0rc5-cp312-abi3-macosx_11_0_arm64.whl

Download URL haybarn-2.0.0rc5-cp312-abi3-macosx_11_0_arm64.whl
Size 17.6 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a8fa9c5408ac03ed6f1e1563e7c43b8578825d3db6d9e0f2a34d95b16c9d3a55
BLAKE2b-256 checksum
How to use checksums
bd28738a45c4577d00120fbcba87e4a2887fda47904c5b2aab9b300f0854c8c2
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 Oct 24, 2026.

Transparency log

Release files / haybarn-2.0.0rc5-cp311-cp311-win_amd64.whl

Download URL haybarn-2.0.0rc5-cp311-cp311-win_amd64.whl
Size 15.4 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
ea1c301cc6c2bded43d193c228e6a9cc70a2d80e1198e96aaa5ea1ba69d4d2a6
BLAKE2b-256 checksum
How to use checksums
4e285b98ddc55284f9cdd7e3f84b0a870d76ef3655b86cb63244a46a474663e8
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 Oct 24, 2026.

Transparency log

Release files / haybarn-2.0.0rc5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL haybarn-2.0.0rc5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 24.4 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
fc10a64d18710f15b8534d83e63a4140899217e70c311b210654fe58f76741e5
BLAKE2b-256 checksum
How to use checksums
06c0e73d3f8d600656ad1e9d8763d6ce0fd34af65c513d3ca55f6eae0e6551fb
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 Oct 24, 2026.

Transparency log

Release files / haybarn-2.0.0rc5-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL haybarn-2.0.0rc5-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 21.6 MB
Tags CPython 3.11 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
ed098d05280eba9bdb1009ea1f2b6e783eb3ff2fd5984c46e93333866d1547a2
BLAKE2b-256 checksum
How to use checksums
e5b5d3282c744575dac4129b0a26f2ceb09da384364d9ab68e7c397dc1b66d88
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 Oct 24, 2026.

Transparency log

Release files / haybarn-2.0.0rc5-cp311-cp311-macosx_11_0_arm64.whl

Download URL haybarn-2.0.0rc5-cp311-cp311-macosx_11_0_arm64.whl
Size 17.6 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
cce30ce2a299e9bd481917747bb2ac6ccf944f608ed5401230bb614b76739d31
BLAKE2b-256 checksum
How to use checksums
7d07dd4e763ef4c082fa69a4b3b40d5f3bb4cf4e72658340c7fd36f3730c34cb
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 Oct 24, 2026.

Transparency log

Security for haybarn 2.0.0rc5

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.0rc5.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 Oct 24, 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