fastembed-vectorstore 0.2.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,149 @@
1
+ # This file is autogenerated by maturin v1.9.0
2
+ # To update, run
3
+ #
4
+ # maturin generate-ci github
5
+ #
6
+ name: CI
7
+
8
+ on:
9
+ push:
10
+ tags:
11
+ - 'v*'
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@v4
30
+ - uses: actions/setup-python@v5
31
+ with:
32
+ python-version: 3.x
33
+ - name: Build wheels (x86_64)
34
+ if: ${{ matrix.platform.target == 'x86_64' }}
35
+ uses: PyO3/maturin-action@v1
36
+ with:
37
+ target: ${{ matrix.platform.target }}
38
+ args: --release --out dist --find-interpreter
39
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
40
+ manylinux: auto
41
+ - name: Build wheels (aarch64)
42
+ if: ${{ matrix.platform.target == 'aarch64' }}
43
+ uses: PyO3/maturin-action@v1
44
+ env:
45
+ CFLAGS_aarch64_unknown_linux_gnu: -D__ARM_ARCH=8
46
+ TARGET_CFLAGS: -D__ARM_ARCH=8
47
+ with:
48
+ target: ${{ matrix.platform.target }}
49
+ args: --release --out dist --find-interpreter
50
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
51
+ manylinux: auto
52
+ - name: Upload wheels
53
+ uses: actions/upload-artifact@v4
54
+ with:
55
+ name: wheels-linux-${{ matrix.platform.target }}
56
+ path: dist
57
+
58
+ windows:
59
+ runs-on: ${{ matrix.platform.runner }}
60
+ strategy:
61
+ matrix:
62
+ platform:
63
+ - runner: windows-latest
64
+ target: x64
65
+ steps:
66
+ - uses: actions/checkout@v4
67
+ - uses: actions/setup-python@v5
68
+ with:
69
+ python-version: 3.x
70
+ architecture: ${{ matrix.platform.target }}
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
+ - name: Upload wheels
78
+ uses: actions/upload-artifact@v4
79
+ with:
80
+ name: wheels-windows-${{ matrix.platform.target }}
81
+ path: dist
82
+
83
+ macos:
84
+ runs-on: ${{ matrix.platform.runner }}
85
+ strategy:
86
+ matrix:
87
+ platform:
88
+ - runner: macos-13
89
+ target: x86_64
90
+ - runner: macos-14
91
+ target: aarch64
92
+ steps:
93
+ - uses: actions/checkout@v4
94
+ - uses: actions/setup-python@v5
95
+ with:
96
+ python-version: 3.x
97
+ - name: Build wheels
98
+ uses: PyO3/maturin-action@v1
99
+ with:
100
+ target: ${{ matrix.platform.target }}
101
+ args: --release --out dist --find-interpreter
102
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
103
+ - name: Upload wheels
104
+ uses: actions/upload-artifact@v4
105
+ with:
106
+ name: wheels-macos-${{ matrix.platform.target }}
107
+ path: dist
108
+
109
+ sdist:
110
+ runs-on: ubuntu-latest
111
+ steps:
112
+ - uses: actions/checkout@v4
113
+ - name: Build sdist
114
+ uses: PyO3/maturin-action@v1
115
+ with:
116
+ command: sdist
117
+ args: --out dist
118
+ - name: Upload sdist
119
+ uses: actions/upload-artifact@v4
120
+ with:
121
+ name: wheels-sdist
122
+ path: dist
123
+
124
+ release:
125
+ name: Release
126
+ runs-on: ubuntu-latest
127
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
128
+ needs: [linux, windows, macos, sdist]
129
+ permissions:
130
+ # Use to sign the release artifacts
131
+ id-token: write
132
+ # Used to upload release artifacts
133
+ contents: write
134
+ # Used to generate artifact attestation
135
+ attestations: write
136
+ steps:
137
+ - uses: actions/download-artifact@v4
138
+ - name: Generate artifact attestation
139
+ uses: actions/attest-build-provenance@v2
140
+ with:
141
+ subject-path: 'wheels-*/*'
142
+ - name: Publish to PyPI
143
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
144
+ uses: PyO3/maturin-action@v1
145
+ env:
146
+ MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
147
+ with:
148
+ command: upload
149
+ args: --non-interactive --skip-existing wheels-*/*
@@ -0,0 +1,73 @@
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