Numpy wrapper for fpzip algorithm (P. Lindstrom & M. Isenburg, 2006) RMS Fork
Project description
Introduction
This is a fork of https://github.com/seung-lab/fpzip with changes to allow it to work with Python 3.11 and also have a different PyPI deployment system.
This fork is maintained by the Ring-Moon Systems Node of NASA's Planetary Data System.
fpzip
fpzip is a compression algorithm supporting lossless and lossy encoding for up to 4 dimensional floating point data. This package contains Python C++ bindings for the fpzip algorithm (version 1.3.0). The version number for this package is independent. Python 3.7+ is supported.
import fpzip
import numpy as np
data = np.array(..., dtype=np.float32) # up to 4d float or double array
# Compress data losslessly, interpreting the underlying buffer in C (default) or F order.
compressed_bytes = fpzip.compress(data, precision=0, order='C') # returns byte string
# Back to 3d or 4d float or double array, decode as C (default) or F order.
data_again = fpzip.decompress(compressed_bytes, order='C')
Installation
pip
Binary Installation
pip install fpzip
If we have a precompiled binary available the above command should just work. However, if you have to compile from source, it's unfortunately necessary to install numpy first because of a quirk in the Python installation procedure that won't easily recognize when a numpy installation completes in the same process. There are some hacks, but I haven't gotten them to work.
pip
Source Installation
Requires C++ compiler.
pip install numpy
pip install fpzip
Direct Installation
Requires C++ compiler.
$ pip install numpy
$ python setup.py develop
References
Algorithm and C++ code by Peter Lindstrom and Martin Isenburg. Cython interface code by William Silversmith. Check out Dr. Lindstrom's site or the fpzip Github page.
- Peter Lindstrom and Martin Isenburg, "Fast and Efficient Compression of Floating-Point Data," IEEE Transactions on Visualization and Computer Graphics, 12(5):1245-1250, September-October 2006, doi:10.1109/TVCG.2006.143.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for rms_fpzip-1.2.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9b98830c20c7c835bd15f8e929226bedff98f0e589eb396c9a6a45c18afb6f9 |
|
MD5 | 62da0f251cd66bf6735a506058185b9c |
|
BLAKE2b-256 | 28c49e0c56777883f35417034be036c7e64530035ab90ce26b2fff7d991cb926 |
Hashes for rms_fpzip-1.2.1-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de58d4f8095aa69524cf7cb7fba9a5b761cecf098cc6c8994e2595973e772ee3 |
|
MD5 | 152fe73db9b7e61eecf674a1c23e37fc |
|
BLAKE2b-256 | cecbcac70a1be6c4502700782387d1373360d493e5683add781528ad1cb0bb9c |
Hashes for rms_fpzip-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9d52c5849b13f8194affadc0cc60586ab9b86bcf8bcdcc6a2da615b2417a27c |
|
MD5 | f3e3bf0caf6e7d6c2a2a54273b24aef4 |
|
BLAKE2b-256 | e1a3c669f2f6d1a0c749c762fd27ac16f6901625b6a8a488b9e3217b389e0549 |
Hashes for rms_fpzip-1.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f14566927f9cf6cf627c5ac8335053a6431e92499e01f5167f0addb5c0806bcf |
|
MD5 | a1165c90eaaf60e7f2a4e30f1f732a89 |
|
BLAKE2b-256 | de7d81b1202edb31618f713a041b39a62ac00943f03b40828c2ebf99c16978dd |
Hashes for rms_fpzip-1.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7de7b2e7376ed1f258c065c9963ece3fc558d56a07c6cda130046bcb8f94a22e |
|
MD5 | f79a19a3a0fa75aaa1ec2ffe60a70eaa |
|
BLAKE2b-256 | 90fe6cbecc26c014f3a2d8f0ab9924b68ce02bb5c1d4ad42816fdba7b0536c90 |
Hashes for rms_fpzip-1.2.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22917450aef34d98bf3747990e7d001d76f54ac4d0502d667bea2d4427205e9e |
|
MD5 | cdc70a1ee76e0ad0ecdba3f9fdca3718 |
|
BLAKE2b-256 | 69d733f1f6bda1d8b67e2f3e795e9cd6b98c6ab8b6451218770e0bd12af75713 |
Hashes for rms_fpzip-1.2.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39b0dc4c8a4daac3d7ec9868425515e1822c603a9934bd01d305a87ac9c0b64f |
|
MD5 | cd0ece8ec845f73d71220dcc49b82e36 |
|
BLAKE2b-256 | bac6fb028254f8e63c5f6f1704f84378d90cb72ead8f89a3709ad0bcce9f50a3 |
Hashes for rms_fpzip-1.2.1-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43320ccca4e0983af1de5145f95701197f66b65a5789d9b9854c5c5d33f8506e |
|
MD5 | 7437d5fdf284f14e4d9c2b49eebff54f |
|
BLAKE2b-256 | d99ebad0a4c63245f37ccc78e8cbf313bf7faf16b3c0792aa3cafdd779674d4d |
Hashes for rms_fpzip-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d6f5cc00edfa038a78350905e0792451943a314afbc43d8a3003fdc68463acc |
|
MD5 | 071f95e25729b3ca3facbc25403ce14a |
|
BLAKE2b-256 | 260e62d87815124e519530e71f0314eb27c8443dc4d33188133e28c1fe853c6d |
Hashes for rms_fpzip-1.2.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e7b90e57de8159c42a762ba34f203c36d81dd83d89cfd277a327b17e4279495 |
|
MD5 | a30138f1ac7535f7bfd3f5dbc29b173a |
|
BLAKE2b-256 | 462f14bf8e8dbc94354d376c9c9847c3a2b8f4371a1da198ee525f49841ae9b3 |
Hashes for rms_fpzip-1.2.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31ed0405e473d8a3925aa82c86c7cf4aa0452774bf1ffa9c73da543ffdb4659b |
|
MD5 | a9758c6e23e892f7ca045c47335cf301 |
|
BLAKE2b-256 | d921cd4f59fd0f3832b1b2bbe0ea9e8fd1d919315ece90449b873dcaf12346a5 |
Hashes for rms_fpzip-1.2.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8faf6312c8f2d03350c1c9fd39b3b3e37406c7223fa549f0b900fbfdb9f29452 |
|
MD5 | 9b9bb97b81be67a37feff6604f230b5d |
|
BLAKE2b-256 | ba2daa7a13bb38f8e7fae49b5e5e6056505c7d5435737fc92f515b8023a8a2e0 |
Hashes for rms_fpzip-1.2.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da26566793e974a86a98be8cb6f6411474753c49a44654b4df272f29852ec673 |
|
MD5 | 36e0e7a2d979c88626cc84ea6171ae5c |
|
BLAKE2b-256 | 9bb0ff1481706be9bad67e2b0249b5a9e08d4a1d76a27c901f72d1dd8f84bca4 |
Hashes for rms_fpzip-1.2.1-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 601238db50327fd5b23c34b2e7973768e734d751fe5623577cd6a81cf69bcebc |
|
MD5 | 9a5a2fc2ef0fd32fae8958b2107ad620 |
|
BLAKE2b-256 | e3787721bfe7ce7dd540ee72d847cbd4edd1cafba6a034924c48588f8dcf3f2e |
Hashes for rms_fpzip-1.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 289a5d24c3d87ee4f40004df0073377fe1c25ccc826bf720e824b7e3a9b6d6dc |
|
MD5 | b43ca8eb1108fc3a2c2fbff122d035d5 |
|
BLAKE2b-256 | c3e66fbaa1ab4684b43b54259f749892e518aa54d5e66122119b437409571a00 |
Hashes for rms_fpzip-1.2.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c38b1e800a1253e0c087e38f9a559baa5fc82e7146510866177e26479416fb0 |
|
MD5 | e0f21d1c9caffa95bcc3d4c2c34971b1 |
|
BLAKE2b-256 | 9ddaffc3def047a8a3ac303ce4db6833b9c55001eb473974edc86f52b5bfdf05 |
Hashes for rms_fpzip-1.2.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0602ed601c8037a042126882481cbd8eebe4019b4cdac5deba82ef33f053d9d7 |
|
MD5 | 1d8be96124fb1fd0dd39172dede458e0 |
|
BLAKE2b-256 | d3eba19aec66ef0e50627140237f0cc9c8767f05df283281fc1296c720e16072 |
Hashes for rms_fpzip-1.2.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53068a64cde7c4d48f90449664d14b894156fbdc466937e0ca7cefac633479ee |
|
MD5 | 6810f46b7db08efc27346df0b5146f93 |
|
BLAKE2b-256 | bb1d84fb884fa061f8e2f1a520dd3af0eb06915a7f929e409b9e0710ee93ded3 |
Hashes for rms_fpzip-1.2.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b29ded882d8fe057966d6706b2f2aae3394905fd13e2d2ab5d6bd819066307c |
|
MD5 | d6b853736a058163233807acb7d49306 |
|
BLAKE2b-256 | 02551c7f2cc00ad5da4c310aa0e3c71fb2217273dd4f26efaf579019c2832c37 |
Hashes for rms_fpzip-1.2.1-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27f789b67155918cd1510ba26a4342759903a43c8011bfcb2f51be411f91c3d7 |
|
MD5 | ad60c3a4e2a697ced98e8fce0486b915 |
|
BLAKE2b-256 | 40598944362ed87a852c54218d647526511a4cc0e594552fa6f3640e31cc521c |
Hashes for rms_fpzip-1.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90394c374b756d29e47717915bff6664ff36ce5332bdf312f9b077ee434e764d |
|
MD5 | 95c15dd68da695b0e3011d2d0169075f |
|
BLAKE2b-256 | bac7ae026b1b72b0ba2afb19374a6dfd9d8ae54a449335961cff595a52e5138d |
Hashes for rms_fpzip-1.2.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e7a1baca63d84396af2883f0cfe1cf8025196761614a8b09b2a83d78d4d901d |
|
MD5 | 1c5966f253530406412c4dd3554eb3f5 |
|
BLAKE2b-256 | 9b39be0af5335425a6e316fe63e422651dd33ee4b7a3aa405940b21fc269e807 |
Hashes for rms_fpzip-1.2.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f14b514cc74bd4e79eff8543aafdc88342dde1d12c8a6f00c944c059dc18807a |
|
MD5 | d57f67f734ada963cb0be7dd17f71553 |
|
BLAKE2b-256 | a1ead47c4edc81b767017ae2591ebbe38e18be613907d442e8c1e1e1953371af |
Hashes for rms_fpzip-1.2.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff168b4ce86218c7c96dc7b2922817b6f304a5c64f36698487a1f779809dbd28 |
|
MD5 | 712a28cf64afc829321e330515c873ed |
|
BLAKE2b-256 | aac3e0b734ebe986fb9a151533b186543b9097ade35927e6a36d79de7d63b4c6 |
Hashes for rms_fpzip-1.2.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7bad01f351e3145bed7cb68b91635a6671c797abb5e8e78f9f6e90747251135 |
|
MD5 | f50b7946d9874a6097b9c4269412a104 |
|
BLAKE2b-256 | bbcce7b7c0d25eaa39a3d41b8d06a8ebc3b6347d111e3f538d0dd7dabde26e81 |
Hashes for rms_fpzip-1.2.1-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a51cbf2ae5c2eff1aba650ab82c38b64afae627145c090408161c96d28c6938d |
|
MD5 | 3c464cd4e877d43f89dbf978f927428a |
|
BLAKE2b-256 | b237e2afa61056d1a5cedbabe3e5623faddd2b0e45616e2d4d7cacf770f15615 |
Hashes for rms_fpzip-1.2.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c968bcc2173461029e6b3c7ba9000ffadd7ec9abab27238528f2aa299239bbd |
|
MD5 | e59f23f08cfd1432fb92eae900bfbb64 |
|
BLAKE2b-256 | 2a2f89a4077f07e01439cdcab1cd2a509682a2a87576d618a0ca84927780816a |
Hashes for rms_fpzip-1.2.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bef5ddf8113defcb8c46f303df4e99e2cc890a9903b51172f4bde917f10b1a96 |
|
MD5 | 727479b22f3db1f97a9c804e7a9d6ed8 |
|
BLAKE2b-256 | a64dae3719c3c65e2d64f7719cbc9071a2aedf6ff02be5134099eecdf65d5159 |
Hashes for rms_fpzip-1.2.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfa48c7ae6c17b8939b96cd293076319fed1dfd024de52eda6734c62925e1cdf |
|
MD5 | 8d276ad372d321511d696113cf37adcf |
|
BLAKE2b-256 | c7d81667989c9820cc3cea94d01ba1b205c66e1342704eee4c834c929acfa101 |
Hashes for rms_fpzip-1.2.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7435f8136d962c51a28bd7fbba13dc293d775878b547e3aaa131e282451111be |
|
MD5 | 1ae7b7947ade8a3056aece4a98709a4e |
|
BLAKE2b-256 | 7ec4521d231aac0ec524404bee76e30202219c1330f8f8a22ca515227810f57f |
Hashes for rms_fpzip-1.2.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bc55dac7226252291786121f88e893c1605f368f94b4b870cc969d9a0f1985a |
|
MD5 | 99ec3b30d5d035acf7cfec3e7b6d3f12 |
|
BLAKE2b-256 | 232bb74ea408845bba4e02f9a4ef49ef7ef2f9287af8075149c633b109e5921f |
Hashes for rms_fpzip-1.2.1-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6c5de2cb8664559d130acb513d4597bf1ef6f09dc97b1d4019066ad6759bcee |
|
MD5 | e383abd3fd4af3382463e6debfaa5fc5 |
|
BLAKE2b-256 | 362117d2e2bc886124cbff22fdd7766ab9e2b07989bc80ad3ae0599a56da832a |
Hashes for rms_fpzip-1.2.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76b3f77aca9e837271a2c591a710ecc78ae229ce114c9b4ede547ee5a4252c98 |
|
MD5 | 3d56beef423ac87f8017b0b8704aed69 |
|
BLAKE2b-256 | 52e5ac4511926d19339a3e4ae995643466ae047f15849ba5fbbb93dee80a9edc |
Hashes for rms_fpzip-1.2.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 264a9b4a55bed99a1518446fd515aca96a350011ceb764ea49901a4ad3261d1d |
|
MD5 | cf8b85c92a7af6c2cbaec888c0928d01 |
|
BLAKE2b-256 | 862b8e1fe02ccb01beac9e364251d2a0c4cc44756bb01a9bae31e7f8a814641e |
Hashes for rms_fpzip-1.2.1-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7cbb2afecedba33901e4507bbfc3bec1bbaaa9b6b70fbfa6d69003518fb2d9d |
|
MD5 | c1806c88d9c9d539254cc807e1741a04 |
|
BLAKE2b-256 | 02bcd1a9ae71c8f1348f2dd4c3c9d116cdcccefa5ac119ff4dc846ac8087c53d |
Hashes for rms_fpzip-1.2.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e5a7d31cc40259782ce40dbf3c8f92e01e8652b03f58e772c3e0886d1240e36 |
|
MD5 | 78be429edc3987f64b413a9a81f8ad08 |
|
BLAKE2b-256 | ea02e5221aa8f8d9c86eee5845816d7e7348e7a1bb4bfa4aa5dda3e5da617428 |