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.9 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-1.0.1.tar.gz (41.5 kB view details)

Uploaded Source

Built Distribution

aerospike_vector_search-1.0.1-py3-none-any.whl (61.0 kB view details)

Uploaded Python 3

File details

Details for the file aerospike_vector_search-1.0.1.tar.gz.

File metadata

File hashes

Hashes for aerospike_vector_search-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6239d74db80780a91f16d30ebf93503fe34042ae48fd48fc3389cccdd62f67d4
MD5 b31ddb4f7bd5306c41a57efdfd1eb627
BLAKE2b-256 20a37de0929203d9748291f59bc8d4e48cc8ee7b8dbf934fd3d978b0de930e88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike_vector_search-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3e8dcf6932852b86cc0873bc3e2d1b82ca6ca8b6fd85235da772e43626e6f7af
MD5 37d1d1aa251e3773ec5ce8f5516cf7c4
BLAKE2b-256 27b9fe2b94ffd7e18db5fa9f48b3818b17ee1dfb185f33f790f13e4b3d3c1b1a

See more details on using hashes here.

Supported by

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