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

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

Built distributions (wheels)

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

Download URL haybarn-2.0.0rc6.tar.gz
Size 16.8 MB
Tags Source
SHA-256 checksum
How to use checksums
65a4d9530ce30644d0fa4d315cd68f5298d885b2977299cb9cb5a1b97cfb9bbf
BLAKE2b-256 checksum
How to use checksums
e323a2d6083f08f3bd18d14a894e992c5d13e31eac107376d3e3e752d1e19a0c
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.0rc6-cp312-abi3-win_amd64.whl

Download URL haybarn-2.0.0rc6-cp312-abi3-win_amd64.whl
Size 15.4 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
e882081da6e1700c849c96da277e447ce91ddd29d97d4244c53707e58dc09a36
BLAKE2b-256 checksum
How to use checksums
7305c9808cd0190bf7cbb1f2adaf95e218be55439e8a9238c9c9aeafd8d83ea9
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.0rc6-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL haybarn-2.0.0rc6-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
e3133c02e6800dfcab10326c7450d8e704a39cb242fcb7a454dc82017b884ebf
BLAKE2b-256 checksum
How to use checksums
78eee9c16468aceda60c11492359319d518232a1a9f20b0b63955bc732f92668
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.0rc6-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL haybarn-2.0.0rc6-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
88620deab4abacf36e8fa6150da2133d667343ad906e151968a7bc2d7af932e4
BLAKE2b-256 checksum
How to use checksums
e52b09f5a6339db0e95c2b6e68c1f69808545eff4e5ac140382fc030c14d5ae0
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.0rc6-cp312-abi3-macosx_11_0_arm64.whl

Download URL haybarn-2.0.0rc6-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
6d7eb27683eb3e440fd5984036c636e6fb75b731f1607a12a19ccd31b4cf9a58
BLAKE2b-256 checksum
How to use checksums
9dfcbd68146a3cde0d2140d6e664dc3b988cc61ebcae03a82931482033f7db3f
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.0rc6-cp311-cp311-win_amd64.whl

Download URL haybarn-2.0.0rc6-cp311-cp311-win_amd64.whl
Size 15.4 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
a282197f5b3170245d89ed152dd984e3fd32832fbd081309d3193a22981313c6
BLAKE2b-256 checksum
How to use checksums
3af10877c0c6c00756fa704c5b2f1909826cce9fdc3c92244f3e21e2ab59c9b2
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.0rc6-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL haybarn-2.0.0rc6-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
004d35c2672908e00f588143cd7b8f561abff1f9f75aad8d839bf09d0b7121e2
BLAKE2b-256 checksum
How to use checksums
76020fc7acbd7f7e9e3595ff6c33739a949eec0efaf3aa67b45ee0f9df3dfd3a
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.0rc6-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL haybarn-2.0.0rc6-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
72b157a7be58a4a689b0d7ec902bf9c2ecc155c559469828b8a8b375e0596511
BLAKE2b-256 checksum
How to use checksums
5d5bcb2b7c7c6ba47ca346b2a7ada1b85bc6a00f8beb52f7dcd50c80fd685a19
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.0rc6-cp311-cp311-macosx_11_0_arm64.whl

Download URL haybarn-2.0.0rc6-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
9c6f6eddf387b599868bb71b0afa30a2bc793419b0bcb6466a3445e317a2511c
BLAKE2b-256 checksum
How to use checksums
2c8d078270728356413bbcde4a826527662c92e655e9c0c1942ff9f6bf102e58
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.0rc6

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