best-driver 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,180 @@
1
+ # This file is autogenerated by maturin v1.16.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
+ 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
+ steps:
36
+ - uses: actions/checkout@v6
37
+ - uses: actions/setup-python@v6
38
+ with:
39
+ python-version: "3.x"
40
+ - name: Build wheels
41
+ uses: PyO3/maturin-action@v1
42
+ with:
43
+ target: ${{ matrix.platform.target }}
44
+ args: --release --out dist --find-interpreter
45
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
46
+ manylinux: auto
47
+ - name: Upload wheels
48
+ uses: actions/upload-artifact@v6
49
+ with:
50
+ name: wheels-linux-${{ matrix.platform.target }}
51
+ path: dist
52
+
53
+ musllinux:
54
+ runs-on: ${{ matrix.platform.runner }}
55
+ strategy:
56
+ matrix:
57
+ platform:
58
+ - runner: ubuntu-22.04
59
+ target: x86_64
60
+ - runner: ubuntu-22.04
61
+ target: x86
62
+ - runner: ubuntu-22.04
63
+ target: aarch64
64
+ - runner: ubuntu-22.04
65
+ target: armv7
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
+ - runner: windows-latest
93
+ target: x86
94
+ python_arch: x86
95
+ - runner: windows-11-arm
96
+ target: aarch64
97
+ python_arch: arm64
98
+ steps:
99
+ - uses: actions/checkout@v6
100
+ - uses: actions/setup-python@v6
101
+ with:
102
+ python-version: "3.13"
103
+ architecture: ${{ matrix.platform.python_arch }}
104
+ - name: Build wheels
105
+ uses: PyO3/maturin-action@v1
106
+ with:
107
+ target: ${{ matrix.platform.target }}
108
+ args: --release --out dist --find-interpreter
109
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
110
+ - name: Upload wheels
111
+ uses: actions/upload-artifact@v6
112
+ with:
113
+ name: wheels-windows-${{ matrix.platform.target }}
114
+ path: dist
115
+
116
+ macos:
117
+ runs-on: ${{ matrix.platform.runner }}
118
+ strategy:
119
+ matrix:
120
+ platform:
121
+ - runner: macos-15-intel
122
+ target: x86_64
123
+ - runner: macos-latest
124
+ target: aarch64
125
+ steps:
126
+ - uses: actions/checkout@v6
127
+ - uses: actions/setup-python@v6
128
+ with:
129
+ python-version: "3.x"
130
+ - name: Build wheels
131
+ uses: PyO3/maturin-action@v1
132
+ with:
133
+ target: ${{ matrix.platform.target }}
134
+ args: --release --out dist --find-interpreter
135
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
136
+ - name: Upload wheels
137
+ uses: actions/upload-artifact@v6
138
+ with:
139
+ name: wheels-macos-${{ matrix.platform.target }}
140
+ path: dist
141
+
142
+ sdist:
143
+ runs-on: ubuntu-latest
144
+ steps:
145
+ - uses: actions/checkout@v6
146
+ - name: Build sdist
147
+ uses: PyO3/maturin-action@v1
148
+ with:
149
+ command: sdist
150
+ args: --out dist
151
+ - name: Upload sdist
152
+ uses: actions/upload-artifact@v6
153
+ with:
154
+ name: wheels-sdist
155
+ path: dist
156
+
157
+ release:
158
+ name: Release
159
+ runs-on: ubuntu-latest
160
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
161
+ needs: [linux, musllinux, windows, macos, sdist]
162
+ permissions:
163
+ # Use to sign the release artifacts
164
+ id-token: write
165
+ # Used to upload release artifacts
166
+ contents: write
167
+ # Used to generate artifact attestation
168
+ attestations: write
169
+ steps:
170
+ - uses: actions/download-artifact@v7
171
+ - name: Generate artifact attestation
172
+ uses: actions/attest@v4
173
+ with:
174
+ subject-path: 'wheels-*/*'
175
+ - name: Install uv
176
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
177
+ uses: astral-sh/setup-uv@v7
178
+ - name: Publish to PyPI
179
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
180
+ run: uv publish --trusted-publishing always 'wheels-*/*'
@@ -0,0 +1,83 @@
1
+ /target
2
+
3
+ # Build wheels & binary extensions
4
+ *.whl
5
+ *.pyd
6
+
7
+ # Screenshots & generated media
8
+ *.png
9
+ *.jpg
10
+ *.jpeg
11
+ *.webp
12
+ *.pdf
13
+
14
+ # Python bytecode & cache
15
+ __pycache__/
16
+ .pytest_cache/
17
+ *.py[cod]
18
+
19
+ # C extensions
20
+ *.so
21
+
22
+ # Distribution / packaging
23
+ .Python
24
+ .venv/
25
+ env/
26
+ bin/
27
+ build/
28
+ develop-eggs/
29
+ dist/
30
+ eggs/
31
+ lib/
32
+ lib64/
33
+ parts/
34
+ sdist/
35
+ var/
36
+ include/
37
+ man/
38
+ venv/
39
+ *.egg-info/
40
+ .installed.cfg
41
+ *.egg
42
+
43
+ # Installer logs
44
+ pip-log.txt
45
+ pip-delete-this-directory.txt
46
+ pip-selfcheck.json
47
+
48
+ # Unit test / coverage reports
49
+ htmlcov/
50
+ .tox/
51
+ .coverage
52
+ .cache
53
+ nosetests.xml
54
+ coverage.xml
55
+
56
+ # Translations
57
+ *.mo
58
+
59
+ # Mr Developer
60
+ .mr.developer.cfg
61
+ .project
62
+ .pydevproject
63
+
64
+ # Rope
65
+ .ropeproject
66
+
67
+ # Django stuff:
68
+ *.log
69
+ *.pot
70
+
71
+ .DS_Store
72
+
73
+ # Sphinx documentation
74
+ docs/_build/
75
+
76
+ # PyCharm
77
+ .idea/
78
+
79
+ # VSCode
80
+ .vscode/
81
+
82
+ # Pyenv
83
+ .python-version