Astropy is the central Python package for astronomy developed by the Astropy Project. It standardizes common astronomy data structures and algorithms.
Overview
Astropy is the core library of the Astropy Project, a community effort to provide shared astronomy tools in Python and encourage interoperability among domain packages.
Installable from PyPI via pip, it forms the foundation that affiliated astronomy packages build on. Documentation covers installation, contributor guides, and citation practices for research use.
The project is peer-reviewed through pyOpenSci, uses modern Python packaging and quality tooling, and is sponsored by NumFOCUS. Community governance includes a published code of conduct and an AI policy for contributors.
Development can start from GitHub Codespaces with a configured dev container. The library is BSD-licensed and widely cited in astronomical software stacks.
Key features
- Unified astronomy Python APIs
- PyPI-installable core package
- Affiliated package ecosystem
- Community contributor guides
- NumFOCUS sponsorship
- Codespaces dev environment
- Citation and acknowledgment docs
Use cases
- Astronomical data analysis
- Research pipeline foundations
- Interop between Python astronomy tools