PL/Python package for Astronomy/Postgresql databases