vxdb 0.3.1__tar.gz → 0.3.3__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.1 → vxdb-0.3.3}/Cargo.lock +3 -3
- {vxdb-0.3.1 → vxdb-0.3.3}/Cargo.toml +1 -1
- {vxdb-0.3.1 → vxdb-0.3.3}/PKG-INFO +23 -7
- {vxdb-0.3.1 → vxdb-0.3.3}/README.md +22 -6
- {vxdb-0.3.1 → vxdb-0.3.3}/pyproject.toml +1 -1
- vxdb-0.3.3/python/vxdb/__init__.py +29 -0
- vxdb-0.3.1/python/vxdb/__init__.py +0 -16
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/Cargo.toml +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/src/collection.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/src/distance/cosine.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/src/distance/dot.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/src/distance/euclidean.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/src/distance/mod.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/src/error.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/src/filter.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/src/hybrid.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/src/index/flat.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/src/index/hnsw.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/src/index/mod.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/src/lib.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/src/storage/metadata.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/src/storage/mmap.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/src/storage/mod.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/src/storage/persistent.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/src/storage/wal.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-core/src/types.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-python/Cargo.toml +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/crates/vxdb-python/src/lib.rs +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/python/vxdb/_vxdb.pyi +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/python/vxdb/client.py +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/python/vxdb/embedded.py +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/python/vxdb/embedding.py +0 -0
- {vxdb-0.3.1 → vxdb-0.3.3}/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.3"
|
|
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.3"
|
|
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.3"
|
|
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.3
|
|
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
|
|
@@ -292,13 +308,13 @@ results = collection.hybrid_query(
|
|
|
292
308
|
| **Wheel size** | **~5 MB** | ~30 MB | ~20 MB | ~50 MB | N/A | ~50 MB+ | ~100 MB+ (downloads binary) | ~20 MB |
|
|
293
309
|
| **Startup time** | **<10 ms** | <100 ms | <500 ms | ~1-3 s (server) | N/A | ~5-10 s (server) | ~3-5 s (server) | <10 ms |
|
|
294
310
|
| **Hybrid search** | **Built-in BM25 + RRF** | BM25 + RRF + weighted | RRF (dense+sparse) | RRF, DBSF | Sparse+dense | Sparse vectors | BM25 + RRF | No |
|
|
295
|
-
| **BM25 without external encoder** | **Yes (automatic)** | Requires DashText SDK |
|
|
296
|
-
| **Sparse vectors** | No |
|
|
297
|
-
| **Multi-vector queries** | No |
|
|
311
|
+
| **BM25 without external encoder** | **Yes (automatic)** | Requires DashText SDK | Yes | Requires sparse encoder | No | Requires sparse encoder | Yes | No |
|
|
312
|
+
| **Sparse vectors** | No | Yes | Yes | Yes | Yes | Yes | No | No |
|
|
313
|
+
| **Multi-vector queries** | No | Yes | No | Yes | No | No | No | No |
|
|
298
314
|
| **Metadata filtering** | **10 operators** | Structured filters | Yes | Yes | Yes | Yes | Yes | No |
|
|
299
|
-
| **Persistence** | **mmap + SQLite + WAL** | Custom engine | SQLite |
|
|
315
|
+
| **Persistence** | **mmap + SQLite + WAL** | Custom engine | SQLite | Gridstore | Cloud | RocksDB | LSM | Manual |
|
|
300
316
|
| **Crash recovery** | **WAL** | Yes | Yes (v1.0) | Yes | Yes | Yes | Yes | No |
|
|
301
|
-
| **Quantization** | No (planned) |
|
|
317
|
+
| **Quantization** | No (planned) | FP16, INT8, INT4, RaBitQ | No | Scalar/PQ | Yes | Yes | PQ/BQ | PQ/SQ |
|
|
302
318
|
| **Docker image** | ~145 MB | N/A (no server) | ~200 MB+ | ~100 MB | No | ~1 GB+ | ~300 MB+ | No |
|
|
303
319
|
| **Runs offline** | **Yes** | Yes | Yes | Yes | No | Yes | Yes | Yes |
|
|
304
320
|
| **License** | **Apache 2.0** | Apache 2.0 | Apache 2.0 | Apache 2.0 | Proprietary | Apache 2.0 | BSD-3 | MIT |
|
|
@@ -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
|
|
@@ -264,13 +280,13 @@ results = collection.hybrid_query(
|
|
|
264
280
|
| **Wheel size** | **~5 MB** | ~30 MB | ~20 MB | ~50 MB | N/A | ~50 MB+ | ~100 MB+ (downloads binary) | ~20 MB |
|
|
265
281
|
| **Startup time** | **<10 ms** | <100 ms | <500 ms | ~1-3 s (server) | N/A | ~5-10 s (server) | ~3-5 s (server) | <10 ms |
|
|
266
282
|
| **Hybrid search** | **Built-in BM25 + RRF** | BM25 + RRF + weighted | RRF (dense+sparse) | RRF, DBSF | Sparse+dense | Sparse vectors | BM25 + RRF | No |
|
|
267
|
-
| **BM25 without external encoder** | **Yes (automatic)** | Requires DashText SDK |
|
|
268
|
-
| **Sparse vectors** | No |
|
|
269
|
-
| **Multi-vector queries** | No |
|
|
283
|
+
| **BM25 without external encoder** | **Yes (automatic)** | Requires DashText SDK | Yes | Requires sparse encoder | No | Requires sparse encoder | Yes | No |
|
|
284
|
+
| **Sparse vectors** | No | Yes | Yes | Yes | Yes | Yes | No | No |
|
|
285
|
+
| **Multi-vector queries** | No | Yes | No | Yes | No | No | No | No |
|
|
270
286
|
| **Metadata filtering** | **10 operators** | Structured filters | Yes | Yes | Yes | Yes | Yes | No |
|
|
271
|
-
| **Persistence** | **mmap + SQLite + WAL** | Custom engine | SQLite |
|
|
287
|
+
| **Persistence** | **mmap + SQLite + WAL** | Custom engine | SQLite | Gridstore | Cloud | RocksDB | LSM | Manual |
|
|
272
288
|
| **Crash recovery** | **WAL** | Yes | Yes (v1.0) | Yes | Yes | Yes | Yes | No |
|
|
273
|
-
| **Quantization** | No (planned) |
|
|
289
|
+
| **Quantization** | No (planned) | FP16, INT8, INT4, RaBitQ | No | Scalar/PQ | Yes | Yes | PQ/BQ | PQ/SQ |
|
|
274
290
|
| **Docker image** | ~145 MB | N/A (no server) | ~200 MB+ | ~100 MB | No | ~1 GB+ | ~300 MB+ | No |
|
|
275
291
|
| **Runs offline** | **Yes** | Yes | Yes | Yes | No | Yes | Yes | Yes |
|
|
276
292
|
| **License** | **Apache 2.0** | Apache 2.0 | Apache 2.0 | Apache 2.0 | Proprietary | Apache 2.0 | BSD-3 | MIT |
|
|
@@ -4,7 +4,7 @@ build-backend = "maturin"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "vxdb"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.3"
|
|
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"
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""vxdb — A lightweight, high-performance vector store."""
|
|
2
|
+
|
|
3
|
+
from vxdb.client import Client
|
|
4
|
+
from vxdb.embedded import Collection, Database
|
|
5
|
+
from vxdb.embedding import EmbeddingFunction
|
|
6
|
+
|
|
7
|
+
__all__ = ["Database", "Collection", "Client", "EmbeddingFunction"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def __getattr__(name: str) -> str:
|
|
11
|
+
"""Resolve ``__version__`` lazily, on first access only.
|
|
12
|
+
|
|
13
|
+
Computing it eagerly at import time via ``importlib.metadata`` adds ~40 ms
|
|
14
|
+
to ``import vxdb`` (it imports the metadata/email machinery and scans
|
|
15
|
+
``site-packages`` ``.dist-info``). Deferring it keeps import startup at a
|
|
16
|
+
few milliseconds while still single-sourcing the version from package
|
|
17
|
+
metadata — so it can never drift from pyproject/Cargo. The result is cached
|
|
18
|
+
into module globals, so repeated ``vxdb.__version__`` access is free.
|
|
19
|
+
"""
|
|
20
|
+
if name == "__version__":
|
|
21
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
22
|
+
|
|
23
|
+
try:
|
|
24
|
+
resolved = version("vxdb")
|
|
25
|
+
except PackageNotFoundError: # running from a source tree without an installed dist
|
|
26
|
+
resolved = "0.0.0+source"
|
|
27
|
+
globals()["__version__"] = resolved
|
|
28
|
+
return resolved
|
|
29
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"""vxdb — A lightweight, high-performance vector store."""
|
|
2
|
-
|
|
3
|
-
from importlib.metadata import PackageNotFoundError, version
|
|
4
|
-
|
|
5
|
-
from vxdb.client import Client
|
|
6
|
-
from vxdb.embedded import Collection, Database
|
|
7
|
-
from vxdb.embedding import EmbeddingFunction
|
|
8
|
-
|
|
9
|
-
__all__ = ["Database", "Collection", "Client", "EmbeddingFunction"]
|
|
10
|
-
|
|
11
|
-
try:
|
|
12
|
-
# Single-source the version from installed package metadata so it can never
|
|
13
|
-
# drift from pyproject/Cargo again.
|
|
14
|
-
__version__ = version("vxdb")
|
|
15
|
-
except PackageNotFoundError: # running from a source tree without an installed dist
|
|
16
|
-
__version__ = "0.0.0+source"
|
|
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
|