fastembed_vectorstore 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.
File without changes
@@ -0,0 +1,167 @@
1
+ # This file is autogenerated by maturin v1.12.2
2
+ # To update, run
3
+ #
4
+ # maturin generate-ci github --platform manylinux linux windows macos
5
+ #
6
+ name: CI
7
+
8
+ on:
9
+ push:
10
+ tags:
11
+ - '*'
12
+ pull_request:
13
+ workflow_dispatch:
14
+
15
+ permissions:
16
+ contents: read
17
+
18
+ jobs:
19
+ linux:
20
+ runs-on: ${{ matrix.platform.runner }}
21
+ strategy:
22
+ matrix:
23
+ platform:
24
+ - runner: ubuntu-22.04
25
+ target: x86_64
26
+ - runner: ubuntu-22.04
27
+ target: aarch64
28
+ steps:
29
+ - uses: actions/checkout@v6
30
+ - uses: actions/setup-python@v6
31
+ with:
32
+ python-version: 3.x
33
+ - name: Build wheels
34
+ uses: PyO3/maturin-action@v1
35
+ env:
36
+ CFLAGS_aarch64_unknown_linux_gnu: ${{ matrix.platform.target == 'aarch64' && '-march=armv8-a -D__ARM_ARCH=8' || '' }}
37
+ CFLAGS_aarch64-unknown-linux-gnu: ${{ matrix.platform.target == 'aarch64' && '-march=armv8-a -D__ARM_ARCH=8' || '' }}
38
+ with:
39
+ target: ${{ matrix.platform.target }}
40
+ args: --release --out dist
41
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
42
+ manylinux: auto
43
+ - name: Build free-threaded wheels
44
+ uses: PyO3/maturin-action@v1
45
+ env:
46
+ CFLAGS_aarch64_unknown_linux_gnu: ${{ matrix.platform.target == 'aarch64' && '-march=armv8-a -D__ARM_ARCH=8' || '' }}
47
+ CFLAGS_aarch64-unknown-linux-gnu: ${{ matrix.platform.target == 'aarch64' && '-march=armv8-a -D__ARM_ARCH=8' || '' }}
48
+ with:
49
+ target: ${{ matrix.platform.target }}
50
+ args: --release --out dist -i python3.14t
51
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
52
+ manylinux: auto
53
+ - name: Upload wheels
54
+ uses: actions/upload-artifact@v5
55
+ with:
56
+ name: wheels-linux-${{ matrix.platform.target }}
57
+ path: dist
58
+
59
+ windows:
60
+ runs-on: ${{ matrix.platform.runner }}
61
+ strategy:
62
+ matrix:
63
+ platform:
64
+ - runner: windows-latest
65
+ target: x64
66
+ python_arch: x64
67
+ steps:
68
+ - uses: actions/checkout@v6
69
+ - uses: actions/setup-python@v6
70
+ with:
71
+ python-version: 3.13
72
+ architecture: ${{ matrix.platform.python_arch }}
73
+ - name: Build wheels
74
+ uses: PyO3/maturin-action@v1
75
+ with:
76
+ target: ${{ matrix.platform.target }}
77
+ args: --release --out dist
78
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
79
+ - uses: actions/setup-python@v6
80
+ with:
81
+ python-version: 3.14t
82
+ architecture: ${{ matrix.platform.python_arch }}
83
+ - name: Build free-threaded wheels
84
+ uses: PyO3/maturin-action@v1
85
+ with:
86
+ target: ${{ matrix.platform.target }}
87
+ args: --release --out dist -i python3.14t
88
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
89
+ - name: Upload wheels
90
+ uses: actions/upload-artifact@v5
91
+ with:
92
+ name: wheels-windows-${{ matrix.platform.target }}
93
+ path: dist
94
+
95
+ macos:
96
+ runs-on: ${{ matrix.platform.runner }}
97
+ strategy:
98
+ matrix:
99
+ platform:
100
+ - runner: macos-15-intel
101
+ target: x86_64
102
+ - runner: macos-latest
103
+ target: aarch64
104
+ steps:
105
+ - uses: actions/checkout@v6
106
+ - uses: actions/setup-python@v6
107
+ with:
108
+ python-version: 3.x
109
+ - name: Build wheels
110
+ uses: PyO3/maturin-action@v1
111
+ with:
112
+ target: ${{ matrix.platform.target }}
113
+ args: --release --out dist
114
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
115
+ - name: Build free-threaded wheels
116
+ uses: PyO3/maturin-action@v1
117
+ with:
118
+ target: ${{ matrix.platform.target }}
119
+ args: --release --out dist -i python3.14t
120
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
121
+ - name: Upload wheels
122
+ uses: actions/upload-artifact@v5
123
+ with:
124
+ name: wheels-macos-${{ matrix.platform.target }}
125
+ path: dist
126
+
127
+ sdist:
128
+ runs-on: ubuntu-latest
129
+ steps:
130
+ - uses: actions/checkout@v6
131
+ - name: Build sdist
132
+ uses: PyO3/maturin-action@v1
133
+ with:
134
+ command: sdist
135
+ args: --out dist
136
+ - name: Upload sdist
137
+ uses: actions/upload-artifact@v5
138
+ with:
139
+ name: wheels-sdist
140
+ path: dist
141
+
142
+ release:
143
+ name: Release
144
+ runs-on: ubuntu-latest
145
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
146
+ needs: [linux, windows, macos, sdist]
147
+ permissions:
148
+ # Use to sign the release artifacts
149
+ id-token: write
150
+ # Used to upload release artifacts
151
+ contents: write
152
+ # Used to generate artifact attestation
153
+ attestations: write
154
+ steps:
155
+ - uses: actions/download-artifact@v6
156
+ - name: Generate artifact attestation
157
+ uses: actions/attest-build-provenance@v3
158
+ with:
159
+ subject-path: 'wheels-*/*'
160
+ - name: Install uv
161
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
162
+ uses: astral-sh/setup-uv@v7
163
+ - name: Publish to PyPI
164
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
165
+ run: uv publish 'wheels-*/*'
166
+ env:
167
+ UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
@@ -0,0 +1,75 @@
1
+ /target
2
+
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
+ .fastembed_cache
74
+ .test.py
75
+ fastembed_cache