wavelet-matrix 2.2.5__tar.gz → 2.2.7__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.
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/.github/workflows/CI.yml +7 -22
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/Cargo.lock +15 -15
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/Cargo.toml +2 -2
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/PKG-INFO +1 -1
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/wavelet_matrix.pyi +7 -7
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/.gitignore +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/LICENSE +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/README.md +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/benchmarks/__init__.py +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/benchmarks/bench_disk_wavelet_matrix.py +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/benchmarks/bench_dynamic_wavelet_matrix.py +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/benchmarks/bench_wavelet_matrix.py +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/docs/index.html +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/docs/wavelet_matrix.html +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/pdoc_templates/error.html.jinja2 +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/pdoc_templates/frame.html.jinja2 +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/pdoc_templates/index.html.jinja2 +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/pdoc_templates/module.html.jinja2 +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/pyproject.toml +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/disk_wavelet_matrix/disk_bit_vector.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/disk_wavelet_matrix/disk_wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/disk_wavelet_matrix/mod.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/dynamic_wavelet_matrix/dynamic_bit_vector.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/dynamic_wavelet_matrix/dynamic_wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/dynamic_wavelet_matrix/mod.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/lib.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/python/dynamic_wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/python/mod.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/python/wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/traits/bit_vector/bit_vector.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/traits/bit_vector/dynamic_bit_vector.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/traits/bit_vector/mod.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/traits/mod.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/traits/utils/bit_select.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/traits/utils/bit_width.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/traits/utils/mod.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/traits/wavelet_matrix/dynamic_wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/traits/wavelet_matrix/mod.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/traits/wavelet_matrix/wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/wavelet_matrix/bit_vector.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/wavelet_matrix/mod.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/wavelet_matrix/wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/tests/__init__.py +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/tests/test_disk_wavelet_matrix.py +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/tests/test_dynamic_wavelet_matrix.py +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/tests/test_wavelet_matrix.py +0 -0
|
@@ -43,14 +43,11 @@ jobs:
|
|
|
43
43
|
target: ppc64le
|
|
44
44
|
steps:
|
|
45
45
|
- uses: actions/checkout@v7
|
|
46
|
-
- uses: actions/setup-python@v7
|
|
47
|
-
with:
|
|
48
|
-
python-version: 3.x
|
|
49
46
|
- name: Build wheels
|
|
50
47
|
uses: PyO3/maturin-action@v1
|
|
51
48
|
with:
|
|
52
49
|
target: ${{ matrix.platform.target }}
|
|
53
|
-
args: --release --out dist
|
|
50
|
+
args: --release --out dist
|
|
54
51
|
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
55
52
|
manylinux: auto
|
|
56
53
|
- name: Upload wheels
|
|
@@ -76,14 +73,11 @@ jobs:
|
|
|
76
73
|
target: armv7
|
|
77
74
|
steps:
|
|
78
75
|
- uses: actions/checkout@v7
|
|
79
|
-
- uses: actions/setup-python@v7
|
|
80
|
-
with:
|
|
81
|
-
python-version: 3.x
|
|
82
76
|
- name: Build wheels
|
|
83
77
|
uses: PyO3/maturin-action@v1
|
|
84
78
|
with:
|
|
85
79
|
target: ${{ matrix.platform.target }}
|
|
86
|
-
args: --release --out dist
|
|
80
|
+
args: --release --out dist
|
|
87
81
|
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
88
82
|
manylinux: musllinux_1_2
|
|
89
83
|
- name: Upload wheels
|
|
@@ -105,15 +99,11 @@ jobs:
|
|
|
105
99
|
target: x86
|
|
106
100
|
steps:
|
|
107
101
|
- uses: actions/checkout@v7
|
|
108
|
-
- uses: actions/setup-python@v7
|
|
109
|
-
with:
|
|
110
|
-
python-version: 3.x
|
|
111
|
-
architecture: ${{ matrix.platform.target }}
|
|
112
102
|
- name: Build wheels
|
|
113
103
|
uses: PyO3/maturin-action@v1
|
|
114
104
|
with:
|
|
115
105
|
target: ${{ matrix.platform.target }}
|
|
116
|
-
args: --release --out dist
|
|
106
|
+
args: --release --out dist
|
|
117
107
|
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
118
108
|
- name: Upload wheels
|
|
119
109
|
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
|
|
@@ -134,14 +124,11 @@ jobs:
|
|
|
134
124
|
target: aarch64
|
|
135
125
|
steps:
|
|
136
126
|
- uses: actions/checkout@v7
|
|
137
|
-
- uses: actions/setup-python@v7
|
|
138
|
-
with:
|
|
139
|
-
python-version: 3.x
|
|
140
127
|
- name: Build wheels
|
|
141
128
|
uses: PyO3/maturin-action@v1
|
|
142
129
|
with:
|
|
143
130
|
target: ${{ matrix.platform.target }}
|
|
144
|
-
args: --release --out dist
|
|
131
|
+
args: --release --out dist
|
|
145
132
|
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
146
133
|
- name: Upload wheels
|
|
147
134
|
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
|
|
@@ -155,9 +142,6 @@ jobs:
|
|
|
155
142
|
runs-on: ubuntu-latest
|
|
156
143
|
steps:
|
|
157
144
|
- uses: actions/checkout@v7
|
|
158
|
-
- uses: actions/setup-python@v7
|
|
159
|
-
with:
|
|
160
|
-
python-version: 3.x
|
|
161
145
|
- name: Build sdist
|
|
162
146
|
uses: PyO3/maturin-action@v1
|
|
163
147
|
with:
|
|
@@ -233,19 +217,20 @@ jobs:
|
|
|
233
217
|
- "3.12"
|
|
234
218
|
- "3.13"
|
|
235
219
|
- "3.14"
|
|
236
|
-
- "3.15
|
|
220
|
+
- "3.15"
|
|
237
221
|
- "pypy3.11"
|
|
238
222
|
steps:
|
|
239
223
|
- uses: actions/checkout@v7
|
|
240
224
|
- uses: actions/setup-python@v7
|
|
241
225
|
with:
|
|
242
226
|
python-version: ${{ matrix.python }}
|
|
227
|
+
allow-prereleases: true
|
|
243
228
|
- name: Install packages
|
|
244
229
|
run: |
|
|
245
230
|
python -m pip install --upgrade pip
|
|
246
231
|
python -m pip install -e .[test]
|
|
247
232
|
- name: Run benchmarks
|
|
248
|
-
run: python -m pytest --benchmark-only --db .pymon
|
|
233
|
+
run: python -m pytest --benchmark-only --benchmark-warmup=off --db .pymon
|
|
249
234
|
- name: Display benchmark results
|
|
250
235
|
run: |
|
|
251
236
|
sqlite3 -header -column .pymon '
|
|
@@ -123,9 +123,9 @@ dependencies = [
|
|
|
123
123
|
|
|
124
124
|
[[package]]
|
|
125
125
|
name = "num-integer"
|
|
126
|
-
version = "0.1.
|
|
126
|
+
version = "0.1.47"
|
|
127
127
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
128
|
-
checksum = "
|
|
128
|
+
checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b"
|
|
129
129
|
dependencies = [
|
|
130
130
|
"num-traits",
|
|
131
131
|
]
|
|
@@ -147,9 +147,9 @@ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
|
147
147
|
|
|
148
148
|
[[package]]
|
|
149
149
|
name = "portable-atomic"
|
|
150
|
-
version = "1.
|
|
150
|
+
version = "1.15.0"
|
|
151
151
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
152
|
-
checksum = "
|
|
152
|
+
checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
153
153
|
|
|
154
154
|
[[package]]
|
|
155
155
|
name = "proc-macro2"
|
|
@@ -162,9 +162,9 @@ dependencies = [
|
|
|
162
162
|
|
|
163
163
|
[[package]]
|
|
164
164
|
name = "pyo3"
|
|
165
|
-
version = "0.29.
|
|
165
|
+
version = "0.29.2"
|
|
166
166
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
167
|
-
checksum = "
|
|
167
|
+
checksum = "4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b"
|
|
168
168
|
dependencies = [
|
|
169
169
|
"libc",
|
|
170
170
|
"num-bigint",
|
|
@@ -178,18 +178,18 @@ dependencies = [
|
|
|
178
178
|
|
|
179
179
|
[[package]]
|
|
180
180
|
name = "pyo3-build-config"
|
|
181
|
-
version = "0.29.
|
|
181
|
+
version = "0.29.2"
|
|
182
182
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
183
|
-
checksum = "
|
|
183
|
+
checksum = "f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9"
|
|
184
184
|
dependencies = [
|
|
185
185
|
"target-lexicon",
|
|
186
186
|
]
|
|
187
187
|
|
|
188
188
|
[[package]]
|
|
189
189
|
name = "pyo3-ffi"
|
|
190
|
-
version = "0.29.
|
|
190
|
+
version = "0.29.2"
|
|
191
191
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
192
|
-
checksum = "
|
|
192
|
+
checksum = "e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327"
|
|
193
193
|
dependencies = [
|
|
194
194
|
"libc",
|
|
195
195
|
"pyo3-build-config",
|
|
@@ -197,9 +197,9 @@ dependencies = [
|
|
|
197
197
|
|
|
198
198
|
[[package]]
|
|
199
199
|
name = "pyo3-macros"
|
|
200
|
-
version = "0.29.
|
|
200
|
+
version = "0.29.2"
|
|
201
201
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
202
|
-
checksum = "
|
|
202
|
+
checksum = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c"
|
|
203
203
|
dependencies = [
|
|
204
204
|
"proc-macro2",
|
|
205
205
|
"pyo3-macros-backend",
|
|
@@ -209,9 +209,9 @@ dependencies = [
|
|
|
209
209
|
|
|
210
210
|
[[package]]
|
|
211
211
|
name = "pyo3-macros-backend"
|
|
212
|
-
version = "0.29.
|
|
212
|
+
version = "0.29.2"
|
|
213
213
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
214
|
-
checksum = "
|
|
214
|
+
checksum = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952"
|
|
215
215
|
dependencies = [
|
|
216
216
|
"heck",
|
|
217
217
|
"proc-macro2",
|
|
@@ -305,7 +305,7 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
|
305
305
|
|
|
306
306
|
[[package]]
|
|
307
307
|
name = "wavelet-matrix"
|
|
308
|
-
version = "2.2.
|
|
308
|
+
version = "2.2.7"
|
|
309
309
|
dependencies = [
|
|
310
310
|
"bytemuck",
|
|
311
311
|
"memmap2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "wavelet-matrix"
|
|
3
|
-
version = "2.2.
|
|
3
|
+
version = "2.2.7"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
|
|
@@ -15,6 +15,6 @@ memmap2 = "0.9.11"
|
|
|
15
15
|
num-bigint = "0.4.8"
|
|
16
16
|
num-integer = "0.1.46"
|
|
17
17
|
num-traits = "0.2.19"
|
|
18
|
-
pyo3 = { version = "0.29.
|
|
18
|
+
pyo3 = { version = "0.29.2", features = ["abi3-py39", "abi3t-py315", "num-bigint"] }
|
|
19
19
|
rayon = "1.12.0"
|
|
20
20
|
tempfile = "3.27.0"
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
from typing import Iterable
|
|
1
|
+
from typing import Iterable, Self
|
|
2
2
|
|
|
3
3
|
class WaveletMatrix:
|
|
4
|
-
def __init__(self, data: Iterable[int], on_disk: bool = False) ->
|
|
4
|
+
def __init__(self, data: Iterable[int], on_disk: bool = False) -> Self: ...
|
|
5
5
|
def __getitem__(self, index: int) -> int: ...
|
|
6
6
|
def __len__(self) -> int: ...
|
|
7
7
|
def __str__(self) -> str: ...
|
|
8
8
|
def __repr__(self) -> str: ...
|
|
9
|
-
def __copy__(self) ->
|
|
10
|
-
def __deepcopy__(self, memo) ->
|
|
9
|
+
def __copy__(self) -> Self: ...
|
|
10
|
+
def __deepcopy__(self, memo) -> Self: ...
|
|
11
11
|
def values(self) -> list[int]: ...
|
|
12
12
|
def access(self, index: int) -> int: ...
|
|
13
13
|
def rank(self, value: int, end: int) -> int: ...
|
|
@@ -31,14 +31,14 @@ class WaveletMatrix:
|
|
|
31
31
|
def max_bit(self) -> int: ...
|
|
32
32
|
|
|
33
33
|
class DynamicWaveletMatrix:
|
|
34
|
-
def __init__(self, data: Iterable[int], max_bit: int | None = None) ->
|
|
34
|
+
def __init__(self, data: Iterable[int], max_bit: int | None = None) -> Self: ...
|
|
35
35
|
def __getitem__(self, index: int) -> int: ...
|
|
36
36
|
def __setitem__(self, index: int, value: int) -> None: ...
|
|
37
37
|
def __len__(self) -> int: ...
|
|
38
38
|
def __str__(self) -> str: ...
|
|
39
39
|
def __repr__(self) -> str: ...
|
|
40
|
-
def __copy__(self) ->
|
|
41
|
-
def __deepcopy__(self, memo) ->
|
|
40
|
+
def __copy__(self) -> Self: ...
|
|
41
|
+
def __deepcopy__(self, memo) -> Self: ...
|
|
42
42
|
def values(self) -> list[int]: ...
|
|
43
43
|
def access(self, index: int) -> int: ...
|
|
44
44
|
def rank(self, value: int, end: int) -> int: ...
|
|
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
|
{wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/disk_wavelet_matrix/disk_wavelet_matrix.rs
RENAMED
|
File without changes
|
|
File without changes
|
{wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/dynamic_wavelet_matrix/dynamic_bit_vector.rs
RENAMED
|
File without changes
|
{wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/dynamic_wavelet_matrix/dynamic_wavelet_matrix.rs
RENAMED
|
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
|
{wavelet_matrix-2.2.5 → wavelet_matrix-2.2.7}/src/traits/wavelet_matrix/dynamic_wavelet_matrix.rs
RENAMED
|
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
|