python-calamine 0.6.2__tar.gz → 0.8.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.
- python_calamine-0.8.0/.github/dependabot.yml +16 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/.github/workflows/CI.yml +46 -34
- {python_calamine-0.6.2 → python_calamine-0.8.0}/Cargo.lock +110 -344
- {python_calamine-0.6.2 → python_calamine-0.8.0}/Cargo.toml +5 -5
- {python_calamine-0.6.2 → python_calamine-0.8.0}/PKG-INFO +1 -1
- {python_calamine-0.6.2 → python_calamine-0.8.0}/pyproject.toml +1 -1
- {python_calamine-0.6.2 → python_calamine-0.8.0}/python/python_calamine/_python_calamine.pyi +8 -8
- {python_calamine-0.6.2 → python_calamine-0.8.0}/src/types/workbook.rs +16 -10
- python_calamine-0.6.2/renovate.json +0 -6
- {python_calamine-0.6.2 → python_calamine-0.8.0}/.gitignore +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/.pre-commit-config.yaml +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/LICENSE +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/README.md +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/build.rs +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/python/python_calamine/__init__.py +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/python/python_calamine/py.typed +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/src/lib.rs +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/src/types/cell.rs +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/src/types/errors.rs +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/src/types/mod.rs +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/src/types/sheet.rs +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/src/types/table.rs +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/__init__.py +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/conftest.py +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/data/any_sheets.ods +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/data/any_sheets.xls +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/data/any_sheets.xlsb +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/data/any_sheets.xlsx +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/data/base.ods +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/data/base.xls +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/data/base.xlsb +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/data/base.xlsx +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/data/empty_file.ods +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/data/empty_file.xlsb +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/data/empty_file.xlsx +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/data/issue139.xlsx +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/data/password.ods +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/data/password.xls +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/data/password.xlsb +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/data/password.xlsx +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/data/table-multiple.xlsx +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/test_base.py +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/test_pandas.py +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/test_sheet_type.py +0 -0
- {python_calamine-0.6.2 → python_calamine-0.8.0}/tests/test_tables.py +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
|
|
3
|
+
updates:
|
|
4
|
+
- package-ecosystem: github-actions
|
|
5
|
+
directory: /
|
|
6
|
+
schedule:
|
|
7
|
+
interval: daily
|
|
8
|
+
cooldown:
|
|
9
|
+
default-days: 7
|
|
10
|
+
|
|
11
|
+
- package-ecosystem: cargo
|
|
12
|
+
directory: /
|
|
13
|
+
schedule:
|
|
14
|
+
interval: daily
|
|
15
|
+
cooldown:
|
|
16
|
+
default-days: 7
|
|
@@ -11,9 +11,13 @@ on:
|
|
|
11
11
|
- "**"
|
|
12
12
|
pull_request: {}
|
|
13
13
|
|
|
14
|
+
permissions: {}
|
|
15
|
+
|
|
14
16
|
jobs:
|
|
15
17
|
test:
|
|
16
18
|
name: test ${{ matrix.python-version }} pandas ${{ matrix.pandas-version }}
|
|
19
|
+
permissions:
|
|
20
|
+
contents: read
|
|
17
21
|
strategy:
|
|
18
22
|
fail-fast: false
|
|
19
23
|
matrix:
|
|
@@ -24,18 +28,17 @@ jobs:
|
|
|
24
28
|
- "3.13"
|
|
25
29
|
- "3.14"
|
|
26
30
|
pandas-version:
|
|
27
|
-
- "2.2.*"
|
|
28
31
|
- "2.3.*"
|
|
32
|
+
- "3.0.*"
|
|
29
33
|
include:
|
|
30
34
|
# https://github.com/pandas-dev/pandas/issues/42509
|
|
31
35
|
- python-version: "pypy3.11"
|
|
32
36
|
pandas-version: "none"
|
|
33
|
-
# https://github.com/pandas-dev/pandas/issues/60016
|
|
34
|
-
- python-version: "3.13t"
|
|
35
|
-
pandas-version: "none"
|
|
36
|
-
# https://github.com/pandas-dev/pandas/issues/60016
|
|
37
37
|
- python-version: "3.14t"
|
|
38
|
-
pandas-version: "
|
|
38
|
+
pandas-version: "3.0.*"
|
|
39
|
+
exclude:
|
|
40
|
+
- python-version: "3.10"
|
|
41
|
+
pandas-version: "3.0.*"
|
|
39
42
|
|
|
40
43
|
runs-on: ubuntu-latest
|
|
41
44
|
|
|
@@ -43,29 +46,30 @@ jobs:
|
|
|
43
46
|
PYTHON: ${{ matrix.python-version }}
|
|
44
47
|
|
|
45
48
|
steps:
|
|
46
|
-
- uses: actions/checkout@
|
|
49
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
50
|
+
with:
|
|
51
|
+
persist-credentials: false
|
|
47
52
|
|
|
48
53
|
- name: install rust stable
|
|
49
|
-
uses: dtolnay/rust-toolchain@
|
|
54
|
+
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
|
|
50
55
|
with:
|
|
51
56
|
toolchain: stable
|
|
52
57
|
|
|
53
58
|
- id: cache-rust
|
|
54
59
|
name: cache rust
|
|
55
|
-
uses: Swatinem/rust-cache@v2
|
|
60
|
+
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
|
|
56
61
|
with:
|
|
57
62
|
key: v3
|
|
58
63
|
|
|
59
64
|
- name: set up python
|
|
60
|
-
uses: actions/setup-python@v6
|
|
61
|
-
if: "${{ !matrix.disable-gil }}"
|
|
65
|
+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
|
|
62
66
|
with:
|
|
63
67
|
python-version: ${{ matrix.python-version }}
|
|
64
68
|
allow-prereleases: true
|
|
65
69
|
|
|
66
70
|
- id: cache-py
|
|
67
71
|
name: cache python
|
|
68
|
-
uses: actions/cache@
|
|
72
|
+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
69
73
|
with:
|
|
70
74
|
path: ${{ env.pythonLocation }}
|
|
71
75
|
key: >
|
|
@@ -91,24 +95,28 @@ jobs:
|
|
|
91
95
|
- run: pytest
|
|
92
96
|
|
|
93
97
|
lint:
|
|
98
|
+
permissions:
|
|
99
|
+
contents: read
|
|
94
100
|
runs-on: ubuntu-latest
|
|
95
101
|
|
|
96
102
|
steps:
|
|
97
|
-
- uses: actions/checkout@
|
|
103
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
104
|
+
with:
|
|
105
|
+
persist-credentials: false
|
|
98
106
|
|
|
99
107
|
- name: install rust stable
|
|
100
|
-
uses: dtolnay/rust-toolchain@stable
|
|
108
|
+
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
|
|
101
109
|
with:
|
|
102
110
|
components: rustfmt, clippy
|
|
103
111
|
|
|
104
112
|
- name: cache rust
|
|
105
|
-
uses: Swatinem/rust-cache@v2
|
|
113
|
+
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
|
|
106
114
|
|
|
107
|
-
- uses: actions/setup-python@v6
|
|
115
|
+
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
|
|
108
116
|
with:
|
|
109
117
|
python-version: "3.14"
|
|
110
118
|
|
|
111
|
-
- uses: actions/cache@
|
|
119
|
+
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
112
120
|
id: cache-py
|
|
113
121
|
name: cache python
|
|
114
122
|
with:
|
|
@@ -134,12 +142,14 @@ jobs:
|
|
|
134
142
|
runs-on: ubuntu-latest
|
|
135
143
|
steps:
|
|
136
144
|
- name: Decide whether the needed jobs succeeded or failed
|
|
137
|
-
uses: re-actors/alls-green@
|
|
145
|
+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
|
|
138
146
|
with:
|
|
139
147
|
jobs: ${{ toJSON(needs) }}
|
|
140
148
|
|
|
141
149
|
build:
|
|
142
150
|
name: build on ${{ matrix.os }} (${{ matrix.target }} - ${{ matrix.interpreter || 'all' }}${{ matrix.os == 'linux' && format(' - {0}', matrix.manylinux == 'auto' && 'manylinux' || matrix.manylinux) || '' }})
|
|
151
|
+
permissions:
|
|
152
|
+
contents: read
|
|
143
153
|
if: success()
|
|
144
154
|
strategy:
|
|
145
155
|
fail-fast: false
|
|
@@ -161,15 +171,15 @@ jobs:
|
|
|
161
171
|
- os: linux
|
|
162
172
|
manylinux: auto
|
|
163
173
|
target: armv7
|
|
164
|
-
interpreter: 3.10 3.11 3.12 3.13 3.
|
|
174
|
+
interpreter: 3.10 3.11 3.12 3.13 3.14 3.14t
|
|
165
175
|
- os: linux
|
|
166
176
|
manylinux: auto
|
|
167
177
|
target: ppc64le
|
|
168
|
-
interpreter: 3.10 3.11 3.12 3.13 3.
|
|
178
|
+
interpreter: 3.10 3.11 3.12 3.13 3.14 3.14t
|
|
169
179
|
- os: linux
|
|
170
180
|
manylinux: auto
|
|
171
181
|
target: s390x
|
|
172
|
-
interpreter: 3.10 3.11 3.12 3.13 3.
|
|
182
|
+
interpreter: 3.10 3.11 3.12 3.13 3.14 3.14t
|
|
173
183
|
|
|
174
184
|
# musllinux
|
|
175
185
|
- os: linux
|
|
@@ -191,14 +201,14 @@ jobs:
|
|
|
191
201
|
# windows
|
|
192
202
|
- os: windows
|
|
193
203
|
target: x86_64
|
|
194
|
-
interpreter: 3.10 3.11 3.12 3.13 3.
|
|
204
|
+
interpreter: 3.10 3.11 3.12 3.13 3.14 3.14t
|
|
195
205
|
- os: windows
|
|
196
206
|
target: i686
|
|
197
207
|
interpreter: 3.10 3.11 3.12 3.13 3.14
|
|
198
208
|
- os: windows
|
|
199
209
|
target: aarch64
|
|
200
210
|
runs-on: windows-11-arm
|
|
201
|
-
interpreter: 3.11 3.12 3.13 3.
|
|
211
|
+
interpreter: 3.11 3.12 3.13 3.14 3.14t
|
|
202
212
|
|
|
203
213
|
exclude:
|
|
204
214
|
# was just a dummy variable to set a default value for target
|
|
@@ -206,39 +216,41 @@ jobs:
|
|
|
206
216
|
|
|
207
217
|
runs-on: ${{ matrix.runs-on || format('{0}-latest', (matrix.os == 'linux' && 'ubuntu') || matrix.os) }}
|
|
208
218
|
steps:
|
|
209
|
-
- uses: actions/checkout@
|
|
219
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
220
|
+
with:
|
|
221
|
+
persist-credentials: false
|
|
210
222
|
|
|
211
223
|
- name: set up python
|
|
212
|
-
uses: actions/setup-python@v6
|
|
224
|
+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
|
|
213
225
|
with:
|
|
214
226
|
python-version: "3.14"
|
|
215
227
|
|
|
216
228
|
- name: install rust stable
|
|
217
|
-
uses: dtolnay/rust-toolchain@stable
|
|
229
|
+
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
|
|
218
230
|
|
|
219
231
|
- run: pip install -U twine
|
|
220
232
|
|
|
221
233
|
- name: build sdist
|
|
222
234
|
if: ${{ matrix.os == 'linux' && matrix.target == 'x86_64' && matrix.manylinux == 'auto' }}
|
|
223
|
-
uses: PyO3/maturin-action@v1
|
|
235
|
+
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
|
|
224
236
|
with:
|
|
225
237
|
command: sdist
|
|
226
238
|
args: --out dist
|
|
227
239
|
rust-toolchain: stable
|
|
228
240
|
|
|
229
241
|
- name: build wheels
|
|
230
|
-
uses: PyO3/maturin-action@v1
|
|
242
|
+
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
|
|
231
243
|
with:
|
|
232
244
|
target: ${{ matrix.target }}
|
|
233
245
|
manylinux: ${{ matrix.manylinux || 'auto' }}
|
|
234
|
-
args: --release --out dist --interpreter ${{ matrix.interpreter || '3.10 3.11 3.12 3.13 3.
|
|
246
|
+
args: --release --out dist --interpreter ${{ matrix.interpreter || '3.10 3.11 3.12 3.13 3.14 3.14t pypy3.11' }}
|
|
235
247
|
rust-toolchain: stable
|
|
236
248
|
|
|
237
249
|
- run: ${{ (matrix.os == 'windows' && 'dir') || 'ls -lh' }} dist/
|
|
238
250
|
|
|
239
251
|
- run: twine check --strict dist/*
|
|
240
252
|
|
|
241
|
-
- uses: actions/upload-artifact@
|
|
253
|
+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
242
254
|
with:
|
|
243
255
|
name: wheels-${{ matrix.os }}-${{ matrix.target }}-${{ matrix.manylinux || 'auto' }}
|
|
244
256
|
path: dist
|
|
@@ -258,14 +270,14 @@ jobs:
|
|
|
258
270
|
|
|
259
271
|
steps:
|
|
260
272
|
- name: Download All Artifacts
|
|
261
|
-
uses: actions/download-artifact@
|
|
273
|
+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
|
262
274
|
with:
|
|
263
275
|
path: dist
|
|
264
276
|
pattern: wheels-*
|
|
265
277
|
merge-multiple: true
|
|
266
278
|
|
|
267
279
|
- name: Publish package distributions to PyPI
|
|
268
|
-
uses: pypa/gh-action-pypi-publish@release/v1
|
|
280
|
+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1.14
|
|
269
281
|
|
|
270
282
|
gh-release:
|
|
271
283
|
needs: [build, check]
|
|
@@ -278,14 +290,14 @@ jobs:
|
|
|
278
290
|
|
|
279
291
|
steps:
|
|
280
292
|
- name: Download All Artifacts
|
|
281
|
-
uses: actions/download-artifact@
|
|
293
|
+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
|
282
294
|
with:
|
|
283
295
|
path: dist
|
|
284
296
|
pattern: wheels-*
|
|
285
297
|
merge-multiple: true
|
|
286
298
|
|
|
287
299
|
- name: Upload to GitHub
|
|
288
|
-
uses: softprops/action-gh-release@
|
|
300
|
+
uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
|
|
289
301
|
with:
|
|
290
302
|
generate_release_notes: true
|
|
291
303
|
files: |
|
|
@@ -19,36 +19,25 @@ dependencies = [
|
|
|
19
19
|
|
|
20
20
|
[[package]]
|
|
21
21
|
name = "atoi_simd"
|
|
22
|
-
version = "0.
|
|
22
|
+
version = "0.18.1"
|
|
23
23
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
-
checksum = "
|
|
24
|
+
checksum = "f3cdb3708a128e559a30fb830e8a77a5022ee6902806925c216658652b452a44"
|
|
25
25
|
dependencies = [
|
|
26
26
|
"debug_unsafe",
|
|
27
|
+
"rustversion",
|
|
27
28
|
]
|
|
28
29
|
|
|
29
30
|
[[package]]
|
|
30
31
|
name = "autocfg"
|
|
31
|
-
version = "1.5.
|
|
32
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
33
|
-
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
|
34
|
-
|
|
35
|
-
[[package]]
|
|
36
|
-
name = "bitflags"
|
|
37
|
-
version = "2.10.0"
|
|
32
|
+
version = "1.5.1"
|
|
38
33
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
-
checksum = "
|
|
34
|
+
checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|
40
35
|
|
|
41
36
|
[[package]]
|
|
42
37
|
name = "bumpalo"
|
|
43
|
-
version = "3.
|
|
38
|
+
version = "3.20.3"
|
|
44
39
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
45
|
-
checksum = "
|
|
46
|
-
|
|
47
|
-
[[package]]
|
|
48
|
-
name = "bytecount"
|
|
49
|
-
version = "0.6.9"
|
|
50
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
51
|
-
checksum = "175812e0be2bccb6abe50bb8d566126198344f707e304f45c648fd8f2cc0365e"
|
|
40
|
+
checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
|
|
52
41
|
|
|
53
42
|
[[package]]
|
|
54
43
|
name = "byteorder"
|
|
@@ -58,9 +47,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
|
|
|
58
47
|
|
|
59
48
|
[[package]]
|
|
60
49
|
name = "calamine"
|
|
61
|
-
version = "0.
|
|
50
|
+
version = "0.36.0"
|
|
62
51
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
63
|
-
checksum = "
|
|
52
|
+
checksum = "6975084f43060e56343ffba7f9731fa52a7dcf2e1cd8e2459fd4c6bf4a1bff59"
|
|
64
53
|
dependencies = [
|
|
65
54
|
"atoi_simd",
|
|
66
55
|
"byteorder",
|
|
@@ -74,42 +63,11 @@ dependencies = [
|
|
|
74
63
|
"zip",
|
|
75
64
|
]
|
|
76
65
|
|
|
77
|
-
[[package]]
|
|
78
|
-
name = "camino"
|
|
79
|
-
version = "1.2.1"
|
|
80
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
81
|
-
checksum = "276a59bf2b2c967788139340c9f0c5b12d7fd6630315c15c217e559de85d2609"
|
|
82
|
-
dependencies = [
|
|
83
|
-
"serde_core",
|
|
84
|
-
]
|
|
85
|
-
|
|
86
|
-
[[package]]
|
|
87
|
-
name = "cargo-platform"
|
|
88
|
-
version = "0.1.9"
|
|
89
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
90
|
-
checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea"
|
|
91
|
-
dependencies = [
|
|
92
|
-
"serde",
|
|
93
|
-
]
|
|
94
|
-
|
|
95
|
-
[[package]]
|
|
96
|
-
name = "cargo_metadata"
|
|
97
|
-
version = "0.14.2"
|
|
98
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
99
|
-
checksum = "4acbb09d9ee8e23699b9634375c72795d095bf268439da88562cf9b501f181fa"
|
|
100
|
-
dependencies = [
|
|
101
|
-
"camino",
|
|
102
|
-
"cargo-platform",
|
|
103
|
-
"semver",
|
|
104
|
-
"serde",
|
|
105
|
-
"serde_json",
|
|
106
|
-
]
|
|
107
|
-
|
|
108
66
|
[[package]]
|
|
109
67
|
name = "cc"
|
|
110
|
-
version = "1.2.
|
|
68
|
+
version = "1.2.64"
|
|
111
69
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
112
|
-
checksum = "
|
|
70
|
+
checksum = "dad887fd958be91b5098c0248def011f4523ab786cd411be668777e55063501f"
|
|
113
71
|
dependencies = [
|
|
114
72
|
"find-msvc-tools",
|
|
115
73
|
"shlex",
|
|
@@ -123,9 +81,9 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
|
123
81
|
|
|
124
82
|
[[package]]
|
|
125
83
|
name = "chrono"
|
|
126
|
-
version = "0.4.
|
|
84
|
+
version = "0.4.45"
|
|
127
85
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
128
|
-
checksum = "
|
|
86
|
+
checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327"
|
|
129
87
|
dependencies = [
|
|
130
88
|
"iana-time-zone",
|
|
131
89
|
"js-sys",
|
|
@@ -161,9 +119,9 @@ dependencies = [
|
|
|
161
119
|
|
|
162
120
|
[[package]]
|
|
163
121
|
name = "debug_unsafe"
|
|
164
|
-
version = "0.1.
|
|
122
|
+
version = "0.1.4"
|
|
165
123
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
166
|
-
checksum = "
|
|
124
|
+
checksum = "7eed2c4702fa172d1ce21078faa7c5203e69f5394d48cc436d25928394a867a2"
|
|
167
125
|
|
|
168
126
|
[[package]]
|
|
169
127
|
name = "encoding_rs"
|
|
@@ -180,77 +138,57 @@ version = "1.0.2"
|
|
|
180
138
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
181
139
|
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
182
140
|
|
|
183
|
-
[[package]]
|
|
184
|
-
name = "errno"
|
|
185
|
-
version = "0.3.14"
|
|
186
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
187
|
-
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
|
|
188
|
-
dependencies = [
|
|
189
|
-
"libc",
|
|
190
|
-
"windows-sys",
|
|
191
|
-
]
|
|
192
|
-
|
|
193
|
-
[[package]]
|
|
194
|
-
name = "error-chain"
|
|
195
|
-
version = "0.12.4"
|
|
196
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
197
|
-
checksum = "2d2f06b9cac1506ece98fe3231e3cc9c4410ec3d5b1f24ae1c8946f0742cdefc"
|
|
198
|
-
dependencies = [
|
|
199
|
-
"version_check",
|
|
200
|
-
]
|
|
201
|
-
|
|
202
141
|
[[package]]
|
|
203
142
|
name = "fast-float2"
|
|
204
143
|
version = "0.2.3"
|
|
205
144
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
206
145
|
checksum = "f8eb564c5c7423d25c886fb561d1e4ee69f72354d16918afa32c08811f6b6a55"
|
|
207
146
|
|
|
208
|
-
[[package]]
|
|
209
|
-
name = "fastrand"
|
|
210
|
-
version = "2.3.0"
|
|
211
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
212
|
-
checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
|
|
213
|
-
|
|
214
147
|
[[package]]
|
|
215
148
|
name = "find-msvc-tools"
|
|
216
|
-
version = "0.1.
|
|
149
|
+
version = "0.1.9"
|
|
217
150
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
218
|
-
checksum = "
|
|
151
|
+
checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
|
|
219
152
|
|
|
220
153
|
[[package]]
|
|
221
154
|
name = "flate2"
|
|
222
|
-
version = "1.1.
|
|
155
|
+
version = "1.1.9"
|
|
223
156
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
224
|
-
checksum = "
|
|
157
|
+
checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
|
|
225
158
|
dependencies = [
|
|
226
|
-
"crc32fast",
|
|
227
|
-
"libz-rs-sys",
|
|
228
159
|
"miniz_oxide",
|
|
160
|
+
"zlib-rs",
|
|
229
161
|
]
|
|
230
162
|
|
|
231
163
|
[[package]]
|
|
232
|
-
name = "
|
|
233
|
-
version = "0.3.
|
|
164
|
+
name = "futures-core"
|
|
165
|
+
version = "0.3.32"
|
|
234
166
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
235
|
-
checksum = "
|
|
236
|
-
dependencies = [
|
|
237
|
-
"cfg-if",
|
|
238
|
-
"libc",
|
|
239
|
-
"r-efi",
|
|
240
|
-
"wasip2",
|
|
241
|
-
]
|
|
167
|
+
checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d"
|
|
242
168
|
|
|
243
169
|
[[package]]
|
|
244
|
-
name = "
|
|
245
|
-
version = "0.3.
|
|
170
|
+
name = "futures-task"
|
|
171
|
+
version = "0.3.32"
|
|
246
172
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
247
|
-
checksum = "
|
|
173
|
+
checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393"
|
|
174
|
+
|
|
175
|
+
[[package]]
|
|
176
|
+
name = "futures-util"
|
|
177
|
+
version = "0.3.32"
|
|
178
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
179
|
+
checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6"
|
|
180
|
+
dependencies = [
|
|
181
|
+
"futures-core",
|
|
182
|
+
"futures-task",
|
|
183
|
+
"pin-project-lite",
|
|
184
|
+
"slab",
|
|
185
|
+
]
|
|
248
186
|
|
|
249
187
|
[[package]]
|
|
250
188
|
name = "hashbrown"
|
|
251
|
-
version = "0.
|
|
189
|
+
version = "0.17.1"
|
|
252
190
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
253
|
-
checksum = "
|
|
191
|
+
checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
|
|
254
192
|
|
|
255
193
|
[[package]]
|
|
256
194
|
name = "heck"
|
|
@@ -260,9 +198,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
|
260
198
|
|
|
261
199
|
[[package]]
|
|
262
200
|
name = "iana-time-zone"
|
|
263
|
-
version = "0.1.
|
|
201
|
+
version = "0.1.65"
|
|
264
202
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
265
|
-
checksum = "
|
|
203
|
+
checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470"
|
|
266
204
|
dependencies = [
|
|
267
205
|
"android_system_properties",
|
|
268
206
|
"core-foundation-sys",
|
|
@@ -284,62 +222,42 @@ dependencies = [
|
|
|
284
222
|
|
|
285
223
|
[[package]]
|
|
286
224
|
name = "indexmap"
|
|
287
|
-
version = "2.
|
|
225
|
+
version = "2.14.0"
|
|
288
226
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
289
|
-
checksum = "
|
|
227
|
+
checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
|
|
290
228
|
dependencies = [
|
|
291
229
|
"equivalent",
|
|
292
230
|
"hashbrown",
|
|
293
231
|
]
|
|
294
232
|
|
|
295
|
-
[[package]]
|
|
296
|
-
name = "itoa"
|
|
297
|
-
version = "1.0.15"
|
|
298
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
299
|
-
checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
|
|
300
|
-
|
|
301
233
|
[[package]]
|
|
302
234
|
name = "js-sys"
|
|
303
|
-
version = "0.3.
|
|
235
|
+
version = "0.3.102"
|
|
304
236
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
305
|
-
checksum = "
|
|
237
|
+
checksum = "03d04c30968dffe80775bd4d7fb676131cd04a1fb46d2686dbffbaec2d9dfd31"
|
|
306
238
|
dependencies = [
|
|
307
|
-
"
|
|
239
|
+
"cfg-if",
|
|
240
|
+
"futures-util",
|
|
308
241
|
"wasm-bindgen",
|
|
309
242
|
]
|
|
310
243
|
|
|
311
244
|
[[package]]
|
|
312
245
|
name = "libc"
|
|
313
|
-
version = "0.2.
|
|
314
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
315
|
-
checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976"
|
|
316
|
-
|
|
317
|
-
[[package]]
|
|
318
|
-
name = "libz-rs-sys"
|
|
319
|
-
version = "0.5.2"
|
|
320
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
321
|
-
checksum = "840db8cf39d9ec4dd794376f38acc40d0fc65eec2a8f484f7fd375b84602becd"
|
|
322
|
-
dependencies = [
|
|
323
|
-
"zlib-rs",
|
|
324
|
-
]
|
|
325
|
-
|
|
326
|
-
[[package]]
|
|
327
|
-
name = "linux-raw-sys"
|
|
328
|
-
version = "0.11.0"
|
|
246
|
+
version = "0.2.186"
|
|
329
247
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
330
|
-
checksum = "
|
|
248
|
+
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
|
|
331
249
|
|
|
332
250
|
[[package]]
|
|
333
251
|
name = "log"
|
|
334
|
-
version = "0.4.
|
|
252
|
+
version = "0.4.32"
|
|
335
253
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
336
|
-
checksum = "
|
|
254
|
+
checksum = "953f07c43838f8e6f9758cab68bf5bed85465e7587ebe0b823f1bcd81978ad3a"
|
|
337
255
|
|
|
338
256
|
[[package]]
|
|
339
257
|
name = "memchr"
|
|
340
|
-
version = "2.
|
|
258
|
+
version = "2.8.2"
|
|
341
259
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
342
|
-
checksum = "
|
|
260
|
+
checksum = "88904434abc2901f197fe8cc55f0445e7ded921dba5911dad2e2b39b48e663c4"
|
|
343
261
|
|
|
344
262
|
[[package]]
|
|
345
263
|
name = "miniz_oxide"
|
|
@@ -362,41 +280,36 @@ dependencies = [
|
|
|
362
280
|
|
|
363
281
|
[[package]]
|
|
364
282
|
name = "once_cell"
|
|
365
|
-
version = "1.21.
|
|
283
|
+
version = "1.21.4"
|
|
366
284
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
367
|
-
checksum = "
|
|
285
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
368
286
|
|
|
369
287
|
[[package]]
|
|
370
|
-
name = "
|
|
371
|
-
version = "
|
|
288
|
+
name = "pin-project-lite"
|
|
289
|
+
version = "0.2.17"
|
|
372
290
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
373
|
-
checksum = "
|
|
291
|
+
checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
|
|
374
292
|
|
|
375
293
|
[[package]]
|
|
376
|
-
name = "
|
|
377
|
-
version = "1.
|
|
294
|
+
name = "portable-atomic"
|
|
295
|
+
version = "1.13.1"
|
|
378
296
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
379
|
-
checksum = "
|
|
380
|
-
dependencies = [
|
|
381
|
-
"unicode-ident",
|
|
382
|
-
]
|
|
297
|
+
checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
|
|
383
298
|
|
|
384
299
|
[[package]]
|
|
385
|
-
name = "
|
|
386
|
-
version = "0.
|
|
300
|
+
name = "proc-macro2"
|
|
301
|
+
version = "1.0.106"
|
|
387
302
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
388
|
-
checksum = "
|
|
303
|
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
|
|
389
304
|
dependencies = [
|
|
390
|
-
"
|
|
391
|
-
"memchr",
|
|
392
|
-
"unicase",
|
|
305
|
+
"unicode-ident",
|
|
393
306
|
]
|
|
394
307
|
|
|
395
308
|
[[package]]
|
|
396
309
|
name = "pyo3"
|
|
397
|
-
version = "0.
|
|
310
|
+
version = "0.29.0"
|
|
398
311
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
399
|
-
checksum = "
|
|
312
|
+
checksum = "cd274650b21d4bfc26a0a47587962c1edb425f69287324355cd040c3ea66071c"
|
|
400
313
|
dependencies = [
|
|
401
314
|
"chrono",
|
|
402
315
|
"libc",
|
|
@@ -409,19 +322,18 @@ dependencies = [
|
|
|
409
322
|
|
|
410
323
|
[[package]]
|
|
411
324
|
name = "pyo3-build-config"
|
|
412
|
-
version = "0.
|
|
325
|
+
version = "0.29.0"
|
|
413
326
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
414
|
-
checksum = "
|
|
327
|
+
checksum = "c5e2a7d2f0d013342f295c048ad19237add5154a55b1c5a254c0ec93d4109078"
|
|
415
328
|
dependencies = [
|
|
416
|
-
"python3-dll-a",
|
|
417
329
|
"target-lexicon",
|
|
418
330
|
]
|
|
419
331
|
|
|
420
332
|
[[package]]
|
|
421
333
|
name = "pyo3-ffi"
|
|
422
|
-
version = "0.
|
|
334
|
+
version = "0.29.0"
|
|
423
335
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
424
|
-
checksum = "
|
|
336
|
+
checksum = "ca85c467da1bbc8d866eea5deff9cf29ea5f7785054a17da36e65bda9c05845b"
|
|
425
337
|
dependencies = [
|
|
426
338
|
"libc",
|
|
427
339
|
"pyo3-build-config",
|
|
@@ -429,18 +341,17 @@ dependencies = [
|
|
|
429
341
|
|
|
430
342
|
[[package]]
|
|
431
343
|
name = "pyo3-file"
|
|
432
|
-
version = "0.
|
|
433
|
-
source = "git+https://github.com/
|
|
344
|
+
version = "0.16.0"
|
|
345
|
+
source = "git+https://github.com/omerbenamram/pyo3-file.git?rev=e88695f375ea3db95d96efc53707f4e8eb1def00#e88695f375ea3db95d96efc53707f4e8eb1def00"
|
|
434
346
|
dependencies = [
|
|
435
347
|
"pyo3",
|
|
436
|
-
"skeptic",
|
|
437
348
|
]
|
|
438
349
|
|
|
439
350
|
[[package]]
|
|
440
351
|
name = "pyo3-macros"
|
|
441
|
-
version = "0.
|
|
352
|
+
version = "0.29.0"
|
|
442
353
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
443
|
-
checksum = "
|
|
354
|
+
checksum = "9ac53762fd065daa3194dd09337a38bd793a188100fd1a9304c4ab312d901771"
|
|
444
355
|
dependencies = [
|
|
445
356
|
"proc-macro2",
|
|
446
357
|
"pyo3-macros-backend",
|
|
@@ -450,20 +361,19 @@ dependencies = [
|
|
|
450
361
|
|
|
451
362
|
[[package]]
|
|
452
363
|
name = "pyo3-macros-backend"
|
|
453
|
-
version = "0.
|
|
364
|
+
version = "0.29.0"
|
|
454
365
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
455
|
-
checksum = "
|
|
366
|
+
checksum = "4ca3a1557399783172dc5bf39cfca835157732532cba56b71d2292161e53b362"
|
|
456
367
|
dependencies = [
|
|
457
368
|
"heck",
|
|
458
369
|
"proc-macro2",
|
|
459
|
-
"pyo3-build-config",
|
|
460
370
|
"quote",
|
|
461
371
|
"syn",
|
|
462
372
|
]
|
|
463
373
|
|
|
464
374
|
[[package]]
|
|
465
375
|
name = "python-calamine"
|
|
466
|
-
version = "0.
|
|
376
|
+
version = "0.8.0"
|
|
467
377
|
dependencies = [
|
|
468
378
|
"calamine",
|
|
469
379
|
"chrono",
|
|
@@ -472,20 +382,11 @@ dependencies = [
|
|
|
472
382
|
"pyo3-file",
|
|
473
383
|
]
|
|
474
384
|
|
|
475
|
-
[[package]]
|
|
476
|
-
name = "python3-dll-a"
|
|
477
|
-
version = "0.2.14"
|
|
478
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
479
|
-
checksum = "d381ef313ae70b4da5f95f8a4de773c6aa5cd28f73adec4b4a31df70b66780d8"
|
|
480
|
-
dependencies = [
|
|
481
|
-
"cc",
|
|
482
|
-
]
|
|
483
|
-
|
|
484
385
|
[[package]]
|
|
485
386
|
name = "quick-xml"
|
|
486
|
-
version = "0.
|
|
387
|
+
version = "0.41.0"
|
|
487
388
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
488
|
-
checksum = "
|
|
389
|
+
checksum = "e660451e55124f798a69a5af3f49ccfbefbd41910eefd25caf2393e1f3473ec1"
|
|
489
390
|
dependencies = [
|
|
490
391
|
"encoding_rs",
|
|
491
392
|
"memchr",
|
|
@@ -493,63 +394,19 @@ dependencies = [
|
|
|
493
394
|
|
|
494
395
|
[[package]]
|
|
495
396
|
name = "quote"
|
|
496
|
-
version = "1.0.
|
|
397
|
+
version = "1.0.45"
|
|
497
398
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
498
|
-
checksum = "
|
|
399
|
+
checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
|
|
499
400
|
dependencies = [
|
|
500
401
|
"proc-macro2",
|
|
501
402
|
]
|
|
502
403
|
|
|
503
|
-
[[package]]
|
|
504
|
-
name = "r-efi"
|
|
505
|
-
version = "5.3.0"
|
|
506
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
507
|
-
checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
|
|
508
|
-
|
|
509
|
-
[[package]]
|
|
510
|
-
name = "rustix"
|
|
511
|
-
version = "1.1.2"
|
|
512
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
513
|
-
checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e"
|
|
514
|
-
dependencies = [
|
|
515
|
-
"bitflags",
|
|
516
|
-
"errno",
|
|
517
|
-
"libc",
|
|
518
|
-
"linux-raw-sys",
|
|
519
|
-
"windows-sys",
|
|
520
|
-
]
|
|
521
|
-
|
|
522
404
|
[[package]]
|
|
523
405
|
name = "rustversion"
|
|
524
406
|
version = "1.0.22"
|
|
525
407
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
526
408
|
checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
|
527
409
|
|
|
528
|
-
[[package]]
|
|
529
|
-
name = "ryu"
|
|
530
|
-
version = "1.0.20"
|
|
531
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
532
|
-
checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
|
|
533
|
-
|
|
534
|
-
[[package]]
|
|
535
|
-
name = "same-file"
|
|
536
|
-
version = "1.0.6"
|
|
537
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
538
|
-
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
|
539
|
-
dependencies = [
|
|
540
|
-
"winapi-util",
|
|
541
|
-
]
|
|
542
|
-
|
|
543
|
-
[[package]]
|
|
544
|
-
name = "semver"
|
|
545
|
-
version = "1.0.27"
|
|
546
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
547
|
-
checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2"
|
|
548
|
-
dependencies = [
|
|
549
|
-
"serde",
|
|
550
|
-
"serde_core",
|
|
551
|
-
]
|
|
552
|
-
|
|
553
410
|
[[package]]
|
|
554
411
|
name = "serde"
|
|
555
412
|
version = "1.0.228"
|
|
@@ -557,7 +414,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
557
414
|
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
|
|
558
415
|
dependencies = [
|
|
559
416
|
"serde_core",
|
|
560
|
-
"serde_derive",
|
|
561
417
|
]
|
|
562
418
|
|
|
563
419
|
[[package]]
|
|
@@ -580,51 +436,29 @@ dependencies = [
|
|
|
580
436
|
"syn",
|
|
581
437
|
]
|
|
582
438
|
|
|
583
|
-
[[package]]
|
|
584
|
-
name = "serde_json"
|
|
585
|
-
version = "1.0.145"
|
|
586
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
587
|
-
checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c"
|
|
588
|
-
dependencies = [
|
|
589
|
-
"itoa",
|
|
590
|
-
"memchr",
|
|
591
|
-
"ryu",
|
|
592
|
-
"serde",
|
|
593
|
-
"serde_core",
|
|
594
|
-
]
|
|
595
|
-
|
|
596
439
|
[[package]]
|
|
597
440
|
name = "shlex"
|
|
598
|
-
version = "
|
|
441
|
+
version = "2.0.1"
|
|
599
442
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
600
|
-
checksum = "
|
|
443
|
+
checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
|
|
601
444
|
|
|
602
445
|
[[package]]
|
|
603
446
|
name = "simd-adler32"
|
|
604
|
-
version = "0.3.
|
|
447
|
+
version = "0.3.9"
|
|
605
448
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
606
|
-
checksum = "
|
|
449
|
+
checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214"
|
|
607
450
|
|
|
608
451
|
[[package]]
|
|
609
|
-
name = "
|
|
610
|
-
version = "0.
|
|
452
|
+
name = "slab"
|
|
453
|
+
version = "0.4.12"
|
|
611
454
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
612
|
-
checksum = "
|
|
613
|
-
dependencies = [
|
|
614
|
-
"bytecount",
|
|
615
|
-
"cargo_metadata",
|
|
616
|
-
"error-chain",
|
|
617
|
-
"glob",
|
|
618
|
-
"pulldown-cmark",
|
|
619
|
-
"tempfile",
|
|
620
|
-
"walkdir",
|
|
621
|
-
]
|
|
455
|
+
checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
|
|
622
456
|
|
|
623
457
|
[[package]]
|
|
624
458
|
name = "syn"
|
|
625
|
-
version = "2.0.
|
|
459
|
+
version = "2.0.118"
|
|
626
460
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
627
|
-
checksum = "
|
|
461
|
+
checksum = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422"
|
|
628
462
|
dependencies = [
|
|
629
463
|
"proc-macro2",
|
|
630
464
|
"quote",
|
|
@@ -633,71 +467,27 @@ dependencies = [
|
|
|
633
467
|
|
|
634
468
|
[[package]]
|
|
635
469
|
name = "target-lexicon"
|
|
636
|
-
version = "0.13.
|
|
637
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
638
|
-
checksum = "df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c"
|
|
639
|
-
|
|
640
|
-
[[package]]
|
|
641
|
-
name = "tempfile"
|
|
642
|
-
version = "3.23.0"
|
|
470
|
+
version = "0.13.5"
|
|
643
471
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
644
|
-
checksum = "
|
|
645
|
-
dependencies = [
|
|
646
|
-
"fastrand",
|
|
647
|
-
"getrandom",
|
|
648
|
-
"once_cell",
|
|
649
|
-
"rustix",
|
|
650
|
-
"windows-sys",
|
|
651
|
-
]
|
|
472
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
652
473
|
|
|
653
474
|
[[package]]
|
|
654
475
|
name = "typed-path"
|
|
655
|
-
version = "0.12.
|
|
656
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
657
|
-
checksum = "3015e6ce46d5ad8751e4a772543a30c7511468070e98e64e20165f8f81155b64"
|
|
658
|
-
|
|
659
|
-
[[package]]
|
|
660
|
-
name = "unicase"
|
|
661
|
-
version = "2.8.1"
|
|
476
|
+
version = "0.12.3"
|
|
662
477
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
663
|
-
checksum = "
|
|
478
|
+
checksum = "8e28f89b80c87b8fb0cf04ab448d5dd0dd0ade2f8891bae878de66a75a28600e"
|
|
664
479
|
|
|
665
480
|
[[package]]
|
|
666
481
|
name = "unicode-ident"
|
|
667
|
-
version = "1.0.
|
|
668
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
669
|
-
checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
|
|
670
|
-
|
|
671
|
-
[[package]]
|
|
672
|
-
name = "version_check"
|
|
673
|
-
version = "0.9.5"
|
|
674
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
675
|
-
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
|
676
|
-
|
|
677
|
-
[[package]]
|
|
678
|
-
name = "walkdir"
|
|
679
|
-
version = "2.5.0"
|
|
680
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
681
|
-
checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
|
|
682
|
-
dependencies = [
|
|
683
|
-
"same-file",
|
|
684
|
-
"winapi-util",
|
|
685
|
-
]
|
|
686
|
-
|
|
687
|
-
[[package]]
|
|
688
|
-
name = "wasip2"
|
|
689
|
-
version = "1.0.1+wasi-0.2.4"
|
|
482
|
+
version = "1.0.24"
|
|
690
483
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
691
|
-
checksum = "
|
|
692
|
-
dependencies = [
|
|
693
|
-
"wit-bindgen",
|
|
694
|
-
]
|
|
484
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
695
485
|
|
|
696
486
|
[[package]]
|
|
697
487
|
name = "wasm-bindgen"
|
|
698
|
-
version = "0.2.
|
|
488
|
+
version = "0.2.125"
|
|
699
489
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
700
|
-
checksum = "
|
|
490
|
+
checksum = "8ddb3f79143bced6de84270411622a2699cee572fc0875aeaf1e7867cf9fca1a"
|
|
701
491
|
dependencies = [
|
|
702
492
|
"cfg-if",
|
|
703
493
|
"once_cell",
|
|
@@ -708,9 +498,9 @@ dependencies = [
|
|
|
708
498
|
|
|
709
499
|
[[package]]
|
|
710
500
|
name = "wasm-bindgen-macro"
|
|
711
|
-
version = "0.2.
|
|
501
|
+
version = "0.2.125"
|
|
712
502
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
713
|
-
checksum = "
|
|
503
|
+
checksum = "4e21a184b13fb19e157296e2c46056aec9092264fab83e4ba59e68c61b323c3d"
|
|
714
504
|
dependencies = [
|
|
715
505
|
"quote",
|
|
716
506
|
"wasm-bindgen-macro-support",
|
|
@@ -718,9 +508,9 @@ dependencies = [
|
|
|
718
508
|
|
|
719
509
|
[[package]]
|
|
720
510
|
name = "wasm-bindgen-macro-support"
|
|
721
|
-
version = "0.2.
|
|
511
|
+
version = "0.2.125"
|
|
722
512
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
723
|
-
checksum = "
|
|
513
|
+
checksum = "fecefd9c35bd935a20fc3fc344b5f29138961e4f47fb03297d88f2587afb5ebd"
|
|
724
514
|
dependencies = [
|
|
725
515
|
"bumpalo",
|
|
726
516
|
"proc-macro2",
|
|
@@ -731,22 +521,13 @@ dependencies = [
|
|
|
731
521
|
|
|
732
522
|
[[package]]
|
|
733
523
|
name = "wasm-bindgen-shared"
|
|
734
|
-
version = "0.2.
|
|
524
|
+
version = "0.2.125"
|
|
735
525
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
736
|
-
checksum = "
|
|
526
|
+
checksum = "23939e44bb9a5d7576fa2b563dc2e136628f1224e88a8deed09e04858b77871f"
|
|
737
527
|
dependencies = [
|
|
738
528
|
"unicode-ident",
|
|
739
529
|
]
|
|
740
530
|
|
|
741
|
-
[[package]]
|
|
742
|
-
name = "winapi-util"
|
|
743
|
-
version = "0.1.11"
|
|
744
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
745
|
-
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
|
|
746
|
-
dependencies = [
|
|
747
|
-
"windows-sys",
|
|
748
|
-
]
|
|
749
|
-
|
|
750
531
|
[[package]]
|
|
751
532
|
name = "windows-core"
|
|
752
533
|
version = "0.62.2"
|
|
@@ -806,26 +587,11 @@ dependencies = [
|
|
|
806
587
|
"windows-link",
|
|
807
588
|
]
|
|
808
589
|
|
|
809
|
-
[[package]]
|
|
810
|
-
name = "windows-sys"
|
|
811
|
-
version = "0.61.2"
|
|
812
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
813
|
-
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
814
|
-
dependencies = [
|
|
815
|
-
"windows-link",
|
|
816
|
-
]
|
|
817
|
-
|
|
818
|
-
[[package]]
|
|
819
|
-
name = "wit-bindgen"
|
|
820
|
-
version = "0.46.0"
|
|
821
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
822
|
-
checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
|
|
823
|
-
|
|
824
590
|
[[package]]
|
|
825
591
|
name = "zip"
|
|
826
|
-
version = "
|
|
592
|
+
version = "8.6.0"
|
|
827
593
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
828
|
-
checksum = "
|
|
594
|
+
checksum = "2d04a6b5381502aa6087c94c669499eb1602eb9c5e8198e534de571f7154809b"
|
|
829
595
|
dependencies = [
|
|
830
596
|
"crc32fast",
|
|
831
597
|
"flate2",
|
|
@@ -837,9 +603,9 @@ dependencies = [
|
|
|
837
603
|
|
|
838
604
|
[[package]]
|
|
839
605
|
name = "zlib-rs"
|
|
840
|
-
version = "0.
|
|
606
|
+
version = "0.6.3"
|
|
841
607
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
842
|
-
checksum = "
|
|
608
|
+
checksum = "3be3d40e40a133f9c916ee3f9f4fa2d9d63435b5fbe1bfc6d9dae0aa0ada1513"
|
|
843
609
|
|
|
844
610
|
[[package]]
|
|
845
611
|
name = "zopfli"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "python-calamine"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.8.0"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
|
|
@@ -9,14 +9,14 @@ name = "python_calamine"
|
|
|
9
9
|
crate-type = ["cdylib"]
|
|
10
10
|
|
|
11
11
|
[dependencies]
|
|
12
|
-
calamine = { version = "0.
|
|
13
|
-
pyo3 = { version = "0.
|
|
12
|
+
calamine = { version = "0.36.0", features = ["chrono"] }
|
|
13
|
+
pyo3 = { version = "0.29.0", features = [
|
|
14
14
|
"extension-module",
|
|
15
15
|
"chrono",
|
|
16
16
|
"generate-import-lib",
|
|
17
17
|
] }
|
|
18
18
|
chrono = { version = "0.4.42", features = ["serde"] }
|
|
19
|
-
pyo3-file = { git = "https://github.com/
|
|
19
|
+
pyo3-file = { git = "https://github.com/omerbenamram/pyo3-file.git", rev = "e88695f375ea3db95d96efc53707f4e8eb1def00" }
|
|
20
20
|
|
|
21
21
|
[build-dependencies]
|
|
22
|
-
pyo3-build-config = "0.
|
|
22
|
+
pyo3-build-config = "0.29.0"
|
|
@@ -88,7 +88,7 @@ class CalamineSheet:
|
|
|
88
88
|
| datetime.timedelta
|
|
89
89
|
]
|
|
90
90
|
]:
|
|
91
|
-
"""
|
|
91
|
+
"""Returning data from sheet as list of lists.
|
|
92
92
|
|
|
93
93
|
Args:
|
|
94
94
|
skip_empty_area (bool):
|
|
@@ -110,7 +110,7 @@ class CalamineSheet:
|
|
|
110
110
|
| datetime.timedelta
|
|
111
111
|
]
|
|
112
112
|
]:
|
|
113
|
-
"""
|
|
113
|
+
"""Returning data from sheet as iterator of lists."""
|
|
114
114
|
|
|
115
115
|
@property
|
|
116
116
|
def merged_cell_ranges(
|
|
@@ -121,7 +121,7 @@ class CalamineSheet:
|
|
|
121
121
|
Support only for xlsx/xls.
|
|
122
122
|
|
|
123
123
|
Returns:
|
|
124
|
-
list of merged cell ranges (tuple[start coordinate, end coordinate]) or None for
|
|
124
|
+
list of merged cell ranges (tuple[start coordinate, end coordinate]) or None for unsupported format
|
|
125
125
|
"""
|
|
126
126
|
|
|
127
127
|
@typing.final
|
|
@@ -172,7 +172,7 @@ class CalamineTable:
|
|
|
172
172
|
| datetime.timedelta
|
|
173
173
|
]
|
|
174
174
|
]:
|
|
175
|
-
"""
|
|
175
|
+
"""Returning data from table as list of lists."""
|
|
176
176
|
|
|
177
177
|
@typing.final
|
|
178
178
|
class CalamineWorkbook:
|
|
@@ -191,7 +191,7 @@ class CalamineWorkbook:
|
|
|
191
191
|
"""Determining type of pyobject and reading from it.
|
|
192
192
|
|
|
193
193
|
Args:
|
|
194
|
-
path_or_filelike (str | os.PathLike | ReadBuffer): path to file or IO (must
|
|
194
|
+
path_or_filelike (str | os.PathLike | ReadBuffer): path to file or IO (must implement read/seek methods).
|
|
195
195
|
load_tables (bool): load Excel tables (supported for XLSX only).
|
|
196
196
|
"""
|
|
197
197
|
|
|
@@ -213,7 +213,7 @@ class CalamineWorkbook:
|
|
|
213
213
|
"""Reading file from IO.
|
|
214
214
|
|
|
215
215
|
Args:
|
|
216
|
-
filelike : IO (must
|
|
216
|
+
filelike : IO (must implement read/seek methods).
|
|
217
217
|
load_tables (bool): load Excel tables (supported for XLSX only).
|
|
218
218
|
"""
|
|
219
219
|
|
|
@@ -273,7 +273,7 @@ class CalamineWorkbook:
|
|
|
273
273
|
|
|
274
274
|
Raises:
|
|
275
275
|
WorkbookClosed: If workbook already closed.
|
|
276
|
-
|
|
276
|
+
TableNotFound: If table not found in workbook.
|
|
277
277
|
"""
|
|
278
278
|
|
|
279
279
|
class CalamineError(Exception): ...
|
|
@@ -292,7 +292,7 @@ def load_workbook(
|
|
|
292
292
|
"""Determining type of pyobject and reading from it.
|
|
293
293
|
|
|
294
294
|
Args:
|
|
295
|
-
path_or_filelike (str | os.PathLike | ReadBuffer): path to file or IO (must
|
|
295
|
+
path_or_filelike (str | os.PathLike | ReadBuffer): path to file or IO (must implement read/seek methods).
|
|
296
296
|
load_tables (bool): load Excel tables (supported for XLSX only).
|
|
297
297
|
"""
|
|
298
298
|
|
|
@@ -79,23 +79,29 @@ impl SheetsEnum {
|
|
|
79
79
|
) -> Result<Option<Vec<calamine::Dimensions>>, Error> {
|
|
80
80
|
match self {
|
|
81
81
|
SheetsEnum::File(f) => match f {
|
|
82
|
-
Sheets::Xls(xls_f) =>
|
|
82
|
+
Sheets::Xls(xls_f) => xls_f
|
|
83
|
+
.merge_cells_by_sheet_name(name)
|
|
84
|
+
.map(Some)
|
|
85
|
+
.map_err(CalamineCrateError::Xls)
|
|
86
|
+
.map_err(Error::Calamine),
|
|
83
87
|
Sheets::Xlsx(xlsx_f) => xlsx_f
|
|
84
|
-
.
|
|
85
|
-
.
|
|
88
|
+
.merge_cells_by_sheet_name(name)
|
|
89
|
+
.map(Some)
|
|
86
90
|
.map_err(CalamineCrateError::Xlsx)
|
|
87
|
-
.map_err(Error::Calamine)
|
|
88
|
-
.map(|inner| inner.or(Some(Vec::new()))),
|
|
91
|
+
.map_err(Error::Calamine),
|
|
89
92
|
_ => Ok(None),
|
|
90
93
|
},
|
|
91
94
|
SheetsEnum::FileLike(f) => match f {
|
|
92
|
-
Sheets::Xls(xls_f) =>
|
|
95
|
+
Sheets::Xls(xls_f) => xls_f
|
|
96
|
+
.merge_cells_by_sheet_name(name)
|
|
97
|
+
.map(Some)
|
|
98
|
+
.map_err(CalamineCrateError::Xls)
|
|
99
|
+
.map_err(Error::Calamine),
|
|
93
100
|
Sheets::Xlsx(xlsx_f) => xlsx_f
|
|
94
|
-
.
|
|
95
|
-
.
|
|
101
|
+
.merge_cells_by_sheet_name(name)
|
|
102
|
+
.map(Some)
|
|
96
103
|
.map_err(CalamineCrateError::Xlsx)
|
|
97
|
-
.map_err(Error::Calamine)
|
|
98
|
-
.map(|inner| inner.or(Some(Vec::new()))),
|
|
104
|
+
.map_err(Error::Calamine),
|
|
99
105
|
_ => Ok(None),
|
|
100
106
|
},
|
|
101
107
|
SheetsEnum::None => Err(Error::WorkbookClosed),
|
|
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
|
|
File without changes
|