Skip to main content

ASDF serialization support for astropy

Project description

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 https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asdf-astropy-0.6.0.tar.gz (72.6 kB view details)

Uploaded Source

Built Distribution

asdf_astropy-0.6.0-py3-none-any.whl (83.4 kB view details)

Uploaded Python 3

File details

Details for the file asdf-astropy-0.6.0.tar.gz.

File metadata

  • Download URL: asdf-astropy-0.6.0.tar.gz
  • Upload date:
  • Size: 72.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for asdf-astropy-0.6.0.tar.gz
Algorithm Hash digest
SHA256 f0835960154f24f9a030974f225988edeac1109a7f8faf2bdf2abe29a79dbc33
MD5 93ae9920bab7ea5afa162777a1a0eaf6
BLAKE2b-256 d1fb33a1bb3f3693ccea3deeadd569b1ee2707c1a56f3b2595ab59624a35bb39

See more details on using hashes here.

File details

Details for the file asdf_astropy-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: asdf_astropy-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 83.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for asdf_astropy-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 edbc6719bdc9781b0b362fd4f0f373e3b510dbb5ffa3817d5e86a0ed97b81b6f
MD5 c71482e64dcbcb979c0a3ee49575fd96
BLAKE2b-256 a68b2a9338a577eecdc465cdae261b7a138b9a8b47d01983acbf4926f79cce59

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page