| 7 | | For now I am putting everything in an `moptimize` module for "Modular Optimization". Hopefully this will be able to replace the scipy.optimize module at somepoint. Note that coding standards, etc. can be found at the following sites: |
| 8 | | * [http://www.python.org/dev/peps/pep-0008/ PEP 8] -- Generic python coding standards. |
| 9 | | * TestingGuidelines -- !NumPy/!SciPy testing guidelines. |
| 10 | | * [source:trunk/FORMAT_GUIDELINES.txt FORMAT_GUIDELINES.txt] -- !SciPy naming standards: use_this_format_for_everything. I can't find any discussion of this and it is very annoying as python class names typically have !CapWords as specified in PEP 8. This should be checked with the newsgroup before finally deciding on names. |
| 11 | | * [source:../../numpy/browser/trunk/numpy/doc/HOWTO_DOCUMENT.txt numpy/doc/HOWTO_DOCUMENT.txt] -- !NumPy/!SciPy docstring standards to be complient with epydoc. |
| 12 | | * [http://www.scipy.org/DocstringStandard SciPy/DocstringStandard] -- Older !NumPy/!SciPy docstring standard proposal. |
| 13 | | |
| | 6 | For now I am putting everything in an `moptimize` module for "Modular Optimization". Hopefully this will be able to replace the scipy.optimize module at somepoint. |
| | 19 | |
| | 20 | == Coding Guidelines == |
| | 21 | 1. '''Style:''' Please install [http://www.logilab.org/857 pylint] and run it often as a check on your code quality. |
| | 22 | * [http://www.python.org/dev/peps/pep-0008/ Style Guide for Python Code (PEP 8)] |
| | 23 | * [http://projects.scipy.org/scipy/numpy/wiki/CodingStyleGuidelines Numpy Style Guide] |
| | 24 | * [source:trunk/FORMAT_GUIDELINES.txt FORMAT_GUIDELINES.txt] -- !SciPy naming standards: use_this_format_for_everything. I can't find any discussion of this and it is very annoying as python class names typically have !CapWords as specified in PEP 8. This should be checked with the newsgroup before finally deciding on names. |
| | 25 | 1. '''Testing:''' Please note that good documentation strings and unit tests are a crucial part of Scipy code base. These are absolutely necessary for your code to be usable by others. |
| | 26 | * TestingGuidelines |
| | 27 | 1. '''Documentation:''' |
| | 28 | * [http://projects.scipy.org/scipy/numpy/wiki/DocstringStandards Docstring standards] |
| | 29 | * [http://projects.scipy.org/scipy/numpy/browser/trunk/numpy/doc/HOWTO_DOCUMENT.txt How To Document] |
| | 30 | 1. '''License:''' All Scipy code should be made available under a revised BSD-style license. |
| | 31 | |