A Python3 Implementation of LLL.
python3 -m pip install olll
or
curl -O https://raw.githubusercontent.com/orisano/olll/master/olll.py
import olll
reduced_basis = olll.reduction([
[1, 1, 1],
[-1, 0, 2],
[3, 5, 6],
], 0.75)
print(reduced_basis)
# [[0, 1, 0], [1, 0, 1], [-1, 0, 2]]
Nao Yonashiro(@orisano)
MIT