Skip to main content

bdkpython

The Python language bindings for the bitcoindevkit.

See the package on PyPI.

Working with the submodule

This repository uses the bdk-ffi repository as a git submodule. Here are useful tips for working with the submodule:

  1. When initially cloning the repo, the bdk-ffi submodule will be empty locally. You can initiate/populate the directory by using the just submodule-init command.
  2. If you make local changes to the bdk-ffi directory while developing and want to hard delete all changes and return to the exact committed version hash of the bdk-ffi repo, use the just submodule-reset command.

Prerequisites

Before building bdkpython locally, ensure you have installed the following tools:

  • Rust toolchain (rustup): Required to compile bdk-ffi. Install from rustup.rs.
  • uv: Fast Python package installer and resolver. Install from Astral uv Docs.
  • just (optional): Command runner used for repo tasks. Install via cargo install just or your system package manager.

Windows Users

  • Windows: Rust's x86_64-pc-windows-msvc target needs the MSVC toolchain and Windows SDK. rustup-init offers to install these for you; otherwise install Visual Studio Build Tools with the Desktop development with C++ workload. The build scripts are bash, so run them from Git Bash.

Local Testing and Usage

  1. Run one of the build scripts (skip the submodule update if you are making local changes to the bdk-ffi submodule)
  2. Sync dependencies with uv
  3. Create the wheel
  4. Install the library
  5. Run the tests

1. Build Script Commands

Run the build script corresponding to your operating system:

Linux:

bash scripts/generate-linux.sh

macOS (Apple Silicon / ARM64):

bash scripts/generate-macos-arm64.sh

macOS (Intel / x86_64):

bash scripts/generate-macos-x86_64.sh

Windows (Git Bash / MSYS2):

bash scripts/generate-windows.sh

Note: Pass --skip-submodule-update if you are making local changes to bdk-ffi and wish to preserve them instead of resetting to the committed submodule hash.

2–5. Setup, Build, Install & Test Commands

# Sync dependencies with uv
uv sync

# Create the wheel
uv build --wheel -v

# Install the library
uv pip install ./dist/bdkpython-*.whl --force-reinstall

# Run the tests
uv run python -m unittest --verbose

Build HTML API Documentation (Optional)

  1. Generate docs
  2. Build HTML Documentation
uv run python ./docs/generate_docs.py
uv run python -m sphinx -b html -W --keep-going -v docs/source docs/_build/html

Metadata

Release files for bdkpython 3.2.0

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 bdkpython 3.2.0
File Actions
bdkpython-3.2.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for bdkpython-3.2.0-cp314-cp314-win_amd64.whl
bdkpython-3.2.0-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details for bdkpython-3.2.0-cp314-cp314-manylinux_2_28_x86_64.whl
bdkpython-3.2.0-cp314-cp314-macosx_11_0_x86_64.whl CPython 3.14 CPython 3.14 macOS 11.0+ x86-64 Details for bdkpython-3.2.0-cp314-cp314-macosx_11_0_x86_64.whl
bdkpython-3.2.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for bdkpython-3.2.0-cp314-cp314-macosx_11_0_arm64.whl
bdkpython-3.2.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for bdkpython-3.2.0-cp313-cp313-win_amd64.whl
bdkpython-3.2.0-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for bdkpython-3.2.0-cp313-cp313-manylinux_2_28_x86_64.whl
bdkpython-3.2.0-cp313-cp313-macosx_11_0_x86_64.whl CPython 3.13 CPython 3.13 macOS 11.0+ x86-64 Details for bdkpython-3.2.0-cp313-cp313-macosx_11_0_x86_64.whl
bdkpython-3.2.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for bdkpython-3.2.0-cp313-cp313-macosx_11_0_arm64.whl
bdkpython-3.2.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for bdkpython-3.2.0-cp312-cp312-win_amd64.whl
bdkpython-3.2.0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for bdkpython-3.2.0-cp312-cp312-manylinux_2_28_x86_64.whl
bdkpython-3.2.0-cp312-cp312-macosx_11_0_x86_64.whl CPython 3.12 CPython 3.12 macOS 11.0+ x86-64 Details for bdkpython-3.2.0-cp312-cp312-macosx_11_0_x86_64.whl
bdkpython-3.2.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for bdkpython-3.2.0-cp312-cp312-macosx_11_0_arm64.whl
bdkpython-3.2.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for bdkpython-3.2.0-cp311-cp311-win_amd64.whl
bdkpython-3.2.0-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details for bdkpython-3.2.0-cp311-cp311-manylinux_2_28_x86_64.whl
bdkpython-3.2.0-cp311-cp311-macosx_11_0_x86_64.whl CPython 3.11 CPython 3.11 macOS 11.0+ x86-64 Details for bdkpython-3.2.0-cp311-cp311-macosx_11_0_x86_64.whl
bdkpython-3.2.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for bdkpython-3.2.0-cp311-cp311-macosx_11_0_arm64.whl

