Skip to main content

The Python language bindings for the Bitcoin Development Kit

Project description

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 intitiate/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.

Local Testing and Usage

  1. Sync dependencies with uv
  2. Run one of the build script
  3. Create the wheel
  4. Install the library
  5. Run the tests
uv sync

bash scripts/generate-macos-arm64.sh

uv build --wheel -v

uv pip install ./dist/bdkpython-<yourversion>.whl --force-reinstall

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

bdkpython-2.3.1-cp313-cp313-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.13Windows x86-64

bdkpython-2.3.1-cp313-cp313-manylinux_2_28_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

bdkpython-2.3.1-cp313-cp313-macosx_11_0_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64

bdkpython-2.3.1-cp313-cp313-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

bdkpython-2.3.1-cp312-cp312-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.12Windows x86-64

bdkpython-2.3.1-cp312-cp312-manylinux_2_28_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

bdkpython-2.3.1-cp312-cp312-macosx_11_0_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

bdkpython-2.3.1-cp312-cp312-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

bdkpython-2.3.1-cp311-cp311-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.11Windows x86-64

bdkpython-2.3.1-cp311-cp311-manylinux_2_28_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

bdkpython-2.3.1-cp311-cp311-macosx_11_0_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

bdkpython-2.3.1-cp311-cp311-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

bdkpython-2.3.1-cp310-cp310-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.10Windows x86-64

bdkpython-2.3.1-cp310-cp310-manylinux_2_28_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

bdkpython-2.3.1-cp310-cp310-macosx_11_0_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

bdkpython-2.3.1-cp310-cp310-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file bdkpython-2.3.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: bdkpython-2.3.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bdkpython-2.3.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 069340a38e2a99752c78b0fed402a7b8a4f0e17d6936979c7ab0c74c07b4fb9a
MD5 1e0380dc2a952a5958fa1c77f573ab66
BLAKE2b-256 2fe0f7bff238d47fd61e2b01a00be5992b4bd57b93199d923f6307f6b6627f47

See more details on using hashes here.

File details

Details for the file bdkpython-2.3.1-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for bdkpython-2.3.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ba6553eae92f2328cff268ed654d39da04516ebbf8ef9a84d46f99e70ecd2c85
MD5 4c328f823acb0c2cf7bf1ba73d13ffa4
BLAKE2b-256 8710e4696ee690dfad84f7049da0ec4aec50fe1be9ad01031d26d5808b1df03a

See more details on using hashes here.

File details

Details for the file bdkpython-2.3.1-cp313-cp313-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for bdkpython-2.3.1-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 84f2972151ec5ad5f436ba7c5f2bbb68132c3aea7f55e4a835f92428432ca695
MD5 8ec31ab60d054fcde5ffc59741460a9f
BLAKE2b-256 97c89f9d4d5b096c50fd18b8b984a168ed533ed776d310aac45a4efc0ae5a83f

See more details on using hashes here.

File details

Details for the file bdkpython-2.3.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bdkpython-2.3.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1d8e56831d4ab330926b3d152bed90801f9d4e02de6613c95892705df576635d
MD5 5cd28cbc1f7ee0265aed176f28520af3
BLAKE2b-256 67647c1d55c4f842f0725b3602ace1be380d31d2e3566e6e674b79563ba8ddb6

See more details on using hashes here.

File details

Details for the file bdkpython-2.3.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: bdkpython-2.3.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bdkpython-2.3.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 26fcd627e0aa6c5b5782ec3d47cb7c101a71e6d02fefa6b777d117392e874904
MD5 864008c4a61d4181236bf226a5220f28
BLAKE2b-256 b48e0774521d82a7836b7dc9d9e3d71a680ab007cdf7bb894de8e8ca2e2aa9b4

See more details on using hashes here.

File details

Details for the file bdkpython-2.3.1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for bdkpython-2.3.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1e1a67e3cca819d1dc1cabea217cf0fe178c98ec60c73ccc128f464ae122d673
MD5 0b50ae118a463cb9f6d021abd3edaba3
BLAKE2b-256 72fd3b224603610cfce2ae99c70825f21b9dea017c55de86f10c80859fcf8ae9

