python-calamine 0.9.0__tar.gz → 0.10.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.9.0 → python_calamine-0.10.0}/.github/workflows/CI.yml +50 -24
- {python_calamine-0.9.0 → python_calamine-0.10.0}/Cargo.lock +187 -108
- python_calamine-0.10.0/Cargo.toml +18 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/PKG-INFO +16 -1
- {python_calamine-0.9.0 → python_calamine-0.10.0}/README.md +15 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/python/python_calamine/__init__.py +2 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/python/python_calamine/_python_calamine.pyi +63 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/src/lib.rs +2 -1
- {python_calamine-0.9.0 → python_calamine-0.10.0}/src/types/mod.rs +2 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/src/types/workbook.rs +17 -1
- python_calamine-0.10.0/src/types/workbook_properties.rs +140 -0
- python_calamine-0.10.0/tests/data/workbook_properties.ods +0 -0
- python_calamine-0.10.0/tests/data/workbook_properties.xlsx +0 -0
- python_calamine-0.10.0/tests/test_workbook_properties.py +156 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/uv.lock +19 -18
- python_calamine-0.9.0/Cargo.toml +0 -22
- {python_calamine-0.9.0 → python_calamine-0.10.0}/.github/dependabot.yml +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/.github/pyodide/pylock.314.toml +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/.github/pyodide/pylock.315.toml +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/.github/pyodide/requirements.in +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/.gitignore +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/.pre-commit-config.yaml +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/LICENSE +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/build.rs +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/pyproject.toml +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/python/python_calamine/py.typed +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/src/types/cell.rs +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/src/types/errors.rs +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/src/types/sheet.rs +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/src/types/table.rs +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/__init__.py +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/conftest.py +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/data/any_sheets.ods +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/data/any_sheets.xls +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/data/any_sheets.xlsb +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/data/any_sheets.xlsx +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/data/base.ods +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/data/base.xls +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/data/base.xlsb +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/data/base.xlsx +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/data/empty_file.ods +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/data/empty_file.xlsb +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/data/empty_file.xlsx +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/data/issue139.xlsx +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/data/password.ods +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/data/password.xls +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/data/password.xlsb +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/data/password.xlsx +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/data/table-multiple.xlsx +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/test_base.py +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/test_pandas.py +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/test_sheet_type.py +0 -0
- {python_calamine-0.9.0 → python_calamine-0.10.0}/tests/test_tables.py +0 -0
|
@@ -63,12 +63,12 @@ jobs:
|
|
|
63
63
|
|
|
64
64
|
- id: cache-rust
|
|
65
65
|
name: cache rust
|
|
66
|
-
uses: Swatinem/rust-cache@
|
|
66
|
+
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
|
|
67
67
|
with:
|
|
68
68
|
key: v3
|
|
69
69
|
|
|
70
70
|
- name: set up python
|
|
71
|
-
uses: actions/setup-python@
|
|
71
|
+
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
72
72
|
with:
|
|
73
73
|
python-version: ${{ matrix.python-version }}
|
|
74
74
|
allow-prereleases: true
|
|
@@ -119,7 +119,7 @@ jobs:
|
|
|
119
119
|
persist-credentials: false
|
|
120
120
|
|
|
121
121
|
- name: install uv
|
|
122
|
-
uses: astral-sh/setup-uv@
|
|
122
|
+
uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
|
|
123
123
|
with:
|
|
124
124
|
python-version: ${{ matrix.python-version }}
|
|
125
125
|
enable-cache: true # zizmor: ignore[cache-poisoning] -- Job does not produce release artifacts and does not have sensitive permissions
|
|
@@ -155,9 +155,9 @@ jobs:
|
|
|
155
155
|
components: rustfmt, clippy
|
|
156
156
|
|
|
157
157
|
- name: cache rust
|
|
158
|
-
uses: Swatinem/rust-cache@
|
|
158
|
+
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
|
|
159
159
|
|
|
160
|
-
- uses: actions/setup-python@
|
|
160
|
+
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
161
161
|
with:
|
|
162
162
|
python-version: "3.14"
|
|
163
163
|
|
|
@@ -192,7 +192,7 @@ jobs:
|
|
|
192
192
|
jobs: ${{ toJSON(needs) }}
|
|
193
193
|
|
|
194
194
|
build:
|
|
195
|
-
name: build on ${{ matrix.os }} (${{ matrix.
|
|
195
|
+
name: build on ${{ matrix.os }} (${{ matrix.arch }} - ${{ matrix.interpreter || 'all' }}${{ matrix.os == 'linux' && format(' - {0}', matrix.manylinux == 'auto' && 'manylinux' || matrix.manylinux) || '' }})
|
|
196
196
|
permissions:
|
|
197
197
|
contents: read
|
|
198
198
|
if: success()
|
|
@@ -201,63 +201,89 @@ jobs:
|
|
|
201
201
|
matrix:
|
|
202
202
|
os: [linux, macos, windows]
|
|
203
203
|
target: [undefined]
|
|
204
|
+
arch: [undefined]
|
|
204
205
|
manylinux: [auto]
|
|
205
206
|
include:
|
|
206
207
|
# manylinux for various platforms
|
|
207
208
|
- os: linux
|
|
208
209
|
manylinux: auto
|
|
209
|
-
target: x86_64
|
|
210
|
+
target: x86_64-unknown-linux-gnu
|
|
211
|
+
arch: x86_64
|
|
210
212
|
- os: linux
|
|
211
213
|
manylinux: auto
|
|
212
|
-
target: aarch64
|
|
214
|
+
target: aarch64-unknown-linux-gnu
|
|
215
|
+
arch: aarch64
|
|
213
216
|
- os: linux
|
|
214
217
|
manylinux: auto
|
|
215
|
-
target: i686
|
|
218
|
+
target: i686-unknown-linux-gnu
|
|
219
|
+
arch: x86
|
|
220
|
+
# https://github.com/PyO3/maturin-action/issues/484
|
|
221
|
+
runs-on: ubuntu-24.04
|
|
216
222
|
- os: linux
|
|
217
223
|
manylinux: auto
|
|
218
|
-
target: armv7
|
|
224
|
+
target: armv7-unknown-linux-gnueabihf
|
|
225
|
+
arch: armv7
|
|
219
226
|
interpreter: 3.11 3.12 3.13 3.14 3.14t 3.15 3.15t
|
|
220
227
|
- os: linux
|
|
221
228
|
manylinux: auto
|
|
222
|
-
target:
|
|
229
|
+
target: powerpc64le-unknown-linux-gnu
|
|
230
|
+
arch: ppc64le
|
|
223
231
|
interpreter: 3.11 3.12 3.13 3.14 3.14t 3.15 3.15t
|
|
224
232
|
- os: linux
|
|
225
233
|
manylinux: auto
|
|
226
|
-
target: s390x
|
|
234
|
+
target: s390x-unknown-linux-gnu
|
|
235
|
+
arch: s390x
|
|
227
236
|
interpreter: 3.11 3.12 3.13 3.14 3.14t 3.15 3.15t
|
|
237
|
+
- os: linux
|
|
238
|
+
manylinux: auto
|
|
239
|
+
target: riscv64gc-unknown-linux-gnu
|
|
240
|
+
arch: riscv64
|
|
228
241
|
|
|
229
242
|
# musllinux
|
|
230
243
|
- os: linux
|
|
231
|
-
manylinux:
|
|
232
|
-
target: x86_64
|
|
244
|
+
manylinux: musllinux_1_2
|
|
245
|
+
target: x86_64-unknown-linux-musl
|
|
246
|
+
arch: x86_64
|
|
233
247
|
- os: linux
|
|
234
|
-
manylinux:
|
|
235
|
-
target: aarch64
|
|
248
|
+
manylinux: musllinux_1_2
|
|
249
|
+
target: aarch64-unknown-linux-musl
|
|
250
|
+
arch: aarch64
|
|
251
|
+
- os: linux
|
|
252
|
+
manylinux: musllinux_1_2
|
|
253
|
+
target: armv7-unknown-linux-musleabihf
|
|
254
|
+
arch: armv7
|
|
236
255
|
- os: linux
|
|
237
|
-
manylinux:
|
|
238
|
-
target:
|
|
256
|
+
manylinux: musllinux_1_2
|
|
257
|
+
target: riscv64gc-unknown-linux-musl
|
|
258
|
+
arch: riscv64
|
|
239
259
|
|
|
240
260
|
# macos
|
|
241
261
|
- os: macos
|
|
242
262
|
target: x86_64
|
|
263
|
+
arch: x86_64
|
|
243
264
|
- os: macos
|
|
244
265
|
target: aarch64
|
|
266
|
+
arch: aarch64
|
|
245
267
|
|
|
246
268
|
# windows
|
|
247
269
|
- os: windows
|
|
248
270
|
target: x86_64
|
|
271
|
+
arch: x86_64
|
|
249
272
|
interpreter: 3.11 3.12 3.13 3.14 3.14t 3.15 3.15t
|
|
250
273
|
- os: windows
|
|
251
274
|
target: i686
|
|
275
|
+
arch: x86
|
|
252
276
|
interpreter: 3.11 3.12 3.13 3.14 3.15
|
|
253
277
|
- os: windows
|
|
254
278
|
target: aarch64
|
|
279
|
+
arch: aarch64
|
|
255
280
|
runs-on: windows-11-arm
|
|
256
281
|
interpreter: 3.11 3.12 3.13 3.14 3.14t
|
|
257
282
|
|
|
258
283
|
exclude:
|
|
259
284
|
# was just a dummy variable to set a default value for target
|
|
260
285
|
- target: undefined
|
|
286
|
+
- arch: undefined
|
|
261
287
|
|
|
262
288
|
runs-on: ${{ matrix.runs-on || format('{0}-latest', (matrix.os == 'linux' && 'ubuntu') || matrix.os) }}
|
|
263
289
|
steps:
|
|
@@ -266,7 +292,7 @@ jobs:
|
|
|
266
292
|
persist-credentials: false
|
|
267
293
|
|
|
268
294
|
- name: set up python
|
|
269
|
-
uses: actions/setup-python@
|
|
295
|
+
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
270
296
|
with:
|
|
271
297
|
python-version: "3.14"
|
|
272
298
|
|
|
@@ -276,7 +302,7 @@ jobs:
|
|
|
276
302
|
- run: pip install -U twine
|
|
277
303
|
|
|
278
304
|
- name: build sdist
|
|
279
|
-
if: ${{ matrix.os == 'linux' && matrix.
|
|
305
|
+
if: ${{ matrix.os == 'linux' && matrix.arch == 'x86_64' && matrix.manylinux == 'auto' }}
|
|
280
306
|
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
|
|
281
307
|
with:
|
|
282
308
|
command: sdist
|
|
@@ -297,7 +323,7 @@ jobs:
|
|
|
297
323
|
|
|
298
324
|
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
299
325
|
with:
|
|
300
|
-
name: python_calamine_pypi_files_${{ matrix.os }}_${{ matrix.
|
|
326
|
+
name: python_calamine_pypi_files_${{ matrix.os }}_${{ matrix.arch }}_${{ matrix.manylinux || 'auto' }}
|
|
301
327
|
path: dist
|
|
302
328
|
|
|
303
329
|
build-pyemscripten:
|
|
@@ -314,7 +340,7 @@ jobs:
|
|
|
314
340
|
with:
|
|
315
341
|
persist-credentials: false
|
|
316
342
|
|
|
317
|
-
- uses: astral-sh/setup-uv@
|
|
343
|
+
- uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
|
|
318
344
|
with:
|
|
319
345
|
python-version: ${{ matrix.python-version }}
|
|
320
346
|
enable-cache: ${{ !startsWith(github.ref, 'refs/tags/') }} # zizmor: ignore[cache-poisoning]
|
|
@@ -381,7 +407,7 @@ jobs:
|
|
|
381
407
|
merge-multiple: true
|
|
382
408
|
|
|
383
409
|
- name: Publish package distributions to PyPI
|
|
384
|
-
uses: pypa/gh-action-pypi-publish@
|
|
410
|
+
uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # release/v1.14
|
|
385
411
|
|
|
386
412
|
gh-release:
|
|
387
413
|
needs: [build, build-pyemscripten, check]
|
|
@@ -401,7 +427,7 @@ jobs:
|
|
|
401
427
|
merge-multiple: true
|
|
402
428
|
|
|
403
429
|
- name: Upload to GitHub
|
|
404
|
-
uses: softprops/action-gh-release@
|
|
430
|
+
uses: softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3.0.4
|
|
405
431
|
with:
|
|
406
432
|
generate_release_notes: true
|
|
407
433
|
files: |
|