Total release size: 84.6 MB

Release files / bdkpython-3.2.0-cp314-cp314-win_amd64.whl

Download URL bdkpython-3.2.0-cp314-cp314-win_amd64.whl
Size 4.7 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
03c5c7a78e6e3b90830b2b59cdd4c4a8b0e94c2100fef034a6fcac5aeb2eb5be
BLAKE2b-256 checksum
How to use checksums
bfd33be251499cfd5bd5758a2d0a0cc0c2ede32039719c8bc5238c23af738933
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 25, 2026.

Transparency log

Release files / bdkpython-3.2.0-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL bdkpython-3.2.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 5.4 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
522f8fca5f05c42d918a698391c90b88b286c45e4eb54861b4c7a52abdc84474
BLAKE2b-256 checksum
How to use checksums
6e84ec5538fb32ee3b4a8e3d9fde58903b6f571f136664e5acf5cb5e3f20354f
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 25, 2026.

Transparency log

Release files / bdkpython-3.2.0-cp314-cp314-macosx_11_0_x86_64.whl

Download URL bdkpython-3.2.0-cp314-cp314-macosx_11_0_x86_64.whl
Size 5.5 MB
Tags CPython 3.14 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
1caf02dd1e7c2ab0720878ec065c258902ec1eacdb3bb18b1f043eca39bcf7f1
BLAKE2b-256 checksum
How to use checksums
f9a8ce6ba145eb75bf728f7e9676f86d7a6dbd6cbcf4c83f4cda09101a5c1ca6
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 25, 2026.

Transparency log

Release files / bdkpython-3.2.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL bdkpython-3.2.0-cp314-cp314-macosx_11_0_arm64.whl
Size 5.6 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
21254c24934e8f4cb83e986082df7b1c4433bddb254f6ed0a3f5322198adb1ea
BLAKE2b-256 checksum
How to use checksums
ac9602a1cedccefeb8e25ff73c6bd4ec8cabe159c3fd730b24c26e8cb66cbecb
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 25, 2026.

Transparency log

Release files / bdkpython-3.2.0-cp313-cp313-win_amd64.whl

Download URL bdkpython-3.2.0-cp313-cp313-win_amd64.whl
Size 4.6 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
147a81c24b010986ede814d7581c57f6847bacfb4ab3776955f9edd902fc3152
BLAKE2b-256 checksum
How to use checksums
21edd954fa12364622c45f727398ae8a8092e0dccfd5fdafb113aff633459c82
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 25, 2026.

Transparency log

Release files / bdkpython-3.2.0-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL bdkpython-3.2.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 5.4 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c560a7a147868a4de03d6aba37ab2c1bafa13af0618cfbda5a36fef4899bc4b9
BLAKE2b-256 checksum
How to use checksums
f4be6e11750b2c6663d42b8c3c2a3a6d9e0fe8fd6268d677566a9a178c543523
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 25, 2026.

Transparency log

Release files / bdkpython-3.2.0-cp313-cp313-macosx_11_0_x86_64.whl

Download URL bdkpython-3.2.0-cp313-cp313-macosx_11_0_x86_64.whl
Size 5.5 MB
Tags CPython 3.13 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
7713bedd5a91c1d8d58f8ab7919909a9bb1425d866528d1540d5743ba5a808f9
BLAKE2b-256 checksum
How to use checksums
1e63ea507dde3eae1cb1fbd6443dd2d116e1050dae6338cac2b23407caffe198
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 25, 2026.

Transparency log

