straightforward implementation of hyperelliptic curves (over a prime field) in sage
aszepieniec/hyperelliptic
reference implementation in Sage for hyperelliptic curves over prime fields
Python
reference implementation in Sage for hyperelliptic curves over prime fields
Python