Skip to main content

ASDF serialization support for astropy

CI Status Code coverage Downstream CI Status Powered by Astropy Badge https://readthedocs.org/projects/asdf-astropy/badge/?version=latest https://zenodo.org/badge/271820376.svg pre-commit https://img.shields.io/badge/code%20style-black-000000.svg

This package includes plugins that provide ASDF serialization support for astropy objects. The plugins are automatically enabled when the package is installed.

The plugins in this package supersede those in the astropy.io.misc.asdf module; when this package is installed, the astropy plugins will be ignored. The astropy.io.misc.asdf module will be removed in a future version of astropy.

License

This project is Copyright (c) Association of Universities for Research in Astronomy (AURA) and licensed under the terms of the BSD 3-Clause license. This package is based upon the Astropy package template which is licensed under the BSD 3-clause license. See the licenses folder for more information.

Installation

Stable releases of the asdf-astropy python package are registered at PyPi. The latest stable version can be installed using pip:

$ pip install asdf-astropy

The latest development version of asdf-astropy is available from the main branch on github. To clone the project:

$ git clone https://github.com/astropy/asdf-astropy

To install:

$ cd asdf-astropy
$ pip install .

To install in development mode

$ pip install -e .

Testing

To install the test dependencies from a source checkout of the repository:

$ pip install -e ".[test]"

To run the unit tests from a source checkout of the repository:

$ pytest

It is also possible to run the test suite from an installed version of the package.

$ pip install "asdf-astropy[test]"
$ pytest --pyargs asdf-astropy

It is also possible to run the tests using tox.

$ pip install tox

To list all available environments:

$ tox -va

To run a specific environment:

$ tox -e <envname>

Contributing

We love contributions! asdf-astropy is open source, built on open source, and we’d love to have you hang out in our community.

Metadata

Release files for asdf-astropy 0.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for asdf-astropy 0.12.0
File Size Uploaded Provenance Actions
asdf_astropy-0.12.0.tar.gz 85.5 kB With provenance Details for asdf_astropy-0.12.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for asdf-astropy 0.12.0
File Interpreter ABI Platform Actions
asdf_astropy-0.12.0-py3-none-any.whl Python 3 none any Details for asdf_astropy-0.12.0-py3-none-any.whl

Total release size: 196.2 kB

Release files / asdf_astropy-0.12.0.tar.gz

Download URL asdf_astropy-0.12.0.tar.gz
Size 85.5 kB
Tags Source
SHA-256 checksum
How to use checksums
76a3be9ecb17edfad6f34a56d4893c68839b51eef1c7da0372e31db17972c5f6
BLAKE2b-256 checksum
How to use checksums
d5bfa281d8a3effa6f264577249ebb038271fc53c7a9e41cf0c4b1508936f6fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Release files / asdf_astropy-0.12.0-py3-none-any.whl

Download URL asdf_astropy-0.12.0-py3-none-any.whl
Size 110.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
acf414029dc45b6cebfde918c208ad327b6220acf421aa83c00efc23205152ac
BLAKE2b-256 checksum
How to use checksums
ad72070a1e0fa77ddbefdc734f9cf0b71745ba3b1d6ac6399978dc31d19d16f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Security for asdf-astropy 0.12.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for asdf_astropy-0.12.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page