wavelet-matrix 2.2.6__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.6 → wavelet_matrix-2.2.7}/.github/workflows/CI.yml +6 -21
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/Cargo.lock +5 -5
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/Cargo.toml +2 -2
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/PKG-INFO +1 -1
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/wavelet_matrix.pyi +7 -9
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/.gitignore +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/LICENSE +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/README.md +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/benchmarks/__init__.py +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/benchmarks/bench_disk_wavelet_matrix.py +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/benchmarks/bench_dynamic_wavelet_matrix.py +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/benchmarks/bench_wavelet_matrix.py +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/docs/index.html +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/docs/wavelet_matrix.html +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/pdoc_templates/error.html.jinja2 +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/pdoc_templates/frame.html.jinja2 +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/pdoc_templates/index.html.jinja2 +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/pdoc_templates/module.html.jinja2 +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/pyproject.toml +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/disk_wavelet_matrix/disk_bit_vector.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/disk_wavelet_matrix/disk_wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/disk_wavelet_matrix/mod.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/dynamic_wavelet_matrix/dynamic_bit_vector.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/dynamic_wavelet_matrix/dynamic_wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/dynamic_wavelet_matrix/mod.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/lib.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/python/dynamic_wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/python/mod.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/python/wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/traits/bit_vector/bit_vector.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/traits/bit_vector/dynamic_bit_vector.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/traits/bit_vector/mod.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/traits/mod.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/traits/utils/bit_select.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/traits/utils/bit_width.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/traits/utils/mod.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/traits/wavelet_matrix/dynamic_wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/traits/wavelet_matrix/mod.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/traits/wavelet_matrix/wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/wavelet_matrix/bit_vector.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/wavelet_matrix/mod.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/wavelet_matrix/wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/tests/__init__.py +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/tests/test_disk_wavelet_matrix.py +0 -0
- {wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/tests/test_dynamic_wavelet_matrix.py +0 -0
- {wavelet_matrix-2.2.6 → 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,13 +217,14 @@ 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
|
|
@@ -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"
|
|
@@ -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.2", features = ["num-bigint"] }
|
|
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,15 +1,13 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
3
|
-
from typing import Iterable
|
|
1
|
+
from typing import Iterable, Self
|
|
4
2
|
|
|
5
3
|
class WaveletMatrix:
|
|
6
|
-
def __init__(self, data: Iterable[int], on_disk: bool = False) ->
|
|
4
|
+
def __init__(self, data: Iterable[int], on_disk: bool = False) -> Self: ...
|
|
7
5
|
def __getitem__(self, index: int) -> int: ...
|
|
8
6
|
def __len__(self) -> int: ...
|
|
9
7
|
def __str__(self) -> str: ...
|
|
10
8
|
def __repr__(self) -> str: ...
|
|
11
|
-
def __copy__(self) ->
|
|
12
|
-
def __deepcopy__(self, memo) ->
|
|
9
|
+
def __copy__(self) -> Self: ...
|
|
10
|
+
def __deepcopy__(self, memo) -> Self: ...
|
|
13
11
|
def values(self) -> list[int]: ...
|
|
14
12
|
def access(self, index: int) -> int: ...
|
|
15
13
|
def rank(self, value: int, end: int) -> int: ...
|
|
@@ -33,14 +31,14 @@ class WaveletMatrix:
|
|
|
33
31
|
def max_bit(self) -> int: ...
|
|
34
32
|
|
|
35
33
|
class DynamicWaveletMatrix:
|
|
36
|
-
def __init__(self, data: Iterable[int], max_bit: int | None = None) ->
|
|
34
|
+
def __init__(self, data: Iterable[int], max_bit: int | None = None) -> Self: ...
|
|
37
35
|
def __getitem__(self, index: int) -> int: ...
|
|
38
36
|
def __setitem__(self, index: int, value: int) -> None: ...
|
|
39
37
|
def __len__(self) -> int: ...
|
|
40
38
|
def __str__(self) -> str: ...
|
|
41
39
|
def __repr__(self) -> str: ...
|
|
42
|
-
def __copy__(self) ->
|
|
43
|
-
def __deepcopy__(self, memo) ->
|
|
40
|
+
def __copy__(self) -> Self: ...
|
|
41
|
+
def __deepcopy__(self, memo) -> Self: ...
|
|
44
42
|
def values(self) -> list[int]: ...
|
|
45
43
|
def access(self, index: int) -> int: ...
|
|
46
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.6 → wavelet_matrix-2.2.7}/src/disk_wavelet_matrix/disk_wavelet_matrix.rs
RENAMED
|
File without changes
|
|
File without changes
|
{wavelet_matrix-2.2.6 → wavelet_matrix-2.2.7}/src/dynamic_wavelet_matrix/dynamic_bit_vector.rs
RENAMED
|
File without changes
|
{wavelet_matrix-2.2.6 → 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.6 → 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
|