{"id":19197110,"url":"https://github.com/vearch/vearch-python","last_synced_at":"2025-05-09T00:39:34.668Z","repository":{"id":43102941,"uuid":"248448796","full_name":"vearch/vearch-python","owner":"vearch","description":"Python sdk for vearch","archived":false,"fork":false,"pushed_at":"2022-03-18T07:23:23.000Z","size":61,"stargazers_count":8,"open_issues_count":6,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-09T00:39:24.733Z","etag":null,"topics":["deep-learning","local-development","python-sdk","real-time-index","vector-search"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vearch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-19T08:27:15.000Z","updated_at":"2024-07-26T13:09:20.000Z","dependencies_parsed_at":"2022-09-16T05:14:31.049Z","dependency_job_id":null,"html_url":"https://github.com/vearch/vearch-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vearch%2Fvearch-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vearch%2Fvearch-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vearch%2Fvearch-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vearch%2Fvearch-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vearch","download_url":"https://codeload.github.com/vearch/vearch-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253171210,"owners_count":21865280,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning","local-development","python-sdk","real-time-index","vector-search"],"created_at":"2024-11-09T12:15:35.447Z","updated_at":"2025-05-09T00:39:34.622Z","avatar_url":"https://github.com/vearch.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gamma Python SDK\r\n\r\ngamma python sdk and python wheel packages.\r\n\r\n## Overview\r\n\r\nThis repository shows gamma python sdk and provides scripts to create wheel\r\npackages for the gamma library.\r\n\r\n[python sdk api](./docs/APIPythonSDK.md) is the document of python sdk api.\r\nFiles in directory of python shows how the python sdk encapsulate gamma.\r\nsetup.py is written for creating wheel packages for gamma.\r\n\r\nOf course, pip install vearch is the easiest way to use this python sdk. And\r\nthis repository helps to build your custom python sdk.\r\n\r\n## Building source package\r\n\r\nif thers is a custom built gamma library in the system, build source package\r\nfor the best performance.\r\n\r\n### Prerequisite\r\n\r\nYou can build it with docker image: pypywheels/manylinux2010-pypy_x86_64:latest\r\n\r\nauditwheel tool should be installed firstly. You can install it by pip.\r\n\r\nThe package can be built when gamma is already built and installed.\r\nSee the official [gamma installation\r\ninstruction](https://github.com/vearch/gamma/blob/master/README.md) for more\r\non how to build and install gamma. In particular, compiling wheel packages\r\nrequires additional compilation options in compiling gamma.\r\n\r\n```bash\r\ngit clone https://github.com/vearch/vearch-python.git\r\ngit submodule init\r\ngit submodule update\r\ncd gamma\r\nmkdir build \u0026\u0026 cd build\r\ncmake -DCMAKE_BUILD_TYPE=Release -DPERFORMANCE_TESTING=ON ..\r\nmake\r\nsh build-wheels.sh\r\nsh install-vearch.sh\r\n```\r\n\r\nThen the whl file will be generated into the wheelhouse directory.\r\n\r\nFor building wheel packages, swig 3.0.12 or later needs to be avaiable.\r\n\r\n### Linux\r\n\r\nIn linux, `auditwheel` is used for creating python wheel packages ocntains\r\nprecompiled binary extensions.\r\nHeader locations and link flags can be customized by `GAMMA_INCLUDE` and\r\n`GAMMA_LDFLAGS` environment variables for building wheel packages.\r\nWindows and OSX are not supported yet.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvearch%2Fvearch-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvearch%2Fvearch-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvearch%2Fvearch-python/lists"}