Add existing to tracked
This commit is contained in:
@@ -0,0 +1 @@
|
||||
pip
|
||||
@@ -0,0 +1,86 @@
|
||||
Metadata-Version: 2.4
|
||||
Name: fpzip
|
||||
Version: 1.2.5
|
||||
Summary: Numpy wrapper for fpzip algorithm (P. Lindstrom & M. Isenburg, 2006)
|
||||
Home-page: https://github.com/seung-lab/fpzip/
|
||||
Author: William Silversmith
|
||||
Author-email: ws9@princeton.edu
|
||||
License: None
|
||||
Classifier: Intended Audience :: Developers
|
||||
Classifier: Development Status :: 5 - Production/Stable
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: Programming Language :: Python :: 3.7
|
||||
Classifier: Programming Language :: Python :: 3.8
|
||||
Classifier: Programming Language :: Python :: 3.9
|
||||
Classifier: Programming Language :: Python :: 3.10
|
||||
Classifier: Programming Language :: Python :: 3.11
|
||||
Classifier: Topic :: Scientific/Engineering
|
||||
Classifier: Topic :: System :: Archiving :: Compression
|
||||
Requires-Python: >=3.8,<4.0
|
||||
Description-Content-Type: text/markdown
|
||||
License-File: LICENSE
|
||||
License-File: AUTHORS
|
||||
Requires-Dist: numpy
|
||||
Dynamic: author
|
||||
Dynamic: author-email
|
||||
Dynamic: classifier
|
||||
Dynamic: description
|
||||
Dynamic: description-content-type
|
||||
Dynamic: home-page
|
||||
Dynamic: license
|
||||
Dynamic: license-file
|
||||
Dynamic: requires-dist
|
||||
Dynamic: requires-python
|
||||
Dynamic: summary
|
||||
|
||||
[](https://badge.fury.io/py/fpzip)
|
||||
|
||||
# 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.
|
||||
|
||||
```python
|
||||
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
|
||||
|
||||
```bash
|
||||
pip install fpzip
|
||||
```
|
||||
|
||||
If we have a precompiled binary available the above command should just work. However, if you have to compile from sounce, 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.*
|
||||
|
||||
```bash
|
||||
pip install numpy
|
||||
pip install fpzip
|
||||
```
|
||||
|
||||
#### Direct Installation
|
||||
|
||||
*Requires C++ compiler.*
|
||||
|
||||
```bash
|
||||
$ 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](https://computing.llnl.gov/projects/fpzip) or the [fpzip Github page](https://github.com/LLNL/fpzip).
|
||||
|
||||
1. Peter Lindstrom and Martin Isenburg, "[Fast and Efficient Compression of Floating-Point Data,](https://www.researchgate.net/publication/6715625_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](http://dx.doi.org/10.1109/TVCG.2006.143).
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
fpzip-1.2.5.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
fpzip-1.2.5.dist-info/METADATA,sha256=00Q97twxVPiifv1uMgGzbDFlK9GKVBQy_FK9We4QU88,3234
|
||||
fpzip-1.2.5.dist-info/RECORD,,
|
||||
fpzip-1.2.5.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
fpzip-1.2.5.dist-info/WHEEL,sha256=7FNs24ztg0q2NkRcBVDvPY2wKsO99Sw2wF87303xhGY,107
|
||||
fpzip-1.2.5.dist-info/licenses/AUTHORS,sha256=AfrqKH_B2eKdhYibxEY4-h-i2H7tCkX6n0PvR4BmmZI,113
|
||||
fpzip-1.2.5.dist-info/licenses/LICENSE,sha256=suvI3Zn_lBC4LsFTqRK6seDM6gSavT6CPkB6G8eqxxo,1527
|
||||
fpzip-1.2.5.dist-info/pbr.json,sha256=hHYaOJ4gdXfe-EOpUkG_kKfIvPHc78vi0a-B_6epp5A,47
|
||||
fpzip-1.2.5.dist-info/top_level.txt,sha256=FTQGjjMLAGhaiyzBJhAZTrMW7rzMdVpM-moiFbFZMVk,6
|
||||
fpzip.cpython-39-darwin.so,sha256=XvNwGSZ8HfG1iGsLSAfGtGurDFww6dJ8WpnalxkdZw4,467800
|
||||
@@ -0,0 +1,5 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: setuptools (77.0.1)
|
||||
Root-Is-Purelib: false
|
||||
Tag: cp39-cp39-macosx_11_0_arm64
|
||||
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
Ben Jude <ben.jude@sea.global>
|
||||
William Silversmith <william.silversmith@gmail.com>
|
||||
bjude <ben.aw.jude@gmail.com>
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2022, William Silversmith
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
@@ -0,0 +1 @@
|
||||
{"git_version": "e484862", "is_release": false}
|
||||
@@ -0,0 +1 @@
|
||||
fpzip
|
||||
Reference in New Issue
Block a user