2023-02-23 15:53:08 +00:00
|
|
|
# Python bindings
|
|
|
|
|
|
|
|
This directory contains Python bindings for the C-KZG-4844 library.
|
|
|
|
|
|
|
|
## Prerequisites
|
|
|
|
|
2023-05-10 09:05:55 +00:00
|
|
|
These bindings require `python3` and `PyYAML`.
|
2023-02-23 15:53:08 +00:00
|
|
|
```
|
|
|
|
sudo apt install python3 python3-pip
|
2023-03-04 18:24:03 +00:00
|
|
|
python3 -m pip install PyYAML
|
2023-02-23 15:53:08 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Build & test
|
|
|
|
|
|
|
|
Everything is consolidated into one command:
|
|
|
|
```
|
|
|
|
make
|
|
|
|
```
|
|
|
|
|
|
|
|
You should expect to see these messages at the bottom:
|
|
|
|
```
|
|
|
|
python3 tests.py
|
|
|
|
tests passed
|
|
|
|
```
|