I wrote a python re-implementation of the popular Fortran radiative transfer code RADEX. The new code is called pythonradex and is publicly available on GitHub. Please see the documentation for more details. An accompanying paper was published in the Journal of Open Source Software.
Image credit: Sergio Otárola – ALMA (ESO/NAOJ/NRAO)