I can\'t find any software that can do that.
I want to write it in Python.
It should be quite simple: