Link

Astronomy-related packages in Python

AstroPy

This project, by benign design, is gradually swallowing everything else. This can be direct incorporation if the package is mature and compatible enough, or as affiliated or coordinated packages with a looser relationship.

AstroPy in turn is a NumFOCUS sponsored project within that wider ecosystem of open-source scientific programming. Check it out, and please donate some cash if you can afford it – we all benefit.

Astroquery

Astroquery is a set of tools for querying astronomical web forms and databases (to quote the website). Broad-ranging and versatile, which inevitably makes it a bit confusing for novices like me, but very valuable.

AstroML

Machine learning and data mining for astronomy.

Astroplan

A toolbox for observation planning.

Astral

A relatively small Python module to calculate things like sunrise/sunset and moon phases. This can be done in Astroplan but Astral may be easier if that’s all you need.

pywwt

A python wrapper for the Worldwide Telescope. It runs in Jupyter notebooks or in a Qt window.

I haven’t yet got it working in streamlit.

Rebound

Primarily an efficient N-body simulator, but it also does animated displays in Jupyter that are otherwise quite difficult. It has APIs for both C and Python. I like this package!

Links: docs, GitHub. There are lots of non-trivial examples.