zgyfast 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. zgyfast-0.1.0/Cargo.lock +680 -0
  2. zgyfast-0.1.0/Cargo.toml +7 -0
  3. zgyfast-0.1.0/LICENSE +21 -0
  4. zgyfast-0.1.0/PKG-INFO +195 -0
  5. zgyfast-0.1.0/README.md +180 -0
  6. zgyfast-0.1.0/crates/zfp/.gitignore +2 -0
  7. zgyfast-0.1.0/crates/zfp/Cargo.toml +11 -0
  8. zgyfast-0.1.0/crates/zfp/LICENSE +29 -0
  9. zgyfast-0.1.0/crates/zfp/NOTICE +21 -0
  10. zgyfast-0.1.0/crates/zfp/README.md +78 -0
  11. zgyfast-0.1.0/crates/zfp/examples/bench.rs +44 -0
  12. zgyfast-0.1.0/crates/zfp/examples/bench_zfpy.py +27 -0
  13. zgyfast-0.1.0/crates/zfp/src/bitstream.rs +194 -0
  14. zgyfast-0.1.0/crates/zfp/src/codec.rs +837 -0
  15. zgyfast-0.1.0/crates/zfp/src/lib.rs +415 -0
  16. zgyfast-0.1.0/crates/zfp/tests/fixtures/int3d_6x9x7.p16.zfp +0 -0
  17. zgyfast-0.1.0/crates/zfp/tests/fixtures/int3d_6x9x7.p32.zfp +0 -0
  18. zgyfast-0.1.0/crates/zfp/tests/fixtures/int3d_6x9x7.rev.zfp +0 -0
  19. zgyfast-0.1.0/crates/zfp/tests/fixtures/manifest.txt +70 -0
  20. zgyfast-0.1.0/crates/zfp/tests/fixtures/mixed_9x6x11.p12.zfp +0 -0
  21. zgyfast-0.1.0/crates/zfp/tests/fixtures/mixed_9x6x11.p16.zfp +0 -0
  22. zgyfast-0.1.0/crates/zfp/tests/fixtures/mixed_9x6x11.p20.zfp +0 -0
  23. zgyfast-0.1.0/crates/zfp/tests/fixtures/mixed_9x6x11.p32.zfp +0 -0
  24. zgyfast-0.1.0/crates/zfp/tests/fixtures/mixed_9x6x11.p4.zfp +0 -0
  25. zgyfast-0.1.0/crates/zfp/tests/fixtures/mixed_9x6x11.p8.zfp +0 -0
  26. zgyfast-0.1.0/crates/zfp/tests/fixtures/mixed_9x6x11.rev.zfp +0 -0
  27. zgyfast-0.1.0/crates/zfp/tests/fixtures/mixed_9x6x11.tol=1e-20.zfp +0 -0
  28. zgyfast-0.1.0/crates/zfp/tests/fixtures/noise2d_10x13.p12.zfp +0 -0
  29. zgyfast-0.1.0/crates/zfp/tests/fixtures/noise2d_10x13.rate=8.zfp +0 -0
  30. zgyfast-0.1.0/crates/zfp/tests/fixtures/noise2d_10x13.rev.zfp +0 -0
  31. zgyfast-0.1.0/crates/zfp/tests/fixtures/noise2d_10x13.tol=0.1.zfp +0 -0
  32. zgyfast-0.1.0/crates/zfp/tests/fixtures/noise_5x7x9.p12.zfp +0 -0
  33. zgyfast-0.1.0/crates/zfp/tests/fixtures/noise_5x7x9.p16.zfp +0 -0
  34. zgyfast-0.1.0/crates/zfp/tests/fixtures/noise_5x7x9.p20.zfp +0 -0
  35. zgyfast-0.1.0/crates/zfp/tests/fixtures/noise_5x7x9.p32.zfp +0 -0
  36. zgyfast-0.1.0/crates/zfp/tests/fixtures/noise_5x7x9.p4.zfp +0 -0
  37. zgyfast-0.1.0/crates/zfp/tests/fixtures/noise_5x7x9.p8.zfp +0 -0
  38. zgyfast-0.1.0/crates/zfp/tests/fixtures/noise_5x7x9.rate=0.25.zfp +0 -0
  39. zgyfast-0.1.0/crates/zfp/tests/fixtures/noise_5x7x9.rate=1.zfp +0 -0
  40. zgyfast-0.1.0/crates/zfp/tests/fixtures/noise_5x7x9.rate=16.zfp +0 -0
  41. zgyfast-0.1.0/crates/zfp/tests/fixtures/noise_5x7x9.rev.zfp +0 -0
  42. zgyfast-0.1.0/crates/zfp/tests/fixtures/noise_5x7x9.tol=0.001.zfp +0 -0
  43. zgyfast-0.1.0/crates/zfp/tests/fixtures/seismic64.p16.zfp +0 -0
  44. zgyfast-0.1.0/crates/zfp/tests/fixtures/seismic64.p8.zfp +0 -0
  45. zgyfast-0.1.0/crates/zfp/tests/fixtures/seismic64.rev.zfp +0 -0
  46. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth16.p0.zfp +0 -0
  47. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth16.p32.zfp +0 -0
  48. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth16.p64.zfp +0 -0
  49. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth16.rev.zfp +0 -0
  50. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth1d_37.p12.zfp +0 -0
  51. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth1d_37.rate=8.zfp +0 -0
  52. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth1d_37.rev.zfp +0 -0
  53. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth1d_37.tol=0.1.zfp +0 -0
  54. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth64.p12.zfp +0 -0
  55. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth64.p16.zfp +0 -0
  56. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth64.p20.zfp +0 -0
  57. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth64.p4.zfp +31 -0
  58. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth64.p8.zfp +0 -0
  59. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth64.rate=4.zfp +0 -0
  60. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth64.rev.zfp +0 -0
  61. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth64.tol=0.01.zfp +0 -0
  62. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth_13x1x2.p12.zfp +0 -0
  63. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth_13x1x2.p16.zfp +0 -0
  64. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth_13x1x2.p20.zfp +0 -0
  65. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth_13x1x2.p4.zfp +0 -0
  66. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth_13x1x2.p8.zfp +0 -0
  67. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth_13x1x2.rev.zfp +0 -0
  68. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth_1x1x13.p12.zfp +0 -0
  69. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth_1x1x13.p16.zfp +0 -0
  70. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth_1x1x13.p20.zfp +0 -0
  71. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth_1x1x13.p4.zfp +0 -0
  72. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth_1x1x13.p8.zfp +0 -0
  73. zgyfast-0.1.0/crates/zfp/tests/fixtures/smooth_1x1x13.rev.zfp +0 -0
  74. zgyfast-0.1.0/crates/zfp/tests/fixtures/tiny_8x8x8.p12.zfp +0 -0
  75. zgyfast-0.1.0/crates/zfp/tests/fixtures/tiny_8x8x8.p16.zfp +0 -0
  76. zgyfast-0.1.0/crates/zfp/tests/fixtures/tiny_8x8x8.p20.zfp +0 -0
  77. zgyfast-0.1.0/crates/zfp/tests/fixtures/tiny_8x8x8.p4.zfp +0 -0
  78. zgyfast-0.1.0/crates/zfp/tests/fixtures/tiny_8x8x8.p8.zfp +0 -0
  79. zgyfast-0.1.0/crates/zfp/tests/fixtures/tiny_8x8x8.rev.zfp +0 -0
  80. zgyfast-0.1.0/crates/zfp/tests/fixtures/zeros_6x5x4.p12.zfp +0 -0
  81. zgyfast-0.1.0/crates/zfp/tests/fixtures/zeros_6x5x4.p16.zfp +0 -0
  82. zgyfast-0.1.0/crates/zfp/tests/fixtures/zeros_6x5x4.p20.zfp +0 -0
  83. zgyfast-0.1.0/crates/zfp/tests/fixtures/zeros_6x5x4.p4.zfp +0 -0
  84. zgyfast-0.1.0/crates/zfp/tests/fixtures/zeros_6x5x4.p8.zfp +0 -0
  85. zgyfast-0.1.0/crates/zfp/tests/fixtures/zeros_6x5x4.rate=2.zfp +0 -0
  86. zgyfast-0.1.0/crates/zfp/tests/fixtures/zeros_6x5x4.rev.zfp +0 -0
  87. zgyfast-0.1.0/crates/zfp/tests/fixtures.rs +122 -0
  88. zgyfast-0.1.0/crates/zfp/tests/gen_fixtures.py +129 -0
  89. zgyfast-0.1.0/crates/zgy/Cargo.toml +15 -0
  90. zgyfast-0.1.0/crates/zgy/src/lib.rs +229 -0
  91. zgyfast-0.1.0/crates/zgy/src/meta.rs +586 -0
  92. zgyfast-0.1.0/crates/zgy/src/reader.rs +612 -0
  93. zgyfast-0.1.0/crates/zgy/src/writer.rs +955 -0
  94. zgyfast-0.1.0/crates/zgy-py/Cargo.toml +17 -0
  95. zgyfast-0.1.0/crates/zgy-py/src/http.rs +273 -0
  96. zgyfast-0.1.0/crates/zgy-py/src/lib.rs +277 -0
  97. zgyfast-0.1.0/pyproject.toml +29 -0
  98. zgyfast-0.1.0/python/zgyfast/__init__.py +230 -0
  99. zgyfast-0.1.0/python/zgyfast/tools.py +12 -0
