vxdb 0.3.2__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.2 → vxdb-0.3.3}/Cargo.lock +3 -3
- {vxdb-0.3.2 → vxdb-0.3.3}/Cargo.toml +1 -1
- {vxdb-0.3.2 → vxdb-0.3.3}/PKG-INFO +6 -6
- {vxdb-0.3.2 → vxdb-0.3.3}/README.md +5 -5
- {vxdb-0.3.2 → vxdb-0.3.3}/pyproject.toml +1 -1
- vxdb-0.3.3/python/vxdb/__init__.py +29 -0
- vxdb-0.3.2/python/vxdb/__init__.py +0 -16
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/Cargo.toml +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/src/collection.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/src/distance/cosine.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/src/distance/dot.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/src/distance/euclidean.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/src/distance/mod.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/src/error.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/src/filter.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/src/hybrid.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/src/index/flat.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/src/index/hnsw.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/src/index/mod.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/src/lib.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/src/storage/metadata.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/src/storage/mmap.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/src/storage/mod.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/src/storage/persistent.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/src/storage/wal.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-core/src/types.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-python/Cargo.toml +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/crates/vxdb-python/src/lib.rs +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/python/vxdb/_vxdb.pyi +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/python/vxdb/client.py +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/python/vxdb/embedded.py +0 -0
- {vxdb-0.3.2 → vxdb-0.3.3}/python/vxdb/embedding.py +0 -0
- {vxdb-0.3.2 → 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
|
|
@@ -308,13 +308,13 @@ results = collection.hybrid_query(
|
|
|
308
308
|
| **Wheel size** | **~5 MB** | ~30 MB | ~20 MB | ~50 MB | N/A | ~50 MB+ | ~100 MB+ (downloads binary) | ~20 MB |
|
|
309
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 |
|
|
310
310
|
| **Hybrid search** | **Built-in BM25 + RRF** | BM25 + RRF + weighted | RRF (dense+sparse) | RRF, DBSF | Sparse+dense | Sparse vectors | BM25 + RRF | No |
|
|
311
|
-
| **BM25 without external encoder** | **Yes (automatic)** | Requires DashText SDK |
|
|
312
|
-
| **Sparse vectors** | No |
|
|
313
|
-
| **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 |
|
|
314
314
|
| **Metadata filtering** | **10 operators** | Structured filters | Yes | Yes | Yes | Yes | Yes | No |
|
|
315
|
-
| **Persistence** | **mmap + SQLite + WAL** | Custom engine | SQLite |
|
|
315
|
+
| **Persistence** | **mmap + SQLite + WAL** | Custom engine | SQLite | Gridstore | Cloud | RocksDB | LSM | Manual |
|
|
316
316
|
| **Crash recovery** | **WAL** | Yes | Yes (v1.0) | Yes | Yes | Yes | Yes | No |
|
|
317
|
-
| **Quantization** | No (planned) |
|
|
317
|
+
| **Quantization** | No (planned) | FP16, INT8, INT4, RaBitQ | No | Scalar/PQ | Yes | Yes | PQ/BQ | PQ/SQ |
|
|
318
318
|
| **Docker image** | ~145 MB | N/A (no server) | ~200 MB+ | ~100 MB | No | ~1 GB+ | ~300 MB+ | No |
|
|
319
319
|
| **Runs offline** | **Yes** | Yes | Yes | Yes | No | Yes | Yes | Yes |
|
|
320
320
|
| **License** | **Apache 2.0** | Apache 2.0 | Apache 2.0 | Apache 2.0 | Proprietary | Apache 2.0 | BSD-3 | MIT |
|
|
@@ -280,13 +280,13 @@ results = collection.hybrid_query(
|
|
|
280
280
|
| **Wheel size** | **~5 MB** | ~30 MB | ~20 MB | ~50 MB | N/A | ~50 MB+ | ~100 MB+ (downloads binary) | ~20 MB |
|
|
281
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 |
|
|
282
282
|
| **Hybrid search** | **Built-in BM25 + RRF** | BM25 + RRF + weighted | RRF (dense+sparse) | RRF, DBSF | Sparse+dense | Sparse vectors | BM25 + RRF | No |
|
|
283
|
-
| **BM25 without external encoder** | **Yes (automatic)** | Requires DashText SDK |
|
|
284
|
-
| **Sparse vectors** | No |
|
|
285
|
-
| **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 |
|
|
286
286
|
| **Metadata filtering** | **10 operators** | Structured filters | Yes | Yes | Yes | Yes | Yes | No |
|
|
287
|
-
| **Persistence** | **mmap + SQLite + WAL** | Custom engine | SQLite |
|
|
287
|
+
| **Persistence** | **mmap + SQLite + WAL** | Custom engine | SQLite | Gridstore | Cloud | RocksDB | LSM | Manual |
|
|
288
288
|
| **Crash recovery** | **WAL** | Yes | Yes (v1.0) | Yes | Yes | Yes | Yes | No |
|
|
289
|
-
| **Quantization** | No (planned) |
|
|
289
|
+
| **Quantization** | No (planned) | FP16, INT8, INT4, RaBitQ | No | Scalar/PQ | Yes | Yes | PQ/BQ | PQ/SQ |
|
|
290
290
|
| **Docker image** | ~145 MB | N/A (no server) | ~200 MB+ | ~100 MB | No | ~1 GB+ | ~300 MB+ | No |
|
|
291
291
|
| **Runs offline** | **Yes** | Yes | Yes | Yes | No | Yes | Yes | Yes |
|
|
292
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
|