BSD Ports

astro/py-fitsio 1.4.2 FreeBSD

Full featured python library to read from and write to FITS files

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
b32b3ad822
License
GPLv2
Categories
astro, python
Package size
319.3 KiB, 1742.8 KiB installed

Description

fitsio is a python extension written in c and python. Data are read into numerical python arrays.

Some Features:

  • Read from and write to image, binary, and ascii table extensions.
  • Read arbitrary subsets of table columns and rows without loading all the data to memory.
  • Read image subsets without reading the whole image. Write subsets to existing images.
  • Write and read variable length table columns.
  • Read images and tables using slice notation similar to numpy arrays. This is like a more powerful memmap, since it is column-aware for tables.
  • Append rows to an existing table. Delete row sets and row ranges. Resize tables, or insert rows.
  • Query the columns and rows in a table.
  • Read and write header keywords.
  • Read and write images in tile-compressed format (RICE,GZIP,PLIO,HCOMPRESS).
  • Read/write gzip files directly. Read unix compress (.Z,.zip) and bzip2 (.bz2) files.
  • TDIM information is used to return array columns in the correct shape.
  • Write and read string table columns, including array columns of arbitrary shape.
  • Read and write complex, bool (logical), unsigned integer, signed bytes types.
  • Write checksums into the header and verify them.
  • Insert new columns into tables in-place.
  • Iterate over rows in a table. Data are buffered for efficiency.
  • python 3 support, including python 3 strings

In the other systems

SystemPortVersion
FreeBSDastro/py-fitsio1.4.2
DragonFlyastro/py-fitsio1.2.5
HardenedBSDastro/py-fitsio1.4.2
GhostBSDastro/py-fitsio1.4.2

Install

Binary package:

pkg install py312-fitsio

From the ports tree:

cd /usr/ports/astro/py-fitsio/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-fitsio>0:astro/py-fitsio

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.4.21.4.2-1.2.61.4.2
FreeBSD:14:quarterly1.4.21.4.2n/a1.2.61.4.2
FreeBSD:15:latest1.4.21.4.2n/a1.2.61.2.6
FreeBSD:15:quarterly1.4.21.4.2n/an/an/a
FreeBSD:16:latest1.4.21.4.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 4

Library 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 32
Run dependencies 24

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
fitsio-1.4.2.tar.gz4.178786e+0692a02f0e63d539d85ca5a185ae0cc8d40029270858275964ee2539ee0136f0c3
Master sites 1
  • PYPI

Commit history 3

DateCommitCreditsLog message
b32b3ad822 Po-Chuan Hsieh astro/py-fitsio: Update to 1.4.2
Changes: https://github.com/esheldon/fitsio/releases
cd0a5411ce Po-Chuan Hsieh astro/py-fitsio: Update to 1.4.1
Changes: https://github.com/esheldon/fitsio/releases
d91dcc1dac Po-Chuan Hsieh astro/py-fitsio: Update to 1.4.0
Changes: https://github.com/esheldon/fitsio/releases