---
title: "astropy | pypx"
description: "Astronomy and astrophysics core library"
canonical_url: "https://pypx.app/packages/astropy"
meta:
  "og:description": "Astronomy and astrophysics core library"
  "og:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_astropy%2Cversion_8.0.3%2Csummary_Astronomy%2Band%2Bastrophysics%2Bcore%2Blibrary%2Clicense_BSD-3-Clause%2Cp_Ii9wYWNrYWdlcy9hc3Ryb3B5Ig%2Cs_aQ9xva2CcxZHKy_t.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "astropy 8.0.3"
  "twitter:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_astropy%2Cversion_8.0.3%2Csummary_Astronomy%2Band%2Bastrophysics%2Bcore%2Blibrary%2Clicense_BSD-3-Clause%2Cp_Ii9wYWNrYWdlcy9hc3Ryb3B5Ig%2Cs_aQ9xva2CcxZHKy_t.png"
---

> Index of every page on this site: [llms.txt](https://pypx.app/llms.txt)

# **astropy**

v8.0.3

Astronomy and astrophysics core library

6.1 MB Python 3.11+ platform-specificBSD-3-Clause5 deps

[**Diff **](https://pypx.app/packages/astropy/diff)

`$ uv add astropy`

[![Astropy](https://github.com/astropy/repo_stats/blob/main/dashboard_template/astropy_banner_gray.svg)](https://www.astropy.org/)

:Versions: [![Zenodo DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4670728.svg)](https://doi.org/10.5281/zenodo.4670728) [![Astropy's PyPI Status](https://img.shields.io/pypi/v/astropy.svg)](https://pypi.org/project/astropy) [![Supported Python Versions of latest released astropy](https://img.shields.io/pypi/pyversions/astropy)](https://pypi.org/project/astropy) :Status: [![Astropy's Coverage Status](https://codecov.io/gh/astropy/astropy/branch/main/graph/badge.svg)](https://codecov.io/gh/astropy/astropy) [![Astropy's GitHub Actions CI Status](https://github.com/astropy/astropy/actions/workflows/ci_workflows.yml/badge.svg)](https://github.com/astropy/astropy/actions) [![Astropy's CircleCI Status](https://img.shields.io/circleci/build/github/astropy/astropy/main?logo=circleci&label=CircleCI)](https://circleci.com/gh/astropy/astropy) [![Documentation Status](https://img.shields.io/readthedocs/astropy/latest.svg?logo=read%20the%20docs&logoColor=white&label=Docs&version=stable)](https://docs.astropy.org/en/stable/?badge=stable) :Tools: [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) :Community: [![pyOpenSci Peer-Reviewed](https://pyopensci.org/badges/peer-reviewed.svg)](https://github.com/pyOpenSci/software-review/issues/251)

The Astropy Project is a community effort to develop a single core package for astronomy in Python and foster interoperability between packages used in the field. This repository contains the core library.

- [Website](https://astropy.org/)
- [Documentation](https://docs.astropy.org/)
- [Slack](https://astropy.slack.com/)
- [Open Astronomy Discourse](https://community.openastronomy.org/c/astropy/8)
- [Astropy users mailing list](https://mail.python.org/mailman/listinfo/astropy)
- [Astropy developers mailing list](https://groups.google.com/g/astropy-dev)

# Installation

To install `astropy` from PyPI, use:

```bash
pip install astropy
```

For more detailed instructions, see the [install guide](https://docs.astropy.org/en/stable/install.html) in the docs.

# Contributing

[![Astropy User Statistics](https://github.com/astropy/repo_stats/blob/cache/cache/astropy_user_stats_light.png)](https://docs.astropy.org/en/latest/impact_health.html)

The Astropy Project is made both by and for its users, so we welcome and encourage contributions of many kinds. Our goal is to keep this a positive, inclusive, successful, and growing community that abides by the [Astropy Community Code of Conduct](https://www.astropy.org/about.html#codeofconduct).

For guidance on contributing to or submitting feedback for the Astropy Project, see the [contributions page](https://www.astropy.org/contribute.html). For contributing code specifically, the developer docs have a [guide](https://docs.astropy.org/en/latest/index_dev.html) with a quickstart. There's also a [summary of contribution guidelines](https://pypx.app/CONTRIBUTING.md), and Astropy's [AI Policy](https://github.com/astropy/astropy-project/blob/main/policies/ai-policy.md).

# Developing with Codespaces

GitHub Codespaces is a cloud development environment using Visual Studio Code in your browser. This is a convenient way to start developing Astropy, using our [dev container](https://pypx.app/.devcontainer/devcontainer.json) configured with the required packages. For help, see the [GitHub Codespaces docs](https://docs.github.com/en/codespaces).

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=2081289)

# Acknowledging and Citing

See the [acknowledgement and citation guide](https://www.astropy.org/acknowledging.html) and the [CITATION](https://github.com/astropy/astropy/blob/main/astropy/CITATION) file.

# Supporting the Project

[![Powered by NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](https://numfocus.org)

The Astropy Project is sponsored by NumFOCUS, a 501(c)(3) nonprofit in the United States. You can donate to the project by using the link above, and this donation will support our mission to promote sustainable, high-level code base for the astronomy community, open code development, educational materials, and reproducible scientific research.

# License

Astropy is licensed under a 3-clause BSD style license - see the [LICENSE.rst](https://pypx.app/LICENSE.rst) file.

## **Details **

<dl>

<dt>Version</dt>
<dd>8.0.3</dd>

<dt>License</dt>
<dd>BSD-3-Clause</dd>

<dt>Python</dt>
<dd>&gt;=3.11</dd>

<dt>Maintainer</dt>
<dd>The Astropy Developers &lt;astropy.team@gmail.com&gt;</dd></dl>

## **Links**

- [documentation](https://docs.astropy.org)
- [homepage](https://www.astropy.org/)
- [repository](https://github.com/astropy/astropy)
- [View on PyPI](https://pypi.org/project/astropy/)

## **Release Cadence **

**12**

releases in the past year

avg 30 days between releases

## **Platforms **

linuxarm64mac-x86mac-armwinmusl

## **Maintainers **

- The Astropy Developers · [astropy.team@gmail.com](mailto:astropy.team@gmail.com)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://pypx.app/#website","@type":"WebSite","description":"The Python Package Index, reimagined. Fast search, dependency insights, download trends, and changelogs — all in one place.","name":"pypx","url":"https://pypx.app/"},{"@id":"https://pypx.app/packages/astropy#webpage","@type":"WebPage","description":"Astronomy and astrophysics core library","name":"astropy","url":"https://pypx.app/packages/astropy","isPartOf":{"@id":"https://pypx.app/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://pypx.app/packages/astropy"]}]},{"@id":"https://pypx.app/packages/astropy#/schema/software-application/1","@type":"SoftwareApplication","applicationCategory":"DeveloperApplication","description":"Astronomy and astrophysics core library","license":"BSD-3-Clause","name":"astropy","softwareVersion":"8.0.3"}]}
```

## Sitemap

See the full [sitemap](https://pypx.app/sitemap.md) for all pages.
