bdk-ffi/README.md

41 lines
822 B
Markdown
Raw 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
<br/>
## Install from PyPI
Install the latest release using
```shell
pip install bdkpython
```
2021-12-07 10:25:42 -05:00
<br/>
## Run the tests
```shell
2022-05-11 15:19:33 -04:00
pip3 install --requirement requirements.txt
bash ./generate.sh
python3 setup.py --verbose bdist_wheel
pip3 install ./dist/bdkpython-<yourversion>-py3-none-any.whl
2022-06-23 15:21:48 -04:00
python -m unittest --verbose tests/test_bdk.py
```
2021-12-07 10:25:42 -05:00
<br/>
## Build the package
```shell
# Install dependecies
pip install --requirement requirements.txt
# Generate the bindings first
bash generate.sh
# Build the wheel
python3 setup.py --verbose bdist_wheel
```
2021-12-07 10:25:42 -05:00
<br/>
## Install locally
```shell
2022-05-11 15:19:33 -04:00
pip install ./dist/bdkpython-<yourversion>-py3-none-any.whl
```