Skip to main content

Aerospike Vector Search Client Library for Python

Project description

Aerospike Vector Search Client Python

Python client for Aerospike Vector Search Database

Prerequisites

  • Python 3.8 or higher
  • pip version 9.0.1 or higher
  • Aerospike Vector Search DB and Aerospike clusters running.

Using the client from your application using pip

To resolve the client packages using pip, add the following to $HOME/.pip/pip.conf

[global]
extra-index-url=https://<jfrog-username>:<jfrog-access-token>@aerospike.jfrog.io/artifactory/api/pypi/ecosystem-python-dev-local/simple 

Install the aerospike_vector_search using pip

python3 -m pip install aerospike-vector-search

Or

You can add the package name aerospike-vector-search to your application's requirements.txt and install all dependencies using

python3 -m pip install -r requirements.txt

Building the client

Setup build Python Virtual Environment

This is the recommended mode for building the python client.

# Create virtual environment to isolate dependencies.
python3 -m venv .venv
source .venv/bin/activate

Install requirements

python3 -m pip install -vvv  -r requirements.txt

Generate gRPC client code

# Generate the gRPC client code
./proto/codegen.sh

Build the package

python3 -m pip install build
python3 -m build

Examples

See examples for working samples.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aerospike-vector-search-0.6.1.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

aerospike_vector_search-0.6.1-py3-none-any.whl (43.7 kB view details)

Uploaded Python 3

File details

Details for the file aerospike-vector-search-0.6.1.tar.gz.

File metadata

File hashes

Hashes for aerospike-vector-search-0.6.1.tar.gz
Algorithm Hash digest
SHA256 1d3dcf84221a08434a0b2fb4bbac040b3718a169cdd7e44a725eae2fdbad6a43
MD5 98a9b4e897425e8e814c1499f472a469
BLAKE2b-256 7d8158c9f63464a087846ef769577b2babfe756bf30e72e02d633eb75b90eb0c

See more details on using hashes here.

File details

Details for the file aerospike_vector_search-0.6.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aerospike_vector_search-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc7cc7c829f218c4ee9ccd93ca0ecad7104d81deac236309dcdf87e9c399fd35
MD5 36b4d7d03976701e206b50be9f12847e
BLAKE2b-256 c192833a44c960d638e6f72bc946829e395a94d4cd173a510fac652aba1f1869

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page