Astropy Documentation

The astropy package contains key functionality and common tools needed for performing astronomy and astrophysics with Python. It is at the core of the Astropy Project, which aims to enable the community to develop a robust ecosystem of affiliated packages covering a broad range of needs for astronomical research, data processing, and data analysis.


If you use Astropy for work presented in a publication or talk please help the project via proper citation or acknowledgement. This also applies to use of software or affiliated packages that depend on the astropy core package.

Getting Started

User Documentation

Data structures and transformations

Files, I/O, and Communication

Computations and utilities

Nuts and bolts

Developer Documentation

The developer documentation contains instructions for how to contribute to Astropy or affiliated packages, install and test the development version, as well as coding, documentation, and testing guidelines.

For the guiding vision of this process and the project as a whole, see Vision for a Common Astronomy Python Package.

There are some additional tools, mostly of use for maintainers, in the astropy/astropy-tools repository.

Project details