c-kzg-4844/bindings/python
Justin Traglia 7e755d7280
Fix a mistake in python bindings makefile (#218)
2023-03-17 11:56:37 +02:00
..
.gitignore Add bindings to readme (#154) 2023-02-23 17:53:08 +02:00
Makefile Fix a mistake in python bindings makefile (#218) 2023-03-17 11:56:37 +02:00
README.md Update python bindings to support YAML ref tests (#161) 2023-03-04 11:24:03 -07:00
ckzg.c Change on compute_[blob_]kzg_proof function signatures (#174) 2023-03-07 13:51:43 -06:00
fft.py
kzg_proofs.py Check blob_to_kzg_commitment ret in python binding 2023-01-09 11:51:05 -06:00
multicombs.py
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 Add ref test count checks for all bindings (#211) 2023-03-15 16:39:19 +02:00
tiny_trusted_setup.txt

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