27 lines
479 B
Markdown
27 lines
479 B
Markdown
# Python bindings
|
|
|
|
This directory contains Python bindings for the C-KZG-4844 library.
|
|
|
|
## Prerequisites
|
|
|
|
These bindings require `python3` and `py-ecc`.
|
|
```
|
|
sudo apt install python3 python3-pip
|
|
python3 -m pip install py-ecc
|
|
python3 -m pip install PyYAML
|
|
```
|
|
|
|
## Build & test
|
|
|
|
Everything is consolidated into one command:
|
|
```
|
|
make
|
|
```
|
|
|
|
You should expect to see these messages at the bottom:
|
|
```
|
|
python3 tests.py
|
|
tests passed
|
|
python3 py_ecc_tests.py
|
|
comparison to py_ecc passed
|
|
``` |