A command-line FITS header editor.
Project description
CLFits: Command-Line FITS Header Editor
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e90436c593cf23177ebc6e74bac35145d9b526c0ca5c4d4f7b517a27dd2f46b
|
|
| MD5 |
1969e3df9e5035706ca80e86df8974e1
|
|
| BLAKE2b-256 |
7c340656dff4e35a6eecbe0ced969731419a3c7bfb4a510395e03c1e7278021b
|
Provenance
The following attestation bundles were made for clfits-0.2.0.tar.gz:
Publisher:
release.yml on AmberLee2427/CLFits
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clfits-0.2.0.tar.gz -
Subject digest:
5e90436c593cf23177ebc6e74bac35145d9b526c0ca5c4d4f7b517a27dd2f46b - Sigstore transparency entry: 310852806
- Sigstore integration time:
-
Permalink:
AmberLee2427/CLFits@0c75b4483d4d2cd7ef0bb2d1b849d4d13659b11e -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/AmberLee2427
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0c75b4483d4d2cd7ef0bb2d1b849d4d13659b11e -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42b0eadd44218259273e5f298196a0480a603d0f8c4cadd4f38daa0d581fc189
|
|
| MD5 |
efcb51d40b393df033dc74e319bd1059
|
|
| BLAKE2b-256 |
14bd3982ad82b156752008a2fcf6bb6b2242132c07dad949ae5b24e3dcae7ab8
|
Provenance
The following attestation bundles were made for clfits-0.2.0-py3-none-any.whl:
Publisher:
release.yml on AmberLee2427/CLFits
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clfits-0.2.0-py3-none-any.whl -
Subject digest:
42b0eadd44218259273e5f298196a0480a603d0f8c4cadd4f38daa0d581fc189 - Sigstore transparency entry: 310852813
- Sigstore integration time:
-
Permalink:
AmberLee2427/CLFits@0c75b4483d4d2cd7ef0bb2d1b849d4d13659b11e -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/AmberLee2427
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0c75b4483d4d2cd7ef0bb2d1b849d4d13659b11e -
Trigger Event:
push
-
Statement type: