dbfbucket 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,176 @@
1
+ ---
2
+ # This file is autogenerated by maturin v1.12.6
3
+ # To update, run
4
+ #
5
+ # maturin generate-ci github
6
+ #
7
+ name: CI
8
+ on:
9
+ push:
10
+ branches: [main, master]
11
+ tags: ['*']
12
+ pull_request:
13
+ workflow_dispatch:
14
+ permissions:
15
+ contents: read
16
+ jobs:
17
+ linux:
18
+ runs-on: ${{ matrix.platform.runner }}
19
+ strategy:
20
+ matrix:
21
+ platform:
22
+ - runner: ubuntu-22.04
23
+ target: x86_64
24
+ - runner: ubuntu-22.04
25
+ target: x86
26
+ - runner: ubuntu-22.04
27
+ target: aarch64
28
+ - runner: ubuntu-22.04
29
+ target: armv7
30
+ - runner: ubuntu-22.04
31
+ target: s390x
32
+ - runner: ubuntu-22.04
33
+ target: ppc64le
34
+ steps:
35
+ - uses: actions/checkout@v6
36
+ - uses: actions/setup-python@v6
37
+ with:
38
+ python-version: 3.12
39
+ - name: Build wheels
40
+ uses: PyO3/maturin-action@v1
41
+ with:
42
+ target: ${{ matrix.platform.target }}
43
+ args: --release --out dist --find-interpreter
44
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
45
+ manylinux: auto
46
+ - name: Upload wheels
47
+ uses: actions/upload-artifact@v6
48
+ with:
49
+ name: wheels-linux-${{ matrix.platform.target }}
50
+ path: dist
51
+ musllinux:
52
+ runs-on: ${{ matrix.platform.runner }}
53
+ strategy:
54
+ matrix:
55
+ platform:
56
+ - runner: ubuntu-22.04
57
+ target: x86_64
58
+ - runner: ubuntu-22.04
59
+ target: x86
60
+ - runner: ubuntu-22.04
61
+ target: aarch64
62
+ - runner: ubuntu-22.04
63
+ target: armv7
64
+ steps:
65
+ - uses: actions/checkout@v6
66
+ - uses: actions/setup-python@v6
67
+ with:
68
+ python-version: 3.12
69
+ - name: Build wheels
70
+ uses: PyO3/maturin-action@v1
71
+ with:
72
+ target: ${{ matrix.platform.target }}
73
+ args: --release --out dist --find-interpreter
74
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
75
+ manylinux: musllinux_1_2
76
+ - name: Upload wheels
77
+ uses: actions/upload-artifact@v6
78
+ with:
79
+ name: wheels-musllinux-${{ matrix.platform.target }}
80
+ path: dist
81
+ windows:
82
+ runs-on: ${{ matrix.platform.runner }}
83
+ strategy:
84
+ matrix:
85
+ platform:
86
+ - runner: windows-latest
87
+ target: x64
88
+ python_arch: x64
89
+ - runner: windows-latest
90
+ target: x86
91
+ python_arch: x86
92
+ - runner: windows-11-arm
93
+ target: aarch64
94
+ python_arch: arm64
95
+ steps:
96
+ - uses: actions/checkout@v6
97
+ - uses: actions/setup-python@v6
98
+ with:
99
+ python-version: 3.12
100
+ architecture: ${{ matrix.platform.python_arch }}
101
+ - name: Build wheels
102
+ uses: PyO3/maturin-action@v1
103
+ with:
104
+ target: ${{ matrix.platform.target }}
105
+ args: --release --out dist --find-interpreter
106
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
107
+ - name: Upload wheels
108
+ uses: actions/upload-artifact@v6
109
+ with:
110
+ name: wheels-windows-${{ matrix.platform.target }}
111
+ path: dist
112
+ macos:
113
+ runs-on: ${{ matrix.platform.runner }}
114
+ strategy:
115
+ matrix:
116
+ platform:
117
+ - runner: macos-15-intel
118
+ target: x86_64
119
+ - runner: macos-latest
120
+ target: aarch64
121
+ steps:
122
+ - uses: actions/checkout@v6
123
+ - uses: actions/setup-python@v6
124
+ with:
125
+ python-version: 3.12
126
+ - name: Build wheels
127
+ uses: PyO3/maturin-action@v1
128
+ with:
129
+ target: ${{ matrix.platform.target }}
130
+ args: --release --out dist --find-interpreter
131
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
132
+ - name: Upload wheels
133
+ uses: actions/upload-artifact@v6
134
+ with:
135
+ name: wheels-macos-${{ matrix.platform.target }}
136
+ path: dist
137
+ sdist:
138
+ runs-on: ubuntu-latest
139
+ steps:
140
+ - uses: actions/checkout@v6
141
+ - name: Build sdist
142
+ uses: PyO3/maturin-action@v1
143
+ with:
144
+ command: sdist
145
+ args: --out dist
146
+ - name: Upload sdist
147
+ uses: actions/upload-artifact@v6
148
+ with:
149
+ name: wheels-sdist
150
+ path: dist
151
+ release:
152
+ name: Release
153
+ runs-on: ubuntu-latest
154
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
155
+ needs: [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-build-provenance@v3
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 'wheels-*/*'
175
+ env:
176
+ UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
@@ -0,0 +1,55 @@
1
+ ---
2
+ name: Publish to PyPI
3
+ on:
4
+ release:
5
+ types: [published]
6
+ jobs:
7
+ build:
8
+ runs-on: ${{ matrix.os }}
9
+ strategy:
10
+ matrix:
11
+ include:
12
+ # Linux x86_64 manylinux
13
+ - os: ubuntu-latest
14
+ target: x86_64
15
+ manylinux: 2014
16
+ # Linux aarch64 manylinux
17
+ - os: ubuntu-latest
18
+ target: aarch64
19
+ manylinux: 2014
20
+ # macOS
21
+ - os: macos-latest
22
+ # Windows
23
+ - os: windows-latest
24
+ steps:
25
+ - uses: actions/checkout@v4
26
+ - name: Install Rust
27
+ uses: dtolnay/rust-toolchain@stable
28
+ with:
29
+ targets: ${{ matrix.target }}
30
+ - name: Build wheels
31
+ uses: PyO3/maturin-action@v1
32
+ with:
33
+ target: ${{ matrix.target }}
34
+ args: --release ${{ matrix.manylinux && format('--manylinux {0}', matrix.manylinux) || '' }}
35
+ manylinux: ${{ matrix.manylinux }}
36
+ - name: Upload wheels
37
+ uses: actions/upload-artifact@v4
38
+ with:
39
+ name: wheels-${{ matrix.target || matrix.os }}
40
+ path: target/wheels/*.whl
41
+ publish:
42
+ needs: build
43
+ runs-on: ubuntu-latest
44
+ steps:
45
+ - uses: actions/checkout@v4
46
+ - name: Install Rust
47
+ uses: dtolnay/rust-toolchain@stable
48
+ - name: Publish to PyPI
49
+ uses: PyO3/maturin-action@v1
50
+ env:
51
+ MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
52
+ with:
53
+ command: publish
54
+ args: --username __token__ --password ${{ secrets.MATURIN_PYPI_TOKEN }}
55
+ --no-sdist
@@ -0,0 +1,23 @@
1
+ # Generated by Cargo
2
+ # will have compiled files and executables
3
+ debug
4
+ target
5
+
6
+ # These are backup files generated by rustfmt
7
+ **/*.rs.bk
8
+
9
+ # MSVC Windows builds of rustc generate these, which store debugging information
10
+ *.pdb
11
+
12
+ # Generated by cargo mutants
13
+ # Contains mutation testing data
14
+ **/mutants.out*/
15
+
16
+ # RustRover
17
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
18
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
19
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
20
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
21
+ #.idea/
22
+
23
+ /target
@@ -0,0 +1 @@
1
+ 3.12