Actually, I was just going to implement the solution in Python, seems like an easier approach than delving into writing Python bindings :/