Follow this link to go to a page where you can interactively run Python scripts to calculate line ratios as a function of density or temperature, for lines from one ion. The results are the same as the IDL version.
NOTE: the link is not active yet as programs are being tested.