See more details on using hashes here.

File details

Details for the file bdkpython-2.3.1-cp312-cp312-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for bdkpython-2.3.1-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 72f1a1e68ed2591ed1220c74f6eabcc55d7b4f4a06a061d59682060e153a5e7e
MD5 18480b33529328430b25952e49d9290a
BLAKE2b-256 a120c5b70772296f2acf52a92b4abc2d85dd83faf692a8751cd86078b3f503f1

See more details on using hashes here.

File details

Details for the file bdkpython-2.3.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bdkpython-2.3.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f07477d8139973891cc6048a820049867fdeb57e7b33f1b9f390b148083b4421
MD5 31ad5080db1534f7a42f8981abb92da5
BLAKE2b-256 311ffc66c696891fd85eea8de2ef60618b892de922b984eb11395dd7cea672ba

See more details on using hashes here.

File details

Details for the file bdkpython-2.3.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: bdkpython-2.3.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bdkpython-2.3.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 19fe712de3071368c79fa64bda9aad38cc9fa7d3d106411e40968ddaf5cd9f4c
MD5 adb5cf2061ebd8c9ac9777a0f2b6416f
BLAKE2b-256 e59807f4bfb0cba21785825da7628524e534831f371601681f3e6639baa96ac5

See more details on using hashes here.

File details

Details for the file bdkpython-2.3.1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for bdkpython-2.3.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 171c4f2c4e8f23bc9a1ee7f0eb2bbd6ce7c23038abf58a1bd396567269349440
MD5 53862130c180d220ef5dc32cb516f76f
BLAKE2b-256 f0d6be8afb2e90e2b1482904001b17cb0ea74f0fadd168457c4cba29bbf13717

See more details on using hashes here.

File details

Details for the file bdkpython-2.3.1-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for bdkpython-2.3.1-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 d6a20cd8765e0678507df8660ccaddb3fbe183b06bd4ae1ae2936826ba07fee6
MD5 ab1c9620421b070235704f06a469e9d4
BLAKE2b-256 f9016cdf9a6c0cbd0b3385142c1dfa34eb379bbb3d69fd3a3d97cee50146040b

See more details on using hashes here.

File details

Details for the file bdkpython-2.3.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bdkpython-2.3.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4c8d4d9b7328a9754ccb46d7b39f6c9f37590bba021e9e666ac49bf213b6c44a
MD5 0d67c3a0e997629b809972a05136e40a
BLAKE2b-256 df845771255591cf092d31714236491726d2e492139a87eaec3c6b87358984a3

See more details on using hashes here.

File details

Details for the file bdkpython-2.3.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: bdkpython-2.3.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bdkpython-2.3.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f69521987355fdb297438553445c2cdc10aaa4ee817aadd7a91197e27329519a
MD5 801f511ac59c6c1eca8e151b51238980
BLAKE2b-256 22085fd9b883b3f936af44ad0198eca6fac16fb832a32f295f35b66d920015f6

See more details on using hashes here.

File details

Details for the file bdkpython-2.3.1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for bdkpython-2.3.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7fc913d2dab0110a547dd39edb6f43fdbb041a5e2efa31267ea29a464cd638dc
MD5 ab9bda45c45810370b9e835cafc25305
BLAKE2b-256 e08fb067ecb8c6943a0c0457e8bc14e910ec128501c45572fc66927dc73e3051

See more details on using hashes here.

File details

Details for the file bdkpython-2.3.1-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for bdkpython-2.3.1-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 e2e87a912d7ac8a15f1b931593709766a08e9dccf3c80412170275afa2633eba
MD5 77ca96abd61b120b006cad0105e42a6e
BLAKE2b-256 6cb8766fab243293b8d149141e7c25df4fc4873311060a28283c837a9cd572d3

See more details on using hashes here.

File details

Details for the file bdkpython-2.3.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bdkpython-2.3.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 39c16141a69c736c889e21a5ab3649d65a592ceb7c67678f0ac396670a428741
MD5 06868a1e08369b9e8fe92e6141d597b6
BLAKE2b-256 303ec2bd0f7227ad2b81384865cd7c767c443506465309291c4f7526e46a57b6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page