Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python bindings to the libpolycomp C library

Project description


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).


1. Either Python 2.7 or 3.4 will work

2. Libpolycomp ( must already
be installed

3. The following Python libraries are required:
- `click` (;
- `numpy` (;
- Either `astropy` (version 0.4 or greater, or
`pyfits` ( (The
`` 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

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.

Files for polycomp, version 1.0.4
Filename, size File type Python version Upload date Hashes
Filename, size polycomp-1.0.4.tar.gz (115.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page