interpn 0.2.1__tar.gz → 0.2.3__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.
- {interpn-0.2.1 → interpn-0.2.3}/.github/workflows/CI.yml +3 -3
- {interpn-0.2.1 → interpn-0.2.3}/.github/workflows/test.yml +1 -1
- interpn-0.2.3/CHANGELOG.md +15 -0
- {interpn-0.2.1 → interpn-0.2.3}/Cargo.lock +78 -72
- {interpn-0.2.1 → interpn-0.2.3}/Cargo.toml +4 -4
- {interpn-0.2.1 → interpn-0.2.3}/LICENSE-MIT +1 -1
- {interpn-0.2.1 → interpn-0.2.3}/PKG-INFO +10 -6
- {interpn-0.2.1 → interpn-0.2.3}/README.md +4 -1
- {interpn-0.2.1 → interpn-0.2.3}/docs/index.md +10 -0
- {interpn-0.2.1 → interpn-0.2.3}/pyproject.toml +7 -7
- {interpn-0.2.1 → interpn-0.2.3}/.gitignore +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/.readthedocs.yml +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/LICENSE-APACHE +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/docs/1d_quality_of_fit_Rectilinear.svg +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/docs/1d_quality_of_fit_Regular.svg +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/docs/2d_quality_of_fit_Rectilinear.svg +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/docs/2d_quality_of_fit_Regular.svg +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/docs/3d_throughput_vs_nobs.svg +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/docs/3d_throughput_vs_nobs_prealloc.svg +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/docs/6d_throughput_vs_nobs.svg +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/docs/6d_throughput_vs_nobs_prealloc.svg +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/docs/API_Docs.md +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/docs/perf.md +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/docs/ram_vs_dims.svg +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/docs/requirements.txt +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/docs/throughput_vs_dims_1000_obs.svg +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/docs/throughput_vs_dims_1_obs.svg +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/examples/cubic_comparison.py +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/interpn/__init__.py +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/interpn/multicubic_rectilinear.py +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/interpn/multicubic_regular.py +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/interpn/multilinear_rectilinear.py +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/interpn/multilinear_regular.py +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/interpn/py.typed +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/interpn/raw.py +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/interpn/serialization.py +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/mkdocs.yml +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/src/lib.rs +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/test/bench_cpu.py +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/test/bench_mem.py +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/test/test_docs.py +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/test/test_multicubic_rectilinear.py +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/test/test_multicubic_regular.py +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/test/test_multilinear_rectilinear.py +0 -0
- {interpn-0.2.1 → interpn-0.2.3}/test/test_multilinear_regular.py +0 -0
|
@@ -28,7 +28,7 @@ jobs:
|
|
|
28
28
|
strategy:
|
|
29
29
|
matrix:
|
|
30
30
|
target: [x86_64, x86, aarch64, armv7, s390x, ppc64le]
|
|
31
|
-
python-version: ["3.9", "3.10", "3.11"]
|
|
31
|
+
python-version: ["3.9", "3.10", "3.11", "3.12"]
|
|
32
32
|
steps:
|
|
33
33
|
- uses: actions/checkout@v3
|
|
34
34
|
- uses: actions/setup-python@v4
|
|
@@ -52,7 +52,7 @@ jobs:
|
|
|
52
52
|
strategy:
|
|
53
53
|
matrix:
|
|
54
54
|
target: [x64, x86]
|
|
55
|
-
python-version: ["3.9", "3.10", "3.11"]
|
|
55
|
+
python-version: ["3.9", "3.10", "3.11", "3.12"]
|
|
56
56
|
steps:
|
|
57
57
|
- uses: actions/checkout@v3
|
|
58
58
|
- uses: actions/setup-python@v4
|
|
@@ -76,7 +76,7 @@ jobs:
|
|
|
76
76
|
strategy:
|
|
77
77
|
matrix:
|
|
78
78
|
target: [x86_64, aarch64]
|
|
79
|
-
python-version: ["3.9", "3.10", "3.11"]
|
|
79
|
+
python-version: ["3.9", "3.10", "3.11", "3.12"]
|
|
80
80
|
steps:
|
|
81
81
|
- uses: actions/checkout@v3
|
|
82
82
|
- uses: actions/setup-python@v4
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.2.3 2024-08-20
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
* Update interpn rust dep to 0.4.3 to capture upgraded linear methods
|
|
8
|
+
|
|
9
|
+
## 0.2.2 2024-07-08
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
* Update python deps incl. numpy >2
|
|
14
|
+
* Update rust deps
|
|
15
|
+
* Support python 3.12
|
|
@@ -4,7 +4,7 @@ version = 3
|
|
|
4
4
|
|
|
5
5
|
[[package]]
|
|
6
6
|
name = "_interpn"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.4"
|
|
8
8
|
dependencies = [
|
|
9
9
|
"interpn",
|
|
10
10
|
"numpy",
|
|
@@ -13,15 +13,15 @@ dependencies = [
|
|
|
13
13
|
|
|
14
14
|
[[package]]
|
|
15
15
|
name = "autocfg"
|
|
16
|
-
version = "1.
|
|
16
|
+
version = "1.3.0"
|
|
17
17
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
-
checksum = "
|
|
18
|
+
checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
|
|
19
19
|
|
|
20
20
|
[[package]]
|
|
21
21
|
name = "bitflags"
|
|
22
|
-
version = "
|
|
22
|
+
version = "2.6.0"
|
|
23
23
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
-
checksum = "
|
|
24
|
+
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
|
|
25
25
|
|
|
26
26
|
[[package]]
|
|
27
27
|
name = "cfg-if"
|
|
@@ -37,24 +37,24 @@ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
|
|
|
37
37
|
|
|
38
38
|
[[package]]
|
|
39
39
|
name = "indoc"
|
|
40
|
-
version = "2.0.
|
|
40
|
+
version = "2.0.5"
|
|
41
41
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
42
|
-
checksum = "
|
|
42
|
+
checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
|
|
43
43
|
|
|
44
44
|
[[package]]
|
|
45
45
|
name = "interpn"
|
|
46
|
-
version = "0.4.
|
|
46
|
+
version = "0.4.3"
|
|
47
47
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
|
-
checksum = "
|
|
48
|
+
checksum = "e75d8992f13845dc723c9a4cf8b40915579e4a6744e12a6df8372cf5ce5b0084"
|
|
49
49
|
dependencies = [
|
|
50
50
|
"num-traits",
|
|
51
51
|
]
|
|
52
52
|
|
|
53
53
|
[[package]]
|
|
54
54
|
name = "libc"
|
|
55
|
-
version = "0.2.
|
|
55
|
+
version = "0.2.158"
|
|
56
56
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
57
|
-
checksum = "
|
|
57
|
+
checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439"
|
|
58
58
|
|
|
59
59
|
[[package]]
|
|
60
60
|
name = "libm"
|
|
@@ -64,9 +64,9 @@ checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058"
|
|
|
64
64
|
|
|
65
65
|
[[package]]
|
|
66
66
|
name = "lock_api"
|
|
67
|
-
version = "0.4.
|
|
67
|
+
version = "0.4.12"
|
|
68
68
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
69
|
-
checksum = "
|
|
69
|
+
checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
|
|
70
70
|
dependencies = [
|
|
71
71
|
"autocfg",
|
|
72
72
|
"scopeguard",
|
|
@@ -74,9 +74,9 @@ dependencies = [
|
|
|
74
74
|
|
|
75
75
|
[[package]]
|
|
76
76
|
name = "matrixmultiply"
|
|
77
|
-
version = "0.3.
|
|
77
|
+
version = "0.3.9"
|
|
78
78
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
79
|
-
checksum = "
|
|
79
|
+
checksum = "9380b911e3e96d10c1f415da0876389aaf1b56759054eeb0de7df940c456ba1a"
|
|
80
80
|
dependencies = [
|
|
81
81
|
"autocfg",
|
|
82
82
|
"rawpointer",
|
|
@@ -84,9 +84,9 @@ dependencies = [
|
|
|
84
84
|
|
|
85
85
|
[[package]]
|
|
86
86
|
name = "memoffset"
|
|
87
|
-
version = "0.9.
|
|
87
|
+
version = "0.9.1"
|
|
88
88
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
89
|
-
checksum = "
|
|
89
|
+
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
|
90
90
|
dependencies = [
|
|
91
91
|
"autocfg",
|
|
92
92
|
]
|
|
@@ -106,28 +106,27 @@ dependencies = [
|
|
|
106
106
|
|
|
107
107
|
[[package]]
|
|
108
108
|
name = "num-complex"
|
|
109
|
-
version = "0.4.
|
|
109
|
+
version = "0.4.6"
|
|
110
110
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
111
|
-
checksum = "
|
|
111
|
+
checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
|
|
112
112
|
dependencies = [
|
|
113
113
|
"num-traits",
|
|
114
114
|
]
|
|
115
115
|
|
|
116
116
|
[[package]]
|
|
117
117
|
name = "num-integer"
|
|
118
|
-
version = "0.1.
|
|
118
|
+
version = "0.1.46"
|
|
119
119
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
120
|
-
checksum = "
|
|
120
|
+
checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
|
|
121
121
|
dependencies = [
|
|
122
|
-
"autocfg",
|
|
123
122
|
"num-traits",
|
|
124
123
|
]
|
|
125
124
|
|
|
126
125
|
[[package]]
|
|
127
126
|
name = "num-traits"
|
|
128
|
-
version = "0.2.
|
|
127
|
+
version = "0.2.19"
|
|
129
128
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
130
|
-
checksum = "
|
|
129
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
131
130
|
dependencies = [
|
|
132
131
|
"autocfg",
|
|
133
132
|
"libm",
|
|
@@ -135,9 +134,9 @@ dependencies = [
|
|
|
135
134
|
|
|
136
135
|
[[package]]
|
|
137
136
|
name = "numpy"
|
|
138
|
-
version = "0.
|
|
137
|
+
version = "0.21.0"
|
|
139
138
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
140
|
-
checksum = "
|
|
139
|
+
checksum = "ec170733ca37175f5d75a5bea5911d6ff45d2cd52849ce98b685394e4f2f37f4"
|
|
141
140
|
dependencies = [
|
|
142
141
|
"libc",
|
|
143
142
|
"ndarray",
|
|
@@ -150,15 +149,15 @@ dependencies = [
|
|
|
150
149
|
|
|
151
150
|
[[package]]
|
|
152
151
|
name = "once_cell"
|
|
153
|
-
version = "1.
|
|
152
|
+
version = "1.19.0"
|
|
154
153
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
155
|
-
checksum = "
|
|
154
|
+
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
|
|
156
155
|
|
|
157
156
|
[[package]]
|
|
158
157
|
name = "parking_lot"
|
|
159
|
-
version = "0.12.
|
|
158
|
+
version = "0.12.3"
|
|
160
159
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
161
|
-
checksum = "
|
|
160
|
+
checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
|
|
162
161
|
dependencies = [
|
|
163
162
|
"lock_api",
|
|
164
163
|
"parking_lot_core",
|
|
@@ -166,9 +165,9 @@ dependencies = [
|
|
|
166
165
|
|
|
167
166
|
[[package]]
|
|
168
167
|
name = "parking_lot_core"
|
|
169
|
-
version = "0.9.
|
|
168
|
+
version = "0.9.10"
|
|
170
169
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
171
|
-
checksum = "
|
|
170
|
+
checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
|
|
172
171
|
dependencies = [
|
|
173
172
|
"cfg-if",
|
|
174
173
|
"libc",
|
|
@@ -179,24 +178,24 @@ dependencies = [
|
|
|
179
178
|
|
|
180
179
|
[[package]]
|
|
181
180
|
name = "portable-atomic"
|
|
182
|
-
version = "1.
|
|
181
|
+
version = "1.7.0"
|
|
183
182
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
184
|
-
checksum = "
|
|
183
|
+
checksum = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265"
|
|
185
184
|
|
|
186
185
|
[[package]]
|
|
187
186
|
name = "proc-macro2"
|
|
188
|
-
version = "1.0.
|
|
187
|
+
version = "1.0.86"
|
|
189
188
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
190
|
-
checksum = "
|
|
189
|
+
checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
|
|
191
190
|
dependencies = [
|
|
192
191
|
"unicode-ident",
|
|
193
192
|
]
|
|
194
193
|
|
|
195
194
|
[[package]]
|
|
196
195
|
name = "pyo3"
|
|
197
|
-
version = "0.
|
|
196
|
+
version = "0.21.2"
|
|
198
197
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
199
|
-
checksum = "
|
|
198
|
+
checksum = "a5e00b96a521718e08e03b1a622f01c8a8deb50719335de3f60b3b3950f069d8"
|
|
200
199
|
dependencies = [
|
|
201
200
|
"cfg-if",
|
|
202
201
|
"indoc",
|
|
@@ -212,9 +211,9 @@ dependencies = [
|
|
|
212
211
|
|
|
213
212
|
[[package]]
|
|
214
213
|
name = "pyo3-build-config"
|
|
215
|
-
version = "0.
|
|
214
|
+
version = "0.21.2"
|
|
216
215
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
217
|
-
checksum = "
|
|
216
|
+
checksum = "7883df5835fafdad87c0d888b266c8ec0f4c9ca48a5bed6bbb592e8dedee1b50"
|
|
218
217
|
dependencies = [
|
|
219
218
|
"once_cell",
|
|
220
219
|
"target-lexicon",
|
|
@@ -222,9 +221,9 @@ dependencies = [
|
|
|
222
221
|
|
|
223
222
|
[[package]]
|
|
224
223
|
name = "pyo3-ffi"
|
|
225
|
-
version = "0.
|
|
224
|
+
version = "0.21.2"
|
|
226
225
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
227
|
-
checksum = "
|
|
226
|
+
checksum = "01be5843dc60b916ab4dad1dca6d20b9b4e6ddc8e15f50c47fe6d85f1fb97403"
|
|
228
227
|
dependencies = [
|
|
229
228
|
"libc",
|
|
230
229
|
"pyo3-build-config",
|
|
@@ -232,9 +231,9 @@ dependencies = [
|
|
|
232
231
|
|
|
233
232
|
[[package]]
|
|
234
233
|
name = "pyo3-macros"
|
|
235
|
-
version = "0.
|
|
234
|
+
version = "0.21.2"
|
|
236
235
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
237
|
-
checksum = "
|
|
236
|
+
checksum = "77b34069fc0682e11b31dbd10321cbf94808394c56fd996796ce45217dfac53c"
|
|
238
237
|
dependencies = [
|
|
239
238
|
"proc-macro2",
|
|
240
239
|
"pyo3-macros-backend",
|
|
@@ -244,9 +243,9 @@ dependencies = [
|
|
|
244
243
|
|
|
245
244
|
[[package]]
|
|
246
245
|
name = "pyo3-macros-backend"
|
|
247
|
-
version = "0.
|
|
246
|
+
version = "0.21.2"
|
|
248
247
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
249
|
-
checksum = "
|
|
248
|
+
checksum = "08260721f32db5e1a5beae69a55553f56b99bd0e1c3e6e0a5e8851a9d0f5a85c"
|
|
250
249
|
dependencies = [
|
|
251
250
|
"heck",
|
|
252
251
|
"proc-macro2",
|
|
@@ -257,9 +256,9 @@ dependencies = [
|
|
|
257
256
|
|
|
258
257
|
[[package]]
|
|
259
258
|
name = "quote"
|
|
260
|
-
version = "1.0.
|
|
259
|
+
version = "1.0.36"
|
|
261
260
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
262
|
-
checksum = "
|
|
261
|
+
checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
|
|
263
262
|
dependencies = [
|
|
264
263
|
"proc-macro2",
|
|
265
264
|
]
|
|
@@ -272,9 +271,9 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
|
|
|
272
271
|
|
|
273
272
|
[[package]]
|
|
274
273
|
name = "redox_syscall"
|
|
275
|
-
version = "0.
|
|
274
|
+
version = "0.5.3"
|
|
276
275
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
277
|
-
checksum = "
|
|
276
|
+
checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4"
|
|
278
277
|
dependencies = [
|
|
279
278
|
"bitflags",
|
|
280
279
|
]
|
|
@@ -293,15 +292,15 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
|
|
293
292
|
|
|
294
293
|
[[package]]
|
|
295
294
|
name = "smallvec"
|
|
296
|
-
version = "1.
|
|
295
|
+
version = "1.13.2"
|
|
297
296
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
298
|
-
checksum = "
|
|
297
|
+
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
|
|
299
298
|
|
|
300
299
|
[[package]]
|
|
301
300
|
name = "syn"
|
|
302
|
-
version = "2.0.
|
|
301
|
+
version = "2.0.75"
|
|
303
302
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
304
|
-
checksum = "
|
|
303
|
+
checksum = "f6af063034fc1935ede7be0122941bafa9bacb949334d090b77ca98b5817c7d9"
|
|
305
304
|
dependencies = [
|
|
306
305
|
"proc-macro2",
|
|
307
306
|
"quote",
|
|
@@ -310,9 +309,9 @@ dependencies = [
|
|
|
310
309
|
|
|
311
310
|
[[package]]
|
|
312
311
|
name = "target-lexicon"
|
|
313
|
-
version = "0.12.
|
|
312
|
+
version = "0.12.16"
|
|
314
313
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
315
|
-
checksum = "
|
|
314
|
+
checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
|
|
316
315
|
|
|
317
316
|
[[package]]
|
|
318
317
|
name = "unicode-ident"
|
|
@@ -328,13 +327,14 @@ checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
|
|
|
328
327
|
|
|
329
328
|
[[package]]
|
|
330
329
|
name = "windows-targets"
|
|
331
|
-
version = "0.
|
|
330
|
+
version = "0.52.6"
|
|
332
331
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
333
|
-
checksum = "
|
|
332
|
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
|
334
333
|
dependencies = [
|
|
335
334
|
"windows_aarch64_gnullvm",
|
|
336
335
|
"windows_aarch64_msvc",
|
|
337
336
|
"windows_i686_gnu",
|
|
337
|
+
"windows_i686_gnullvm",
|
|
338
338
|
"windows_i686_msvc",
|
|
339
339
|
"windows_x86_64_gnu",
|
|
340
340
|
"windows_x86_64_gnullvm",
|
|
@@ -343,42 +343,48 @@ dependencies = [
|
|
|
343
343
|
|
|
344
344
|
[[package]]
|
|
345
345
|
name = "windows_aarch64_gnullvm"
|
|
346
|
-
version = "0.
|
|
346
|
+
version = "0.52.6"
|
|
347
347
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
348
|
-
checksum = "
|
|
348
|
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
|
349
349
|
|
|
350
350
|
[[package]]
|
|
351
351
|
name = "windows_aarch64_msvc"
|
|
352
|
-
version = "0.
|
|
352
|
+
version = "0.52.6"
|
|
353
353
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
354
|
-
checksum = "
|
|
354
|
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
|
355
355
|
|
|
356
356
|
[[package]]
|
|
357
357
|
name = "windows_i686_gnu"
|
|
358
|
-
version = "0.
|
|
358
|
+
version = "0.52.6"
|
|
359
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
360
|
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
|
361
|
+
|
|
362
|
+
[[package]]
|
|
363
|
+
name = "windows_i686_gnullvm"
|
|
364
|
+
version = "0.52.6"
|
|
359
365
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
360
|
-
checksum = "
|
|
366
|
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
|
361
367
|
|
|
362
368
|
[[package]]
|
|
363
369
|
name = "windows_i686_msvc"
|
|
364
|
-
version = "0.
|
|
370
|
+
version = "0.52.6"
|
|
365
371
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
366
|
-
checksum = "
|
|
372
|
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
|
367
373
|
|
|
368
374
|
[[package]]
|
|
369
375
|
name = "windows_x86_64_gnu"
|
|
370
|
-
version = "0.
|
|
376
|
+
version = "0.52.6"
|
|
371
377
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
372
|
-
checksum = "
|
|
378
|
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
|
373
379
|
|
|
374
380
|
[[package]]
|
|
375
381
|
name = "windows_x86_64_gnullvm"
|
|
376
|
-
version = "0.
|
|
382
|
+
version = "0.52.6"
|
|
377
383
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
378
|
-
checksum = "
|
|
384
|
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
|
379
385
|
|
|
380
386
|
[[package]]
|
|
381
387
|
name = "windows_x86_64_msvc"
|
|
382
|
-
version = "0.
|
|
388
|
+
version = "0.52.6"
|
|
383
389
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
384
|
-
checksum = "
|
|
390
|
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "_interpn"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.4"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
|
|
6
6
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
@@ -9,9 +9,9 @@ name = "_interpn"
|
|
|
9
9
|
crate-type = ["cdylib"]
|
|
10
10
|
|
|
11
11
|
[dependencies]
|
|
12
|
-
pyo3 = "0.
|
|
13
|
-
numpy = "0.
|
|
14
|
-
interpn = {version = "0.4.
|
|
12
|
+
pyo3 = "^0.21.0"
|
|
13
|
+
numpy = "^0.21.0"
|
|
14
|
+
interpn = {version = "0.4.3", default_features = false}
|
|
15
15
|
#interpn = { path = "../interpn/interpn" }
|
|
16
16
|
|
|
17
17
|
[profile.release]
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: interpn
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
7
|
-
Requires-Dist: numpy >=
|
|
7
|
+
Requires-Dist: numpy >=2
|
|
8
8
|
Requires-Dist: pydantic >=2.5.2
|
|
9
|
-
Requires-Dist: pytest >=
|
|
9
|
+
Requires-Dist: pytest >=8.0 ; extra == 'test'
|
|
10
10
|
Requires-Dist: coverage >=7.3.2 ; extra == 'test'
|
|
11
|
-
Requires-Dist: ruff >=0.
|
|
12
|
-
Requires-Dist: pyright
|
|
11
|
+
Requires-Dist: ruff >=0.4.10 ; extra == 'test'
|
|
12
|
+
Requires-Dist: pyright ==1.1.337 ; extra == 'test'
|
|
13
13
|
Requires-Dist: mktestdocs >=0.2.1 ; extra == 'test'
|
|
14
14
|
Requires-Dist: scipy >=1.11.4 ; extra == 'test'
|
|
15
15
|
Requires-Dist: matplotlib >=3.8 ; extra == 'test'
|
|
@@ -26,7 +26,7 @@ License-File: LICENSE-APACHE
|
|
|
26
26
|
License-File: LICENSE-MIT
|
|
27
27
|
Summary: N-dimensional interpolation/extrapolation methods
|
|
28
28
|
Author-email: jlogan03@gmail.com
|
|
29
|
-
Requires-Python: >=3.9, <3.
|
|
29
|
+
Requires-Python: >=3.9, <3.13
|
|
30
30
|
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
31
31
|
|
|
32
32
|
# interpn
|
|
@@ -39,12 +39,14 @@ Python bindings to the `interpn` Rust library for N-dimensional interpolation an
|
|
|
39
39
|
[Rust Docs (docs.rs)](https://docs.rs/interpn/latest/interpn/)
|
|
40
40
|
|
|
41
41
|
## Features
|
|
42
|
+
|
|
42
43
|
| Feature →<br>↓ Interpolant Method | Regular<br>Grid | Rectilinear<br>Grid | Json<br>Serialization |
|
|
43
44
|
|-----------------------------------|-----------------|---------------------|-----------------------|
|
|
44
45
|
| Linear | ✅ | ✅ | ✅ |
|
|
45
46
|
| Cubic | ✅ | ✅ | ✅ |
|
|
46
47
|
|
|
47
48
|
The methods provided here, while more limited in scope than scipy's, are
|
|
49
|
+
|
|
48
50
|
* significantly faster for higher dimensions (1-3 orders of magnitude under most conditions)
|
|
49
51
|
* use almost no RAM (and perform no heap allocations at all)
|
|
50
52
|
* produce significantly improved floating-point error (by 1-2 orders of magnitude)
|
|
@@ -131,9 +133,11 @@ assert np.all(out == out2)
|
|
|
131
133
|
|
|
132
134
|
|
|
133
135
|
# License
|
|
136
|
+
|
|
134
137
|
Licensed under either of
|
|
135
138
|
|
|
136
139
|
- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
|
|
137
140
|
- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
|
|
138
141
|
|
|
139
142
|
at your option.
|
|
143
|
+
|
|
@@ -8,12 +8,14 @@ Python bindings to the `interpn` Rust library for N-dimensional interpolation an
|
|
|
8
8
|
[Rust Docs (docs.rs)](https://docs.rs/interpn/latest/interpn/)
|
|
9
9
|
|
|
10
10
|
## Features
|
|
11
|
+
|
|
11
12
|
| Feature →<br>↓ Interpolant Method | Regular<br>Grid | Rectilinear<br>Grid | Json<br>Serialization |
|
|
12
13
|
|-----------------------------------|-----------------|---------------------|-----------------------|
|
|
13
14
|
| Linear | ✅ | ✅ | ✅ |
|
|
14
15
|
| Cubic | ✅ | ✅ | ✅ |
|
|
15
16
|
|
|
16
17
|
The methods provided here, while more limited in scope than scipy's, are
|
|
18
|
+
|
|
17
19
|
* significantly faster for higher dimensions (1-3 orders of magnitude under most conditions)
|
|
18
20
|
* use almost no RAM (and perform no heap allocations at all)
|
|
19
21
|
* produce significantly improved floating-point error (by 1-2 orders of magnitude)
|
|
@@ -100,9 +102,10 @@ assert np.all(out == out2)
|
|
|
100
102
|
|
|
101
103
|
|
|
102
104
|
# License
|
|
105
|
+
|
|
103
106
|
Licensed under either of
|
|
104
107
|
|
|
105
108
|
- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
|
|
106
109
|
- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
|
|
107
110
|
|
|
108
|
-
at your option.
|
|
111
|
+
at your option.
|
|
@@ -19,6 +19,7 @@ effective when examining small numbers of observation points. See the [performan
|
|
|
19
19
|
| Cubic | ✅ | ✅ | ✅ |
|
|
20
20
|
|
|
21
21
|
The methods provided here, while more limited in scope than scipy's, are
|
|
22
|
+
|
|
22
23
|
* significantly faster for higher dimensions (1-3 orders of magnitude under most conditions)
|
|
23
24
|
* use almost no RAM (and perform no heap allocations at all)
|
|
24
25
|
* produce significantly improved floating-point error (by 1-2 orders of magnitude)
|
|
@@ -102,3 +103,12 @@ out2 = roundtrip_interpolator.eval(obs)
|
|
|
102
103
|
# Check result from roundtrip serialized/deserialized interpolator
|
|
103
104
|
assert np.all(out == out2)
|
|
104
105
|
```
|
|
106
|
+
|
|
107
|
+
# License
|
|
108
|
+
|
|
109
|
+
Licensed under either of
|
|
110
|
+
|
|
111
|
+
- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
|
|
112
|
+
- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
|
|
113
|
+
|
|
114
|
+
at your option.
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["maturin>=1.
|
|
2
|
+
requires = ["maturin>=1.7,<2.0"]
|
|
3
3
|
build-backend = "maturin"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "interpn"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.3"
|
|
8
8
|
repository = "https://github.com/jlogan03/interpnpy"
|
|
9
9
|
documentation = "https://interpn.readthedocs.io/"
|
|
10
10
|
description = "N-dimensional interpolation/extrapolation methods"
|
|
11
11
|
authors = [{ author = "James Logan", email = "jlogan03@gmail.com" }]
|
|
12
|
-
requires-python = ">=3.9, <3.
|
|
12
|
+
requires-python = ">=3.9, <3.13"
|
|
13
13
|
classifiers = [
|
|
14
14
|
"Programming Language :: Rust",
|
|
15
15
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
@@ -17,16 +17,16 @@ classifiers = [
|
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version"]
|
|
19
19
|
dependencies = [
|
|
20
|
-
"numpy >=
|
|
20
|
+
"numpy >= 2",
|
|
21
21
|
"pydantic >= 2.5.2",
|
|
22
22
|
]
|
|
23
23
|
|
|
24
24
|
[project.optional-dependencies]
|
|
25
25
|
test = [
|
|
26
|
-
"pytest >=
|
|
26
|
+
"pytest >= 8.0",
|
|
27
27
|
"coverage >= 7.3.2",
|
|
28
|
-
"ruff >= 0.
|
|
29
|
-
"pyright
|
|
28
|
+
"ruff >= 0.4.10",
|
|
29
|
+
"pyright == 1.1.337",
|
|
30
30
|
"mktestdocs >= 0.2.1",
|
|
31
31
|
"scipy >= 1.11.4",
|
|
32
32
|
"matplotlib >= 3.8",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|