Python bindings to the libpolycomp C library
Project description
========
Polycomp
========
This package provides a set of Python bindings to the libpolycomp
library, as well as a stand-alone program which can be used to
compress/decompress FITS files into polycomp files (still FITS files
in disguise).
Requirements
------------
1. Either Python 2.7 or 3.4 will work
2. Libpolycomp (https://github.com/ziotom78/libpolycomp) must already
be installed
3. The following Python libraries are required:
- `click` (http://click.pocoo.org/5/);
- `numpy` (http://www.numpy.org/);
- Either `astropy` (version 0.4 or greater, http://www.astropy.org/) or
`pyfits` (http://www.stsci.edu/institute/software_hardware/pyfits). (The
`setup.py` script installs Astropy.)
**Note**: Recent versions of NumPy (1.10) seem to be incompatible with PyFits
3.3: saving files will lead to strange assertion errors. NumPy 1.8.2 and PyFits
3.3 are fine.
Basic usage
-----------
To use the bindings in your code, simply import ``pypolycomp`` in your
project::
import pypolycomp
This package provides also a standalone program, ``polycomp``. Use the
``--help`` flag to get some help about how to use it::
$ polycomp --help
Polycomp
========
This package provides a set of Python bindings to the libpolycomp
library, as well as a stand-alone program which can be used to
compress/decompress FITS files into polycomp files (still FITS files
in disguise).
Requirements
------------
1. Either Python 2.7 or 3.4 will work
2. Libpolycomp (https://github.com/ziotom78/libpolycomp) must already
be installed
3. The following Python libraries are required:
- `click` (http://click.pocoo.org/5/);
- `numpy` (http://www.numpy.org/);
- Either `astropy` (version 0.4 or greater, http://www.astropy.org/) or
`pyfits` (http://www.stsci.edu/institute/software_hardware/pyfits). (The
`setup.py` script installs Astropy.)
**Note**: Recent versions of NumPy (1.10) seem to be incompatible with PyFits
3.3: saving files will lead to strange assertion errors. NumPy 1.8.2 and PyFits
3.3 are fine.
Basic usage
-----------
To use the bindings in your code, simply import ``pypolycomp`` in your
project::
import pypolycomp
This package provides also a standalone program, ``polycomp``. Use the
``--help`` flag to get some help about how to use it::
$ polycomp --help
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
polycomp-1.0.3.tar.gz
(113.6 kB
view details)
File details
Details for the file polycomp-1.0.3.tar.gz
.
File metadata
- Download URL: polycomp-1.0.3.tar.gz
- Upload date:
- Size: 113.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0590a8a5d009beec83c0c2429733f5df6ab2534bea3e96f98e9dab0fb751cda4 |
|
MD5 | f0a94577c24ea0c2d4ccd151c5952fbd |
|
BLAKE2b-256 | 1563e0ad227833c41933e23e8f602b6a16087c23937dff6ecf9b50dc0eabf260 |