ozaru 0.1.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,174 @@
1
+ # This file is autogenerated by maturin v1.15.0
2
+ # To update, run
3
+ #
4
+ # maturin generate-ci github
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
+ test:
23
+ runs-on: ubuntu-latest
24
+ steps:
25
+ - uses: actions/checkout@v6
26
+ - uses: astral-sh/setup-uv@v7
27
+ - name: Run tests
28
+ run: uv run pytest
29
+
30
+ linux:
31
+ runs-on: ${{ matrix.platform.runner }}
32
+ strategy:
33
+ matrix:
34
+ platform:
35
+ - runner: ubuntu-22.04
36
+ target: x86_64
37
+ - runner: ubuntu-22.04
38
+ target: aarch64
39
+ steps:
40
+ - uses: actions/checkout@v6
41
+ - uses: actions/setup-python@v6
42
+ with:
43
+ python-version: "3.x"
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
+ - name: Upload wheels
52
+ uses: actions/upload-artifact@v6
53
+ with:
54
+ name: wheels-linux-${{ matrix.platform.target }}
55
+ path: dist
56
+
57
+ musllinux:
58
+ runs-on: ${{ matrix.platform.runner }}
59
+ strategy:
60
+ matrix:
61
+ platform:
62
+ - runner: ubuntu-22.04
63
+ target: x86_64
64
+ - runner: ubuntu-22.04
65
+ target: aarch64
66
+ steps:
67
+ - uses: actions/checkout@v6
68
+ - uses: actions/setup-python@v6
69
+ with:
70
+ python-version: "3.x"
71
+ - name: Build wheels
72
+ uses: PyO3/maturin-action@v1
73
+ with:
74
+ target: ${{ matrix.platform.target }}
75
+ args: --release --out dist --find-interpreter
76
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
77
+ manylinux: musllinux_1_2
78
+ - name: Upload wheels
79
+ uses: actions/upload-artifact@v6
80
+ with:
81
+ name: wheels-musllinux-${{ matrix.platform.target }}
82
+ path: dist
83
+
84
+ windows:
85
+ runs-on: ${{ matrix.platform.runner }}
86
+ strategy:
87
+ matrix:
88
+ platform:
89
+ - runner: windows-latest
90
+ target: x64
91
+ python_arch: x64
92
+ steps:
93
+ - uses: actions/checkout@v6
94
+ - uses: actions/setup-python@v6
95
+ with:
96
+ python-version: "3.13"
97
+ architecture: ${{ matrix.platform.python_arch }}
98
+ - name: Build wheels
99
+ uses: PyO3/maturin-action@v1
100
+ with:
101
+ target: ${{ matrix.platform.target }}
102
+ args: --release --out dist --find-interpreter
103
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
104
+ - name: Upload wheels
105
+ uses: actions/upload-artifact@v6
106
+ with:
107
+ name: wheels-windows-${{ matrix.platform.target }}
108
+ path: dist
109
+
110
+ macos:
111
+ runs-on: ${{ matrix.platform.runner }}
112
+ strategy:
113
+ matrix:
114
+ platform:
115
+ - runner: macos-15-intel
116
+ target: x86_64
117
+ - runner: macos-latest
118
+ target: aarch64
119
+ steps:
120
+ - uses: actions/checkout@v6
121
+ - uses: actions/setup-python@v6
122
+ with:
123
+ python-version: "3.x"
124
+ - name: Build wheels
125
+ uses: PyO3/maturin-action@v1
126
+ with:
127
+ target: ${{ matrix.platform.target }}
128
+ args: --release --out dist --find-interpreter
129
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
130
+ - name: Upload wheels
131
+ uses: actions/upload-artifact@v6
132
+ with:
133
+ name: wheels-macos-${{ matrix.platform.target }}
134
+ path: dist
135
+
136
+ sdist:
137
+ runs-on: ubuntu-latest
138
+ steps:
139
+ - uses: actions/checkout@v6
140
+ - name: Build sdist
141
+ uses: PyO3/maturin-action@v1
142
+ with:
143
+ command: sdist
144
+ args: --out dist
145
+ - name: Upload sdist
146
+ uses: actions/upload-artifact@v6
147
+ with:
148
+ name: wheels-sdist
149
+ path: dist
150
+
151
+ release:
152
+ name: Release
153
+ runs-on: ubuntu-latest
154
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
155
+ needs: [test, linux, musllinux, windows, macos, sdist]
156
+ permissions:
157
+ # Use to sign the release artifacts
158
+ id-token: write
159
+ # Used to upload release artifacts
160
+ contents: write
161
+ # Used to generate artifact attestation
162
+ attestations: write
163
+ steps:
164
+ - uses: actions/download-artifact@v7
165
+ - name: Generate artifact attestation
166
+ uses: actions/attest@v4
167
+ with:
168
+ subject-path: 'wheels-*/*'
169
+ - name: Install uv
170
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
171
+ uses: astral-sh/setup-uv@v7
172
+ - name: Publish to PyPI
173
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
174
+ run: uv publish --trusted-publishing always 'wheels-*/*'
ozaru-0.1.0/.gitignore ADDED
@@ -0,0 +1,6 @@
1
+ .venv/
2
+ target/
3
+ prueba.pdf
4
+ dist/
5
+ __pycache__/
6
+ .pytest_cache/