Skip to main content

milvusql

PEP 249 DBAPI, SQLAlchemy dialect, and Django backend for Milvus

🔌

PEP 249, sync and async

A real DBAPI for Milvus — Cursor/Connection like any other, plus an asyncio-native client built on the same dispatch table, not bolted on afterward.

🧰

SQLAlchemy 2.0 dialect

create_engine("milvusql://..."), Core select/insert/delete, a VECTOR type with .l2_distance()/.cosine_distance(), and DDL that maps straight to Milvus collections and indexes.

🍀

Django database backend

Model.objects.filter(...) and .create() through Django’s normal compiler, a VectorField, and explicit vector_search()/hybrid_search() helpers for what has no relational equivalent.