bdk-ffi/bdk-python/README.md

37 lines
903 B
Markdown
Raw Permalink Normal View History

2021-12-06 13:04:15 -05:00
# bdk-python
The Python language bindings for the [bitcoindevkit](https://github.com/bitcoindevkit).
See the [package on PyPI](https://pypi.org/project/bdkpython/).
2021-12-13 19:43:39 -05:00
## Install from PyPI
Install the latest release using
```shell
pip install bdkpython
```
## Run the tests
```shell
2023-03-01 10:52:02 -05:00
pip install --requirement requirements.txt
bash ./scripts/generate-linux.sh # here you should run the script appropriate for your platform
2023-03-01 10:52:02 -05:00
python setup.py bdist_wheel --verbose
pip install ./dist/bdkpython-<yourversion>.whl --force-reinstall
python -m unittest --verbose
```
## Build the package
```shell
# Install dependencies
pip install --requirement requirements.txt
# Generate the bindings (use the script appropriate for your platform)
bash ./scripts/generate-linux.sh
# Build the wheel
2023-03-01 10:52:02 -05:00
python setup.py --verbose bdist_wheel
```
## Install locally
```shell
pip install ./dist/bdkpython-<yourversion>.whl
```