Skip to main content

A command-line FITS header editor.

Project description

CLFits: Command-Line FITS Header Editor

PyPI Version CI Status codecov License: MIT

A simple, robust command-line tool for viewing and editing FITS file headers.

🚀 Installation

Install CLFits directly from PyPI:

pip install clfits

✨ Quick Start

CLFits provides a straightforward, command-based interface for header manipulation.

View the entire header:

clfits view my_image.fits

Get the value of a specific keyword:

clfits get my_image.fits OBJECT

Set a keyword's value and comment:

clfits set my_image.fits OBJECT "NGC 4993" --comment "Corrected object name"

Delete a keyword:

clfits del my_image.fits HISTORY

Export the header to JSON:

clfits export my_image.fits --format json

Export the header to a YAML file (format is inferred from filename):

clfits export my_image.fits --output header.yml

For more detailed instructions, see the full documentation.

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

clfits-0.2.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

clfits-0.2.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file clfits-0.2.0.tar.gz.

File metadata

  • Download URL: clfits-0.2.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for clfits-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5e90436c593cf23177ebc6e74bac35145d9b526c0ca5c4d4f7b517a27dd2f46b
MD5 1969e3df9e5035706ca80e86df8974e1
BLAKE2b-256 7c340656dff4e35a6eecbe0ced969731419a3c7bfb4a510395e03c1e7278021b

See more details on using hashes here.

Provenance

The following attestation bundles were made for clfits-0.2.0.tar.gz:

Publisher: release.yml on AmberLee2427/CLFits

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clfits-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: clfits-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for clfits-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 42b0eadd44218259273e5f298196a0480a603d0f8c4cadd4f38daa0d581fc189
MD5 efcb51d40b393df033dc74e319bd1059
BLAKE2b-256 14bd3982ad82b156752008a2fcf6bb6b2242132c07dad949ae5b24e3dcae7ab8

See more details on using hashes here.

Provenance

The following attestation bundles were made for clfits-0.2.0-py3-none-any.whl:

Publisher: release.yml on AmberLee2427/CLFits

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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