GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - vearch/vearch-python: Python sdk for vearch

BranchesTags
Open more actions menu

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
demos
demos
 
 
docs
docs
 
 
gamma @ 7dd6231
gamma @ 7dd6231
 
 
python
python
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build-wheels.sh
build-wheels.sh
 
 
dev-requirements.txt
dev-requirements.txt
 
 
install-vearch.sh
install-vearch.sh
 
 
setup.py
setup.py
 
 

Repository files navigation

Gamma Python SDK

gamma python sdk and python wheel packages.

Overview

This repository shows gamma python sdk and provides scripts to create wheel packages for the gamma library.

python sdk api is the document of python sdk api. Files in directory of python shows how the python sdk encapsulate gamma. setup.py is written for creating wheel packages for gamma.

Of course, pip install vearch is the easiest way to use this python sdk. And this repository helps to build your custom python sdk.

Building source package

if thers is a custom built gamma library in the system, build source package for the best performance.

Prerequisite

You can build it with docker image: pypywheels/manylinux2010-pypy_x86_64:latest

auditwheel tool should be installed firstly. You can install it by pip.

The package can be built when gamma is already built and installed. See the official gamma installation instruction for more on how to build and install gamma. In particular, compiling wheel packages requires additional compilation options in compiling gamma.

git clone https://github.com/vearch/vearch-python.git
git submodule init
git submodule update
cd gamma
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DPERFORMANCE_TESTING=ON ..
make
sh build-wheels.sh
sh install-vearch.sh

Then the whl file will be generated into the wheelhouse directory.

For building wheel packages, swig 3.0.12 or later needs to be avaiable.

Linux

In linux, auditwheel is used for creating python wheel packages ocntains precompiled binary extensions. Header locations and link flags can be customized by GAMMA_INCLUDE and GAMMA_LDFLAGS environment variables for building wheel packages. Windows and OSX are not supported yet.

About

Python sdk for vearch

Topics

deep-learninglocal-developmentpython-sdkreal-time-indexvector-search

Resources

Readme
License
Activity
Custom properties

Stars

9 stars

Watchers

5 watching

Forks

6 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.