Guidelines and Best Practices for Writing Library Code

The notes in this section are about writing readable, maintainable Python code that your future self and other people will be able to use, maintain, and improve.

A primary guide for writing Python code is PEP 8 – Style Guide for Python Code.

Python 3

The MIDOSS project uses Python 3. Your should write and test your code using Python 3.

Other Guidelines

Please see the Salish Sea project tools docs code guidelines section for more guidelines, in particular: