research-software-practices

Python

Python code should, as a minimum, adhere to the PEP8 Python coding standard. We also encourage compliance with modern style recommendations, such as type annotations in PEP484.

We maintain a list of recommended Python tools.

Packaging and Releasing

For more general information on releasing, see the release management guide.

Python code should be released as “wheels” using build, and, ideally, be published through the Python Package Index or conda-forge.