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
| System | Port | Version |
|---|---|---|
| FreeBSD | astro/py-fitsio | 1.4.2 |
| DragonFly | astro/py-fitsio | 1.2.5 |
| HardenedBSD | astro/py-fitsio | 1.4.2 |
| GhostBSD | astro/py-fitsio | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.4.2 | 1.4.2 | - | 1.2.6 | 1.4.2 |
| FreeBSD:14:quarterly | 1.4.2 | 1.4.2 | n/a | 1.2.6 | 1.4.2 |
| FreeBSD:15:latest | 1.4.2 | 1.4.2 | n/a | 1.2.6 | 1.2.6 |
| FreeBSD:15:quarterly | 1.4.2 | 1.4.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.4.2 | 1.4.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 4
${PYTHON_PKGNAMEPREFIX}numpy>=1.7,1: math/py-numpy${PYTHON_PKGNAMEPREFIX}setuptools>=61: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Library 1
libcfitsio.so: astro/cfitsio
Runtime 1
${PYTHON_PKGNAMEPREFIX}numpy>=1.7,1: math/py-numpy
The full lists below include those, and their dependencies in turn.
Build dependencies 32
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- astro/cfitsio
- devel/binutils
- devel/gettext-runtime
- devel/libffi
- devel/libunistring
- devel/py-build
- devel/py-installer
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-setuptools-scm
- devel/py-wheel
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/gcc14
- lang/python312
- lang/python315
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- print/indexinfo
- security/libssh2
- textproc/expat2
- www/libnghttp2
Run dependencies 24
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- astro/cfitsio
- devel/binutils
- devel/gettext-runtime
- devel/libffi
- devel/libunistring
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/gcc14
- lang/python312
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- print/indexinfo
- security/libssh2
- textproc/expat2
- www/libnghttp2
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| fitsio-1.4.2.tar.gz | 4.178786e+06 | 92a02f0e63d539d85ca5a185ae0cc8d40029270858275964ee2539ee0136f0c3 |
Master sites 1
- PYPI