Skip to content

bitcoindevkit/bdk-python

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

About

The Python language bindings for BDK.

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •