I've been working from home for the last few weeks and with the extra time on my hands, I figured I'd try my hand at creating a tutorial for one of the things that may seem a bit more daunting to get started on; writing Maya plugins.
This is a very basic tutorial going over how to create a simple plugin and should allow you to take what you need from it to start creating your own plugins.
You can find the code from this tutorial on my Github: https://github.com/mvanneutigem/tutorials/blob/master/plugins/demoNode.py