Release files / bdkpython-3.2.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL bdkpython-3.2.0-cp313-cp313-macosx_11_0_arm64.whl
Size 5.6 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2814a99dbef65b0742d5aed94c6ed77e5b181811df7c133dec99d9e3cbdb7253
BLAKE2b-256 checksum
How to use checksums
28475812462641bfa140f1edcccd085e61803504083a344928bd35ff50c6783e
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 25, 2026.

Transparency log

Release files / bdkpython-3.2.0-cp312-cp312-win_amd64.whl

Download URL bdkpython-3.2.0-cp312-cp312-win_amd64.whl
Size 4.6 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
6f30158eafd433fac1c82f9bc577ff5b51dae647af55edccb91b977703a577c3
BLAKE2b-256 checksum
How to use checksums
6f2ec95a9a9633605ba1c2db684c79a3bb52489ed235191cb21b21220dfdc622
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 25, 2026.

Transparency log

Release files / bdkpython-3.2.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL bdkpython-3.2.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 5.4 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0e311bd8ab110afd1cc474c8ab16cbee874a88e1d956d3cb1034a6b3b2f29b48
BLAKE2b-256 checksum
How to use checksums
ef156ae4615231a401cf05407fdae7b51674df3a28e1b85a7bf4b9dc26161a46
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 25, 2026.

Transparency log

Release files / bdkpython-3.2.0-cp312-cp312-macosx_11_0_x86_64.whl

Download URL bdkpython-3.2.0-cp312-cp312-macosx_11_0_x86_64.whl
Size 5.5 MB
Tags CPython 3.12 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
532ed0f5e50d759c40ec42a47f0cb84786e6dc0205472102db5436c1efb6e5f1
BLAKE2b-256 checksum
How to use checksums
51543edc99a26f0b3b8fbbcdc94c19cab76ffad672276dd745ef4170379ea253
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 25, 2026.

Transparency log

Release files / bdkpython-3.2.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL bdkpython-3.2.0-cp312-cp312-macosx_11_0_arm64.whl
Size 5.6 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6e7b4e6983b567cab832f00af0ba2f144111f97fc198b3ee308b4ff7a327a244
BLAKE2b-256 checksum
How to use checksums
2e2ed546021d40b12e03425873f2d65bbc2058a3ea6f35414d84389fc16648a7
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 25, 2026.

Transparency log

Release files / bdkpython-3.2.0-cp311-cp311-win_amd64.whl

Download URL bdkpython-3.2.0-cp311-cp311-win_amd64.whl
Size 4.6 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
8a37375f28208428aa4b8ac01c903e5177aeeb5e03bd588390e6210893dbd627
BLAKE2b-256 checksum
How to use checksums
b02044e336c28f92671cee1cf50686c06bc43962e617ed54d3392d952e9a6433
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 25, 2026.

Transparency log

Release files / bdkpython-3.2.0-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL bdkpython-3.2.0-cp311-cp311-manylinux_2_28_x86_64.whl
Size 5.4 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5933adeeeea5613b9e4f1aa7496ac33f43981ba8b5fd466dfa84aa9e30bad5c0
BLAKE2b-256 checksum
How to use checksums
9ae285bf4d394127aa7242307a9871526699f2b504aafef0269f9d989816c1b6
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 25, 2026.

Transparency log

Release files / bdkpython-3.2.0-cp311-cp311-macosx_11_0_x86_64.whl

Download URL bdkpython-3.2.0-cp311-cp311-macosx_11_0_x86_64.whl
Size 5.5 MB
Tags CPython 3.11 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
5091dac011c6908de6a98786c350d2c2167c6964a69be7ab8f79d5b1ea6bd54a
BLAKE2b-256 checksum
How to use checksums
3af454e85e38970233635fc55a3004888bc81a45b72e24170eb3e7a43501fb00
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 25, 2026.

Transparency log

Release files / bdkpython-3.2.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL bdkpython-3.2.0-cp311-cp311-macosx_11_0_arm64.whl
Size 5.6 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
180fd3b64d77e3d99cc399b8eeb5aa1998817de92be7a70279d56b153e7d40b5
BLAKE2b-256 checksum
How to use checksums
1b18d1c3ef80e586da9115d6ad094f12f55e03ba99e1908dc8c7491a3f9cb92b
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 25, 2026.

Transparency log

Security for bdkpython 3.2.0

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

Select from 16 files

Attestation for bdkpython-3.2.0-cp314-cp314-win_amd64.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 25, 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

3.2.0 This release

16 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