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.
- As a minimum we will support the last 42 months of Python releases. This has been adopted by the wider scientific Python community and codified in Numpy Enhancement Proposal 29. If researchers require specific support for older versions of Python this can be offered.
- We have separate web pages to document our Python recommendations and we
maintain an ARC-recommended
cookiecuttertemplate, which might be a helpful starting point.
We maintain a list of recommended Python tools.
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.