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

Search for all keywords related to the observation date:

clfits search my_image.fits --key "DATE*"

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.3.0.tar.gz (10.7 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.3.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for clfits-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6def7c7fd7f4a137dd37ceb144c3a59059de875a9e699bbac13444e13c461aac
MD5 785ecc9bda77b8d9b9d5a94cfc5caad9
BLAKE2b-256 8a74e3b8a3d32d4be65ef31e7e56886fb45683e08abb5ec2fed293fe229131ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for clfits-0.3.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.3.0-py3-none-any.whl.

File metadata

  • Download URL: clfits-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 8.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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 53d3ec9d6bd40201c517f99be36400a1e31bfc2d52f8eaf5ec93b812fe21879f
MD5 b4bf618488d0b9b849c41466dfc218aa
BLAKE2b-256 2afcc2b183516dbe8cf53f7e7f5c26d58ae30e2a64ee8e541d0591a2b2199ddb

See more details on using hashes here.

Provenance

The following attestation bundles were made for clfits-0.3.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