fastxlsxio 0.5.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.
@@ -0,0 +1,269 @@
1
+ # This file is autogenerated by maturin v1.15.0
2
+ # To update, run
3
+ #
4
+ # maturin generate-ci github --pytest
5
+ #
6
+ name: CI
7
+
8
+ on:
9
+ push:
10
+ branches:
11
+ - main
12
+ - master
13
+ tags:
14
+ - '*'
15
+ pull_request:
16
+ workflow_dispatch:
17
+
18
+ permissions:
19
+ contents: read
20
+
21
+ jobs:
22
+ linux:
23
+ runs-on: ${{ matrix.platform.runner }}
24
+ strategy:
25
+ matrix:
26
+ platform:
27
+ - runner: ubuntu-22.04
28
+ target: x86_64
29
+ - runner: ubuntu-22.04
30
+ target: x86
31
+ - runner: ubuntu-22.04
32
+ target: aarch64
33
+ - runner: ubuntu-22.04
34
+ target: armv7
35
+ - runner: ubuntu-22.04
36
+ target: s390x
37
+ - runner: ubuntu-22.04
38
+ target: ppc64le
39
+ steps:
40
+ - uses: actions/checkout@v6
41
+ - uses: actions/setup-python@v6
42
+ with:
43
+ python-version: "3.10"
44
+ - name: Build wheels
45
+ uses: PyO3/maturin-action@v1
46
+ with:
47
+ target: ${{ matrix.platform.target }}
48
+ args: --release --out dist --find-interpreter
49
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
50
+ manylinux: auto
51
+ env:
52
+ PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1
53
+ - name: Upload wheels
54
+ uses: actions/upload-artifact@v6
55
+ with:
56
+ name: wheels-linux-${{ matrix.platform.target }}
57
+ path: dist
58
+ # - uses: astral-sh/setup-uv@v7
59
+ # if: ${{ startsWith(matrix.platform.target, 'x86_64') }}
60
+ # - name: pytest
61
+ # if: ${{ startsWith(matrix.platform.target, 'x86_64') }}
62
+ # shell: bash
63
+ # run: |
64
+ # set -e
65
+ # uv venv .venv
66
+ # source .venv/bin/activate
67
+ # uv pip install fastxlsxio --no-index --no-deps --find-links dist --reinstall
68
+ # uv pip install fastxlsxio pytest pytest-custom-exit-code
69
+ # pytest
70
+ # - name: pytest
71
+ # if: ${{ !startsWith(matrix.platform.target, 'x86') }}
72
+ # uses: uraimo/run-on-arch-action@v3
73
+ # with:
74
+ # arch: ${{ matrix.platform.target }}
75
+ # distro: ubuntu24.04
76
+ # githubToken: ${{ github.token }}
77
+ # install: |
78
+ # apt-get update
79
+ # apt-get install -y --no-install-recommends python3 python3-venv
80
+ # run: |
81
+ # set -e
82
+ # python3 -m venv .venv
83
+ # source .venv/bin/activate
84
+ # pip install pytest pytest-custom-exit-code
85
+ # pip install fastxlsxio --no-index --no-deps --find-links dist --force-reinstall
86
+ # pip install fastxlsxio
87
+ # pytest
88
+
89
+ musllinux:
90
+ runs-on: ${{ matrix.platform.runner }}
91
+ strategy:
92
+ matrix:
93
+ platform:
94
+ - runner: ubuntu-22.04
95
+ target: x86_64
96
+ - runner: ubuntu-22.04
97
+ target: x86
98
+ - runner: ubuntu-22.04
99
+ target: aarch64
100
+ - runner: ubuntu-22.04
101
+ target: armv7
102
+ steps:
103
+ - uses: actions/checkout@v6
104
+ - uses: actions/setup-python@v6
105
+ with:
106
+ python-version: "3.10"
107
+ - name: Build wheels
108
+ uses: PyO3/maturin-action@v1
109
+ with:
110
+ target: ${{ matrix.platform.target }}
111
+ args: --release --out dist --find-interpreter
112
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
113
+ manylinux: musllinux_1_2
114
+ env:
115
+ PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1
116
+ - name: Upload wheels
117
+ uses: actions/upload-artifact@v6
118
+ with:
119
+ name: wheels-musllinux-${{ matrix.platform.target }}
120
+ path: dist
121
+ # - name: pytest
122
+ # if: ${{ startsWith(matrix.platform.target, 'x86_64') }}
123
+ # run: |
124
+ # set -e
125
+ # docker run --rm -v ${{ github.workspace }}:/io -w /io alpine:latest sh -c '
126
+ # apk add py3-pip py3-virtualenv py3-numpy
127
+ # python3 -m virtualenv .venv
128
+ # source .venv/bin/activate
129
+ # pip install fastxlsxio --no-index --no-deps --find-links dist --force-reinstall
130
+ # pip install fastxlsxio pytest pytest-custom-exit-code
131
+ # pytest
132
+ # '
133
+ # - name: pytest
134
+ # if: ${{ !startsWith(matrix.platform.target, 'x86') }}
135
+ # uses: uraimo/run-on-arch-action@v3
136
+ # with:
137
+ # arch: ${{ matrix.platform.target }}
138
+ # distro: alpine_latest
139
+ # githubToken: ${{ github.token }}
140
+ # install: |
141
+ # apk add py3-virtualenv py3-numpy
142
+ # run: |
143
+ # set -e
144
+ # python3 -m virtualenv .venv
145
+ # source .venv/bin/activate
146
+ # pip install fastxlsxio --no-index --no-deps --find-links dist --force-reinstall
147
+ # pip install fastxlsxio pytest pytest-custom-exit-code
148
+ # pytest
149
+
150
+ windows:
151
+ runs-on: ${{ matrix.platform.runner }}
152
+ strategy:
153
+ matrix:
154
+ platform:
155
+ - runner: windows-latest
156
+ target: x64
157
+ python_arch: x64
158
+ - runner: windows-latest
159
+ target: x86
160
+ python_arch: x86
161
+ - runner: windows-11-arm
162
+ target: aarch64
163
+ python_arch: arm64
164
+ steps:
165
+ - uses: actions/checkout@v6
166
+ - uses: actions/setup-python@v6
167
+ with:
168
+ python-version: "3.13"
169
+ architecture: ${{ matrix.platform.python_arch }}
170
+ - name: Build wheels
171
+ uses: PyO3/maturin-action@v1
172
+ with:
173
+ target: ${{ matrix.platform.target }}
174
+ args: --release --out dist --find-interpreter
175
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
176
+ env:
177
+ PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1
178
+ - name: Upload wheels
179
+ uses: actions/upload-artifact@v6
180
+ with:
181
+ name: wheels-windows-${{ matrix.platform.target }}
182
+ path: dist
183
+ # - uses: astral-sh/setup-uv@v7
184
+ # - name: pytest
185
+ # shell: bash
186
+ # run: |
187
+ # set -e
188
+ # uv venv .venv
189
+ # source .venv/Scripts/activate
190
+ # uv pip install fastxlsxio --no-index --no-deps --find-links dist --reinstall
191
+ # uv pip install fastxlsxio pytest pytest-custom-exit-code
192
+ # pytest
193
+
194
+ macos:
195
+ runs-on: ${{ matrix.platform.runner }}
196
+ strategy:
197
+ matrix:
198
+ platform:
199
+ - runner: macos-15-intel
200
+ target: x86_64
201
+ - runner: macos-latest
202
+ target: aarch64
203
+ steps:
204
+ - uses: actions/checkout@v6
205
+ - uses: actions/setup-python@v6
206
+ with:
207
+ python-version: "3.10"
208
+ - name: Build wheels
209
+ uses: PyO3/maturin-action@v1
210
+ with:
211
+ target: ${{ matrix.platform.target }}
212
+ args: --release --out dist --find-interpreter
213
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
214
+ env:
215
+ PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1
216
+ - name: Upload wheels
217
+ uses: actions/upload-artifact@v6
218
+ with:
219
+ name: wheels-macos-${{ matrix.platform.target }}
220
+ path: dist
221
+ # - uses: astral-sh/setup-uv@v7
222
+ # - name: pytest
223
+ # run: |
224
+ # set -e
225
+ # uv venv .venv
226
+ # source .venv/bin/activate
227
+ # uv pip install fastxlsxio --no-index --no-deps --find-links dist --reinstall
228
+ # uv pip install fastxlsxio pytest pytest-custom-exit-code
229
+ # pytest
230
+
231
+ sdist:
232
+ runs-on: ubuntu-latest
233
+ steps:
234
+ - uses: actions/checkout@v6
235
+ - name: Build sdist
236
+ uses: PyO3/maturin-action@v1
237
+ with:
238
+ command: sdist
239
+ args: --out dist
240
+ env:
241
+ PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1
242
+ - name: Upload sdist
243
+ uses: actions/upload-artifact@v6
244
+ with:
245
+ name: wheels-sdist
246
+ path: dist
247
+
248
+ release:
249
+ name: Release
250
+ runs-on: ubuntu-latest
251
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
252
+ needs: [linux, musllinux, windows, macos, sdist]
253
+ environment: pypi
254
+ permissions:
255
+ id-token: write
256
+ contents: write
257
+ attestations: write
258
+ steps:
259
+ - name: Download all artifacts
260
+ uses: actions/download-artifact@v4
261
+ with:
262
+ pattern: '*'
263
+ path: dist
264
+ merge-multiple: true
265
+
266
+ - name: Publish to PyPI
267
+ uses: pypa/gh-action-pypi-publish@release/v1
268
+ with:
269
+ packages-dir: dist/
@@ -0,0 +1,80 @@
1
+ /target
2
+ /notebook
3
+ # Byte-compiled / optimized / DLL files
4
+ __pycache__/
5
+ .pytest_cache/
6
+ *.py[cod]
7
+
8
+ # C extensions
9
+ *.so
10
+
11
+ # Distribution / packaging
12
+ .Python
13
+ .venv/
14
+ env/
15
+ bin/
16
+ build/
17
+ develop-eggs/
18
+ dist/
19
+ eggs/
20
+ lib/
21
+ lib64/
22
+ parts/
23
+ sdist/
24
+ var/
25
+ include/
26
+ man/
27
+ venv/
28
+ *.egg-info/
29
+ .installed.cfg
30
+ *.egg
31
+
32
+ # Installer logs
33
+ pip-log.txt
34
+ pip-delete-this-directory.txt
35
+ pip-selfcheck.json
36
+
37
+ # Unit test / coverage reports
38
+ htmlcov/
39
+ .tox/
40
+ .coverage
41
+ .cache
42
+ nosetests.xml
43
+ coverage.xml
44
+
45
+ # Translations
46
+ *.mo
47
+
48
+ # Mr Developer
49
+ .mr.developer.cfg
50
+ .project
51
+ .pydevproject
52
+
53
+ # Rope
54
+ .ropeproject
55
+
56
+ # Django stuff:
57
+ *.log
58
+ *.pot
59
+
60
+ .DS_Store
61
+
62
+ # Sphinx documentation
63
+ docs/_build/
64
+
65
+ # PyCharm
66
+ .idea/
67
+
68
+ # VSCode
69
+ .vscode/
70
+
71
+ # Pyenv
72
+ .python-version
73
+
74
+ # benchmarks
75
+ .benchmarks
76
+ *.xlsx
77
+ *.json
78
+ /benchmarks/xlsx_files
79
+
80
+ .py3*/