You are here: Home / LBN / Up2date / Data Science / BastionLinux 36 / python3-pgvector-0.3.6-1.lbn36.noarch

python3-pgvector-0.3.6-1.lbn36.noarch

Package Attributes
RPM  python3-pgvector-0.3.6-1.lbn36.noarch.rpm Architecture  noarch Size  119536 Created  2025/03/04 10:09:45 UTC
Package Specification
Summary pgvector support for Python
Group Unspecified
License ZPL
Home Page https://pypi.org/project/pgvector
Description

pgvector-python pgvector support for Python Supports Django, SQLAlchemy, SQLModel, Psycopg 3, Psycopg 2, asyncpg, and Peewee

Installation Run: pip install pgvector

And follow the instructions for your database library:

Django SQLAlchemy SQLModel Psycopg 3 Psycopg 2 asyncpg Peewee

Or check out some examples:

Embeddings with OpenAI Sentence embeddings with SentenceTransformers Hybrid search with SentenceTransformers (Reciprocal Rank Fusion) Hybrid search with SentenceTransformers (cross-encoder) Sparse search with Transformers Image search with PyTorch Image search with perceptual hashing Implicit feedback recommendations with Implicit Explicit feedback recommendations with Surprise Recommendations with LightFM Horizontal scaling with Citus Bulk loading with COPY

Django Create a migration to enable the extension from pgvector.django import VectorExtension

class Migration(migrations.Migration): operations = [ VectorExtension() ]

Add a vector field to your model fro

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(PayloadIsZstd)  
rpmlib(CompressedFileNames)  
rpmlib(PartialHardlinkSets)  
rpmlib(FileDigests)  
Provides
python-pgvector
python3-pgvector
python3.10-pgvector
python3.10dist(pgvector)
python3dist(pgvector)
Obsoletes
python-pgvector

Document Actions