If you can work with python cosmic python (http://www.cosmicpython.com/book/preface.html) is a great resource
OMG I just realized I can use other people's code so I don't have to write all of it myself.
Jokes aside, cool project!
If you can work with python cosmic python (http://www.cosmicpython.com/book/preface.html) is a great resource