c-kzg-4844/bindings/python
Justin Traglia 8ade71a137
Update python bindings to support YAML ref tests (#161)
2023-03-04 11:24:03 -07:00
..
.gitignore Add bindings to readme (#154) 2023-02-23 17:53:08 +02:00
Makefile Add bindings to readme (#154) 2023-02-23 17:53:08 +02:00
README.md Update python bindings to support YAML ref tests (#161) 2023-03-04 11:24:03 -07:00
ckzg.c Update python bindings (#145) 2023-02-20 16:00:13 +00:00
fft.py Test equivalence with py_ecc 2022-09-19 19:56:43 +01:00
kzg_proofs.py Check blob_to_kzg_commitment ret in python binding 2023-01-09 11:51:05 -06:00
multicombs.py Test equivalence with py_ecc 2022-09-19 19:56:43 +01:00
py_ecc_tests.py Bytes-only interface (#62) 2023-01-16 20:05:23 +00:00
setup.py Fix python bindings on macOS (#117) 2023-02-07 22:13:54 +00:00
tests.py Update python bindings to support YAML ref tests (#161) 2023-03-04 11:24:03 -07:00
tiny_trusted_setup.txt Remove unused code, remove min- prefix 2022-11-01 14:24:02 +00:00

README.md

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