#36 · Primary category: Vector Databases
pgvector-python
pgvector support for Python
Project last updated:07/06/26
GitHub Stars
1.5K
Forks
93
Contributors
8
License
MIT
Why we included this project
Python teams that already run PostgreSQL can add vector search without standing up a separate database service, because this package layers pgvector's vector type and distance operators onto the drivers and ORMs they probably use already: Django, SQLAlchemy, SQLModel, Psycopg 2 and 3, asyncpg, pg8000, and Peewee. Nearest-neighbor queries fit into an existing schema with a few lines, so there is no need to rework the data layer. The included examples reach beyond basic similarity search into hybrid retrieval with reciprocal rank fusion, sparse and late-interaction search, and image or document lookup, which makes it handy for teams prototyping RAG on infrastructure they already maintain. Since it is a client binding rather than a standalone engine, you get vector capabilities inside your current Postgres deployment instead of committing to a new database.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
supabase
The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
tidb
TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.
milvus
Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search
qdrant
Qdrant - High-performance, massive-scale Vector Database and Vector Search Engine for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/
chroma
Search infrastructure for AI