I hope this helps: https://gist.github.com/chirag1992m/4c1f2cb27d7c138a4dc76aeddfe940c2
For larger larger projects you may also want to look into this: https://github.com/Microsoft/MMdnn
I hope this helps: https://gist.github.com/chirag1992m/4c1f2cb27d7c138a4dc76aeddfe940c2
For larger larger projects you may also want to look into this: https://github.com/Microsoft/MMdnn