bindings for variational system in Python