"""module docstring"""
# imports
# constants
# classes
# functions
def main(...):
...
if __name__ == '__main__':
main()
My approach
- Modules for core functionality
- Script with paper specific functions and commands
- Command line interactions to allow control of the code