Skip to content

jiacai2050/vsag-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vsag-py

Python binding for VSAG, a vector indexing library used for similarity search.

Installation

pip install vsag

Built wheels are expected to be compatible with distros using glibc 2.28 or later, including:

  • Debian 10+
  • Ubuntu 18.10+
  • Fedora 29+
  • CentOS/RHEL 8+

Important

Currently we're only testing VSAG on x86-64 Linux.

Examples

See hnsw.py

Development

python -m venv .env
source .env/bin/activate
pip install maturin
pip install maturin[patchelf]

Useful maturin commands:

  build        Build the crate into python packages
  publish      Build and publish the crate as python packages to pypi
  develop      Install the crate as module in the current virtualenv