The "Hello" Python script looked like a good minimal example, so I refactored it a bit in the hopes that it can be used as a reference for more advanced scripts!
I also documented it excessively for the same reason, using Python docstrings and supported reStructuredText syntax. Unfortunately getting Sphinx to generate API docs for scripts using embedded modules is a bit involving, so I haven't been able to test the output yet.
This is intended as a proposal, and some changes I've made are subjective. My hope is that you can pick out the parts you like and weave that into the code standard. Some things, like documentation, can also be enforced via tests if we want to!