vxdb 0.3.0__tar.gz → 0.3.2__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.
- {vxdb-0.3.0 → vxdb-0.3.2}/Cargo.lock +3 -3
- {vxdb-0.3.0 → vxdb-0.3.2}/Cargo.toml +1 -1
- {vxdb-0.3.0 → vxdb-0.3.2}/PKG-INFO +18 -2
- {vxdb-0.3.0 → vxdb-0.3.2}/README.md +17 -1
- {vxdb-0.3.0 → vxdb-0.3.2}/pyproject.toml +1 -1
- {vxdb-0.3.0 → vxdb-0.3.2}/python/vxdb/embedded.py +6 -1
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/Cargo.toml +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/src/collection.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/src/distance/cosine.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/src/distance/dot.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/src/distance/euclidean.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/src/distance/mod.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/src/error.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/src/filter.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/src/hybrid.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/src/index/flat.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/src/index/hnsw.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/src/index/mod.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/src/lib.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/src/storage/metadata.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/src/storage/mmap.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/src/storage/mod.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/src/storage/persistent.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/src/storage/wal.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-core/src/types.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-python/Cargo.toml +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/crates/vxdb-python/src/lib.rs +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/python/vxdb/__init__.py +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/python/vxdb/_vxdb.pyi +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/python/vxdb/client.py +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/python/vxdb/embedding.py +0 -0
- {vxdb-0.3.0 → vxdb-0.3.2}/python/vxdb/py.typed +0 -0
|
@@ -1761,7 +1761,7 @@ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
|
|
1761
1761
|
|
|
1762
1762
|
[[package]]
|
|
1763
1763
|
name = "vxdb-core"
|
|
1764
|
-
version = "0.3.
|
|
1764
|
+
version = "0.3.2"
|
|
1765
1765
|
dependencies = [
|
|
1766
1766
|
"memmap2",
|
|
1767
1767
|
"parking_lot",
|
|
@@ -1775,7 +1775,7 @@ dependencies = [
|
|
|
1775
1775
|
|
|
1776
1776
|
[[package]]
|
|
1777
1777
|
name = "vxdb-python"
|
|
1778
|
-
version = "0.3.
|
|
1778
|
+
version = "0.3.2"
|
|
1779
1779
|
dependencies = [
|
|
1780
1780
|
"pyo3",
|
|
1781
1781
|
"serde_json",
|
|
@@ -1784,7 +1784,7 @@ dependencies = [
|
|
|
1784
1784
|
|
|
1785
1785
|
[[package]]
|
|
1786
1786
|
name = "vxdb-server"
|
|
1787
|
-
version = "0.3.
|
|
1787
|
+
version = "0.3.2"
|
|
1788
1788
|
dependencies = [
|
|
1789
1789
|
"axum",
|
|
1790
1790
|
"clap",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vxdb
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Classifier: Development Status :: 4 - Beta
|
|
5
5
|
Classifier: Intended Audience :: Developers
|
|
6
6
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
@@ -212,11 +212,27 @@ works and bypasses embedding — vxdb never requires or imports your model libra
|
|
|
212
212
|
|
|
213
213
|
Same engine, accessed over HTTP. Deploy it as a standalone service.
|
|
214
214
|
|
|
215
|
+
The server ships as a **separate, optional package** — `pip install vxdb-server`
|
|
216
|
+
adds the `vxdb-server` binary without touching the lean core `vxdb` wheel:
|
|
217
|
+
|
|
215
218
|
```bash
|
|
216
|
-
#
|
|
219
|
+
# Install the standalone server (separate package, no extra deps)
|
|
220
|
+
pip install vxdb-server
|
|
221
|
+
|
|
222
|
+
# Start it
|
|
217
223
|
vxdb-server --host 0.0.0.0 --port 8080
|
|
218
224
|
```
|
|
219
225
|
|
|
226
|
+
The Python `Client` lives in the core package — install it with the `server`
|
|
227
|
+
extra (which pulls in `httpx`):
|
|
228
|
+
|
|
229
|
+
```bash
|
|
230
|
+
pip install 'vxdb[server]'
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
> **Note:** server mode is currently **in-memory only** — data does not persist
|
|
234
|
+
> across restarts. For persistence, use embedded mode (`vxdb.Database(path=...)`).
|
|
235
|
+
|
|
220
236
|
**Python client:**
|
|
221
237
|
|
|
222
238
|
```python
|
|
@@ -184,11 +184,27 @@ works and bypasses embedding — vxdb never requires or imports your model libra
|
|
|
184
184
|
|
|
185
185
|
Same engine, accessed over HTTP. Deploy it as a standalone service.
|
|
186
186
|
|
|
187
|
+
The server ships as a **separate, optional package** — `pip install vxdb-server`
|
|
188
|
+
adds the `vxdb-server` binary without touching the lean core `vxdb` wheel:
|
|
189
|
+
|
|
187
190
|
```bash
|
|
188
|
-
#
|
|
191
|
+
# Install the standalone server (separate package, no extra deps)
|
|
192
|
+
pip install vxdb-server
|
|
193
|
+
|
|
194
|
+
# Start it
|
|
189
195
|
vxdb-server --host 0.0.0.0 --port 8080
|
|
190
196
|
```
|
|
191
197
|
|
|
198
|
+
The Python `Client` lives in the core package — install it with the `server`
|
|
199
|
+
extra (which pulls in `httpx`):
|
|
200
|
+
|
|
201
|
+
```bash
|
|
202
|
+
pip install 'vxdb[server]'
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
> **Note:** server mode is currently **in-memory only** — data does not persist
|
|
206
|
+
> across restarts. For persistence, use embedded mode (`vxdb.Database(path=...)`).
|
|
207
|
+
|
|
192
208
|
**Python client:**
|
|
193
209
|
|
|
194
210
|
```python
|
|
@@ -4,7 +4,7 @@ build-backend = "maturin"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "vxdb"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.2"
|
|
8
8
|
description = "A lightweight, high-performance vector database with a Rust backend. Hybrid search, embedded + server modes, zero dependencies."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
@@ -58,7 +58,12 @@ class Collection:
|
|
|
58
58
|
vector = _embed(self.embedding_function, [query_text])[0]
|
|
59
59
|
return self._native.query(vector=vector, top_k=top_k, filter=filter)
|
|
60
60
|
|
|
61
|
-
def hybrid_query(self,
|
|
61
|
+
def hybrid_query(self, vector=None, query=None, top_k=10, alpha=0.5):
|
|
62
|
+
# `vector` stays first to match the native positional order
|
|
63
|
+
# `hybrid_query(vector, query, ...)`. `query` (the BM25 text) is required;
|
|
64
|
+
# `vector` is embedded from it when omitted.
|
|
65
|
+
if query is None:
|
|
66
|
+
raise ValueError("hybrid_query requires `query` text (the keyword/BM25 component)")
|
|
62
67
|
if vector is None:
|
|
63
68
|
vector = _embed(self.embedding_function, [query])[0]
|
|
64
69
|
return self._native.hybrid_query(vector=vector, query=query, top_k=top_k, alpha=alpha)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|