Skip to main content

A Python package for reading, cleaning, and exporting astronomical metadata.

Project description

AstroMetaPy

AstroMetaPy is a Python package designed to streamline the handling of astronomical metadata. It provides tools to:

  • Read metadata from FITS files, VO tables, and catalogs.
  • Clean and validate metadata against standard schemas.
  • Export metadata in various formats (CSV, JSON, VOtable).

Installation

You can install AstroMetaPy via pip:

pip install astrometapy

Usage

Command Line Interface

After installation, you can run the CLI:

astrometapy read-fits path/to/file.fits --output header.json

Programmatic Usage

from astrometapy.readers import fits_reader

header = fits_reader.load_fits_header("path/to/file.fits")
print(header)

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

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

astrometapy-0.1.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

astrometapy-0.1.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file astrometapy-0.1.0.tar.gz.

File metadata

  • Download URL: astrometapy-0.1.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for astrometapy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1c74ba1e62988bf512c28c4eb6c5cefb7778999dd21d77f01fd58290699ed7fe
MD5 ac0784a2cd8e711415c0bb6a1ce3b72d
BLAKE2b-256 b58e6b8d5816ba8483ec819a01d518efceaa838a4327ab3906b58196ac2ca70e

See more details on using hashes here.

File details

Details for the file astrometapy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: astrometapy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for astrometapy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22658cea01f85fd4d18d099fed974300f43a647b169f9bb027ef2700dae06b20
MD5 817dacc763d32ef1c601cb3396d56b57
BLAKE2b-256 ee6245dece4ddf8e84047c6951492661ae27add786b71b356d401b94e25d37ac

See more details on using hashes here.

Supported by

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