Python module for astronomy