@@ -0,0 +1,680 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "adler2"
7
+ version = "2.0.1"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
10
+
11
+ [[package]]
12
+ name = "autocfg"
13
+ version = "1.5.1"
14
+ source = "registry+https://github.com/rust-lang/crates.io-index"
15
+ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
16
+
17
+ [[package]]
18
+ name = "base64"
19
+ version = "0.23.1"
20
+ source = "registry+https://github.com/rust-lang/crates.io-index"
21
+ checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5"
22
+
23
+ [[package]]
24
+ name = "bumpalo"
25
+ version = "3.20.4"
26
+ source = "registry+https://github.com/rust-lang/crates.io-index"
27
+ checksum = "87a0cf66fd1eb2fb7b822cb78370d82303750809bc6ba855f3f58e517d3238db"
28
+
29
+ [[package]]
30
+ name = "bytes"
31
+ version = "1.12.2"
32
+ source = "registry+https://github.com/rust-lang/crates.io-index"
33
+ checksum = "776dfebd015e2d8732c684a2c71003674ccb49457b539b9e82151ba38e96dd7c"
34
+
35
+ [[package]]
36
+ name = "cc"
37
+ version = "1.12.0"
38
+ source = "registry+https://github.com/rust-lang/crates.io-index"
39
+ checksum = "95e45cf2980b2d467be49a9ed942c9179b701063a7ca3d037de7ee9bd67f8d66"
40
+ dependencies = [
41
+ "find-msvc-tools",
42
+ "shlex",
43
+ ]
44
+
45
+ [[package]]
46
+ name = "cfg-if"
47
+ version = "1.0.5"
48
+ source = "registry+https://github.com/rust-lang/crates.io-index"
49
+ checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
50
+
51
+ [[package]]
52
+ name = "crc32fast"
53
+ version = "1.5.6"
54
+ source = "registry+https://github.com/rust-lang/crates.io-index"
55
+ checksum = "fd9ae8fcb3ea71b0b26338b4ffb13006bb175de8fd07921089a906ce7e5e6945"
56
+ dependencies = [
57
+ "cfg-if",
58
+ ]
59
+
60
+ [[package]]
61
+ name = "crossbeam-deque"
62
+ version = "0.8.8"
63
+ source = "registry+https://github.com/rust-lang/crates.io-index"
64
+ checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a"
65
+ dependencies = [
66
+ "crossbeam-epoch",
67
+ "crossbeam-utils",
68
+ ]
69
+
70
+ [[package]]
71
+ name = "crossbeam-epoch"
72
+ version = "0.9.21"
73
+ source = "registry+https://github.com/rust-lang/crates.io-index"
74
+ checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d"
75
+ dependencies = [
76
+ "crossbeam-utils",
77
+ ]
78
+
79
+ [[package]]
80
+ name = "crossbeam-utils"
81
+ version = "0.8.23"
82
+ source = "registry+https://github.com/rust-lang/crates.io-index"
83
+ checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6"
84
+
85
+ [[package]]
86
+ name = "either"
87
+ version = "1.19.0"
88
+ source = "registry+https://github.com/rust-lang/crates.io-index"
89
+ checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
90
+
91
+ [[package]]
92
+ name = "find-msvc-tools"
93
+ version = "0.1.16"
94
+ source = "registry+https://github.com/rust-lang/crates.io-index"
95
+ checksum = "3e44f110d1777dc6559a51e7d45083945ded4f1bf3305494350f693b6d20b9c8"
96
+
97
+ [[package]]
98
+ name = "flate2"
99
+ version = "1.1.11"
100
+ source = "registry+https://github.com/rust-lang/crates.io-index"
101
+ checksum = "626d4928326b646e70f65ed36fc7cf9f206bdb68a0019ee7c6b4709da4e084c4"
102
+ dependencies = [
103
+ "crc32fast",
104
+ "miniz_oxide",
105
+ "zlib-rs",
106
+ ]
107
+
108
+ [[package]]
109
+ name = "getrandom"
110
+ version = "0.2.17"
111
+ source = "registry+https://github.com/rust-lang/crates.io-index"
112
+ checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
113
+ dependencies = [
114
+ "cfg-if",
115
+ "libc",
116
+ "wasi",
117
+ ]
118
+
119
+ [[package]]
120
+ name = "heck"
121
+ version = "0.5.0"
122
+ source = "registry+https://github.com/rust-lang/crates.io-index"
123
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
124
+
125
+ [[package]]
126
+ name = "http"
127
+ version = "1.6.0"
128
+ source = "registry+https://github.com/rust-lang/crates.io-index"
129
+ checksum = "a07dc2d082802d1782faa5b3c8ac252f3a4fc89f51e76c3f37dc2d1a5b857c05"
130
+ dependencies = [
131
+ "bytes",
132
+ "itoa",
133
+ ]
134
+
135
+ [[package]]
136
+ name = "httparse"
137
+ version = "1.10.1"
138
+ source = "registry+https://github.com/rust-lang/crates.io-index"
139
+ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
140
+
141
+ [[package]]
142
+ name = "itoa"
143
+ version = "1.0.19"
144
+ source = "registry+https://github.com/rust-lang/crates.io-index"
145
+ checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4"
146
+
147
+ [[package]]
148
+ name = "libc"
149
+ version = "0.2.191"
150
+ source = "registry+https://github.com/rust-lang/crates.io-index"
151
+ checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
152
+
153
+ [[package]]
154
+ name = "log"
155
+ version = "0.4.35"
156
+ source = "registry+https://github.com/rust-lang/crates.io-index"
157
+ checksum = "5d15f86d12da44cd8d4ec3c73984537eb7f4cadcb9776a575a0a8a05ca11005c"
158
+
159
+ [[package]]
160
+ name = "matrixmultiply"
161
+ version = "0.3.11"
162
+ source = "registry+https://github.com/rust-lang/crates.io-index"
163
+ checksum = "3f607c237553f086e7043417a51df26b2eb899d3caff94e6a67592ff992fedc7"
164
+ dependencies = [
165
+ "autocfg",
166
+ "rawpointer",
167
+ ]
168
+
169
+ [[package]]
170
+ name = "miniz_oxide"
171
+ version = "0.9.1"
172
+ source = "registry+https://github.com/rust-lang/crates.io-index"
173
+ checksum = "b63fbc4a50860e98e7b2aa7804ded1db5cbc3aff9193adaff57a6931bf7c4b4c"
174
+ dependencies = [
175
+ "adler2",
176
+ "simd-adler32",
177
+ ]
178
+
179
+ [[package]]
180
+ name = "ndarray"
181
+ version = "0.17.2"
182
+ source = "registry+https://github.com/rust-lang/crates.io-index"
183
+ checksum = "520080814a7a6b4a6e9070823bb24b4531daac8c4627e08ba5de8c5ef2f2752d"
184
+ dependencies = [
185
+ "matrixmultiply",
186
+ "num-complex",
187
+ "num-integer",
188
+ "num-traits",
189
+ "portable-atomic",
190
+ "portable-atomic-util",
191
+ "rawpointer",
192
+ ]
193
+
194
+ [[package]]
195
+ name = "num-complex"
196
+ version = "0.4.6"
197
+ source = "registry+https://github.com/rust-lang/crates.io-index"
198
+ checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
199
+ dependencies = [
200
+ "num-traits",
201
+ ]
202
+
203
+ [[package]]
204
+ name = "num-integer"
205
+ version = "0.1.47"
206
+ source = "registry+https://github.com/rust-lang/crates.io-index"
207
+ checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b"
208
+ dependencies = [
209
+ "num-traits",
210
+ ]
211
+
212
+ [[package]]
213
+ name = "num-traits"
214
+ version = "0.2.19"
215
+ source = "registry+https://github.com/rust-lang/crates.io-index"
216
+ checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
217
+ dependencies = [
218
+ "autocfg",
219
+ ]
220
+
221
+ [[package]]
222
+ name = "numpy"
223
+ version = "0.30.0"
224
+ source = "registry+https://github.com/rust-lang/crates.io-index"
225
+ checksum = "aa0b9111761885449e894981fa8051dcf69e0bd114aecbd4bcdd830b6be4ed92"
226
+ dependencies = [
227
+ "libc",
228
+ "ndarray",
229
+ "num-complex",
230
+ "num-integer",
231
+ "num-traits",
232
+ "pyo3",
233
+ "pyo3-build-config",
234
+ "rustc-hash",
235
+ ]
236
+
237
+ [[package]]
238
+ name = "once_cell"
239
+ version = "1.21.4"
240
+ source = "registry+https://github.com/rust-lang/crates.io-index"
241
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
242
+
243
+ [[package]]
244
+ name = "percent-encoding"
245
+ version = "2.3.2"
246
+ source = "registry+https://github.com/rust-lang/crates.io-index"
247
+ checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
248
+
249
+ [[package]]
250
+ name = "portable-atomic"
251
+ version = "1.15.0"
252
+ source = "registry+https://github.com/rust-lang/crates.io-index"
253
+ checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
254
+
255
+ [[package]]
256
+ name = "portable-atomic-util"
257
+ version = "0.2.8"
258
+ source = "registry+https://github.com/rust-lang/crates.io-index"
259
+ checksum = "10ab3eb7f3becc3a1cbc4f2c6f20267996cfc1a6467a873763411b136a122715"
260
+ dependencies = [
261
+ "portable-atomic",
262
+ ]
263
+
264
+ [[package]]
265
+ name = "proc-macro2"
266
+ version = "1.0.107"
267
+ source = "registry+https://github.com/rust-lang/crates.io-index"
268
+ checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
269
+ dependencies = [
270
+ "unicode-ident",
271
+ ]
272
+
273
+ [[package]]
274
+ name = "pyo3"
275
+ version = "0.30.1"
276
+ source = "registry+https://github.com/rust-lang/crates.io-index"
277
+ checksum = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
278
+ dependencies = [
279
+ "libc",
280
+ "once_cell",
281
+ "portable-atomic",
282
+ "pyo3-build-config",
283
+ "pyo3-ffi",
284
+ "pyo3-macros",
285
+ ]
286
+
287
+ [[package]]
288
+ name = "pyo3-build-config"
289
+ version = "0.30.1"
290
+ source = "registry+https://github.com/rust-lang/crates.io-index"
291
+ checksum = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
292
+ dependencies = [
293
+ "target-lexicon",
294
+ ]
295
+
296
+ [[package]]
297
+ name = "pyo3-ffi"
298
+ version = "0.30.1"
299
+ source = "registry+https://github.com/rust-lang/crates.io-index"
300
+ checksum = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
301
+ dependencies = [
302
+ "libc",
303
+ "pyo3-build-config",
304
+ ]
305
+
306
+ [[package]]
307
+ name = "pyo3-macros"
308
+ version = "0.30.1"
309
+ source = "registry+https://github.com/rust-lang/crates.io-index"
310
+ checksum = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
311
+ dependencies = [
312
+ "proc-macro2",
313
+ "pyo3-macros-backend",
314
+ "quote",
315
+ "syn",
316
+ ]
317
+
318
+ [[package]]
319
+ name = "pyo3-macros-backend"
320
+ version = "0.30.1"
321
+ source = "registry+https://github.com/rust-lang/crates.io-index"
322
+ checksum = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
323
+ dependencies = [
324
+ "heck",
325
+ "proc-macro2",
326
+ "quote",
327
+ "syn",
328
+ ]
329
+
330
+ [[package]]
331
+ name = "quote"
332
+ version = "1.0.47"
333
+ source = "registry+https://github.com/rust-lang/crates.io-index"
334
+ checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
335
+ dependencies = [
336
+ "proc-macro2",
337
+ ]
338
+
339
+ [[package]]
340
+ name = "rawpointer"
341
+ version = "0.2.1"
342
+ source = "registry+https://github.com/rust-lang/crates.io-index"
343
+ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
344
+
345
+ [[package]]
346
+ name = "rayon"
347
+ version = "1.12.0"
348
+ source = "registry+https://github.com/rust-lang/crates.io-index"
349
+ checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
350
+ dependencies = [
351
+ "either",
352
+ "rayon-core",
353
+ ]
354
+
355
+ [[package]]
356
+ name = "rayon-core"
357
+ version = "1.13.0"
358
+ source = "registry+https://github.com/rust-lang/crates.io-index"
359
+ checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
360
+ dependencies = [
361
+ "crossbeam-deque",
362
+ "crossbeam-utils",
363
+ ]
364
+
365
+ [[package]]
366
+ name = "ring"
367
+ version = "0.17.14"
368
+ source = "registry+https://github.com/rust-lang/crates.io-index"
369
+ checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
370
+ dependencies = [
371
+ "cc",
372
+ "cfg-if",
373
+ "getrandom",
374
+ "libc",
375
+ "untrusted",
376
+ "windows-sys",
377
+ ]
378
+
379
+ [[package]]
380
+ name = "rustc-hash"
381
+ version = "2.1.3"
382
+ source = "registry+https://github.com/rust-lang/crates.io-index"
383
+ checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
384
+
385
+ [[package]]
386
+ name = "rustls"
387
+ version = "0.23.46"
388
+ source = "registry+https://github.com/rust-lang/crates.io-index"
389
+ checksum = "48e13bd8c0e9365c43cfa5c9e8f9ad49d3c8444926c9aac819e0e4dc503c8fdf"
390
+ dependencies = [
391
+ "log",
392
+ "once_cell",
393
+ "ring",
394
+ "rustls-pki-types",
395
+ "rustls-webpki",
396
+ "subtle",
397
+ "zeroize",
398
+ ]
399
+
400
+ [[package]]
401
+ name = "rustls-pki-types"
402
+ version = "1.16.0"
403
+ source = "registry+https://github.com/rust-lang/crates.io-index"
404
+ checksum = "102f35f7de7b06d8c61f1cff6592f5253e0dea431c74867aad5dfd70f44663fb"
405
+ dependencies = [
406
+ "zeroize",
407
+ ]
408
+
409
+ [[package]]
410
+ name = "rustls-webpki"
411
+ version = "0.103.17"
412
+ source = "registry+https://github.com/rust-lang/crates.io-index"
413
+ checksum = "e3a0760a887c14823fca5a1c970b01d47c328c696c0c64829d1df50e8f853fd5"
414
+ dependencies = [
415
+ "ring",
416
+ "rustls-pki-types",
417
+ "untrusted",
418
+ ]
419
+
420
+ [[package]]
421
+ name = "rustversion"
422
+ version = "1.0.23"
423
+ source = "registry+https://github.com/rust-lang/crates.io-index"
424
+ checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
425
+
426
+ [[package]]
427
+ name = "shlex"
428
+ version = "2.0.1"
429
+ source = "registry+https://github.com/rust-lang/crates.io-index"
430
+ checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
431
+
432
+ [[package]]
433
+ name = "simd-adler32"
434
+ version = "0.3.10"
435
+ source = "registry+https://github.com/rust-lang/crates.io-index"
436
+ checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
437
+
438
+ [[package]]
439
+ name = "subtle"
440
+ version = "2.6.1"
441
+ source = "registry+https://github.com/rust-lang/crates.io-index"
442
+ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
443
+
444
+ [[package]]
445
+ name = "syn"
446
+ version = "3.0.10"
447
+ source = "registry+https://github.com/rust-lang/crates.io-index"
448
+ checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
449
+ dependencies = [
450
+ "proc-macro2",
451
+ "quote",
452
+ "unicode-ident",
453
+ ]
454
+
455
+ [[package]]
456
+ name = "target-lexicon"
457
+ version = "0.13.6"
458
+ source = "registry+https://github.com/rust-lang/crates.io-index"
459
+ checksum = "8c447be3a2abfa84b2d91680c56600bd6b2873866de27b36ec911be705e291da"
460
+
461
+ [[package]]
462
+ name = "unicode-ident"
463
+ version = "1.0.27"
464
+ source = "registry+https://github.com/rust-lang/crates.io-index"
465
+ checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
466
+
467
+ [[package]]
468
+ name = "untrusted"
469
+ version = "0.9.0"
470
+ source = "registry+https://github.com/rust-lang/crates.io-index"
471
+ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
472
+
473
+ [[package]]
474
+ name = "ureq"
475
+ version = "3.5.2"
476
+ source = "registry+https://github.com/rust-lang/crates.io-index"
477
+ checksum = "3ac5cecf619ca81f66a96482db09687c9f7465af65f4300a8c30cca05bd5a59d"
478
+ dependencies = [
479
+ "base64",
480
+ "flate2",
481
+ "log",
482
+ "percent-encoding",
483
+ "rustls",
484
+ "rustls-pki-types",
485
+ "ureq-proto",
486
+ "utf8-zero",
487
+ "webpki-roots",
488
+ ]
489
+
490
+ [[package]]
491
+ name = "ureq-proto"
492
+ version = "0.7.1"
493
+ source = "registry+https://github.com/rust-lang/crates.io-index"
494
+ checksum = "622dce33c252115466d83f63e9744a18f12b4406aae51a01c15ad8fcf1185eb3"
495
+ dependencies = [
496
+ "base64",
497
+ "http",
498
+ "httparse",
499
+ "log",
500
+ ]
501
+
502
+ [[package]]
503
+ name = "utf8-zero"
504
+ version = "0.8.1"
505
+ source = "registry+https://github.com/rust-lang/crates.io-index"
506
+ checksum = "b8c0a043c9540bae7c578c88f91dda8bd82e59ae27c21baca69c8b191aaf5a6e"
507
+
508
+ [[package]]
509
+ name = "wasi"
510
+ version = "0.11.1+wasi-snapshot-preview1"
511
+ source = "registry+https://github.com/rust-lang/crates.io-index"
512
+ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
513
+
514
+ [[package]]
515
+ name = "wasm-bindgen"
516
+ version = "0.2.130"
517
+ source = "registry+https://github.com/rust-lang/crates.io-index"
518
+ checksum = "a0181c14ddd6c7b8b0b0132a5f1ea2f32be0d893cd3ea97b6e3b28886b8a3d1c"
519
+ dependencies = [
520
+ "cfg-if",
521
+ "rustversion",
522
+ "wasm-bindgen-macro",
523
+ "wasm-bindgen-shared",
524
+ ]
525
+
526
+ [[package]]
527
+ name = "wasm-bindgen-macro"
528
+ version = "0.2.130"
529
+ source = "registry+https://github.com/rust-lang/crates.io-index"
530
+ checksum = "6e931a02a39abdbf66966fc35902b5ed58344750a70885bed4ebb3d8eaf28ed9"
531
+ dependencies = [
532
+ "quote",
533
+ "wasm-bindgen-macro-support",
534
+ ]
535
+
536
+ [[package]]
537
+ name = "wasm-bindgen-macro-support"
538
+ version = "0.2.130"
539
+ source = "registry+https://github.com/rust-lang/crates.io-index"
540
+ checksum = "2ca4b54280e455bd831e33a6b8e734baf432fe63fbc35c42ac14ce67a043a53a"
541
+ dependencies = [
542
+ "bumpalo",
543
+ "proc-macro2",
544
+ "quote",
545
+ "syn",
546
+ "wasm-bindgen-shared",
547
+ ]
548
+
549
+ [[package]]
550
+ name = "wasm-bindgen-shared"
551
+ version = "0.2.130"
552
+ source = "registry+https://github.com/rust-lang/crates.io-index"
553
+ checksum = "3b1f9c3798725016c6ee5f2f57869ec0831e8bbc0ab0310a86e787e97f41389e"
554
+ dependencies = [
555
+ "unicode-ident",
556
+ ]
557
+
558
+ [[package]]
559
+ name = "webpki-roots"
560
+ version = "1.0.12"
561
+ source = "registry+https://github.com/rust-lang/crates.io-index"
562
+ checksum = "7265c9301c16a8711c992c2d8da90ee77ef54b1ed51482d6dfeb00dc756b1297"
563
+ dependencies = [
564
+ "rustls-pki-types",
565
+ ]
566
+
567
+ [[package]]
568
+ name = "windows-sys"
569
+ version = "0.52.0"
570
+ source = "registry+https://github.com/rust-lang/crates.io-index"
571
+ checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
572
+ dependencies = [
573
+ "windows-targets",
574
+ ]
575
+
576
+ [[package]]
577
+ name = "windows-targets"
578
+ version = "0.52.6"
579
+ source = "registry+https://github.com/rust-lang/crates.io-index"
580
+ checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
581
+ dependencies = [
582
+ "windows_aarch64_gnullvm",
583
+ "windows_aarch64_msvc",
584
+ "windows_i686_gnu",
585
+ "windows_i686_gnullvm",
586
+ "windows_i686_msvc",
587
+ "windows_x86_64_gnu",
588
+ "windows_x86_64_gnullvm",
589
+ "windows_x86_64_msvc",
590
+ ]
591
+
592
+ [[package]]
593
+ name = "windows_aarch64_gnullvm"
594
+ version = "0.52.6"
595
+ source = "registry+https://github.com/rust-lang/crates.io-index"
596
+ checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
597
+
598
+ [[package]]
599
+ name = "windows_aarch64_msvc"
600
+ version = "0.52.6"
601
+ source = "registry+https://github.com/rust-lang/crates.io-index"
602
+ checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
603
+
604
+ [[package]]
605
+ name = "windows_i686_gnu"
606
+ version = "0.52.6"
607
+ source = "registry+https://github.com/rust-lang/crates.io-index"
608
+ checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
609
+
610
+ [[package]]
611
+ name = "windows_i686_gnullvm"
612
+ version = "0.52.6"
613
+ source = "registry+https://github.com/rust-lang/crates.io-index"
614
+ checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
615
+
616
+ [[package]]
617
+ name = "windows_i686_msvc"
618
+ version = "0.52.6"
619
+ source = "registry+https://github.com/rust-lang/crates.io-index"
620
+ checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
621
+
622
+ [[package]]
623
+ name = "windows_x86_64_gnu"
624
+ version = "0.52.6"
625
+ source = "registry+https://github.com/rust-lang/crates.io-index"
626
+ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
627
+
628
+ [[package]]
629
+ name = "windows_x86_64_gnullvm"
630
+ version = "0.52.6"
631
+ source = "registry+https://github.com/rust-lang/crates.io-index"
632
+ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
633
+
634
+ [[package]]
635
+ name = "windows_x86_64_msvc"
636
+ version = "0.52.6"
637
+ source = "registry+https://github.com/rust-lang/crates.io-index"
638
+ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
639
+
640
+ [[package]]
641
+ name = "zeroize"
642
+ version = "1.9.2"
643
+ source = "registry+https://github.com/rust-lang/crates.io-index"
644
+ checksum = "85ccff8a4805aba1eaa4cd4afcd49f7557dd2cf5fd79ffc37f8959466effc5aa"
645
+
646
+ [[package]]
647
+ name = "zgy"
648
+ version = "0.1.0"
649
+ dependencies = [
650
+ "rayon",
651
+ "zgy-zfp",
652
+ ]
653
+
654
+ [[package]]
655
+ name = "zgy-py"
656
+ version = "0.1.0"
657
+ dependencies = [
658
+ "numpy",
659
+ "pyo3",
660
+ "ureq",
661
+ "zgy",
662
+ ]
663
+
664
+ [[package]]
665
+ name = "zgy-zfp"
666
+ version = "0.1.0"
667
+
668
+ [[package]]
669
+ name = "zgyfast"
670
+ version = "0.1.0"
671
+ dependencies = [
672
+ "wasm-bindgen",
673
+ "zgy",
674
+ ]
675
+
676
+ [[package]]
677
+ name = "zlib-rs"
678
+ version = "0.6.9"
679
+ source = "registry+https://github.com/rust-lang/crates.io-index"
680
+ checksum = "aa76918995d776d9dd34d371030be228d021137449771493d56e29f77e4148ac"
@@ -0,0 +1,7 @@
1
+ [workspace]
2
+ resolver = "2"
3
+ members = ["crates/zfp", "crates/zgy", "crates/zgy-py"]
4
+
5
+ [profile.release]
6
+ codegen-units = 1
7
+ lto = true
zgyfast-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Aker BP ASA
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.