Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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.

Release files for aerospike-vector-search 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aerospike-vector-search 2.0.0
File Size Uploaded
aerospike_vector_search-2.0.0.tar.gz 42.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aerospike-vector-search 2.0.0
File Interpreter ABI Platform
aerospike_vector_search-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 104.7 kB

Release files / aerospike_vector_search-2.0.0.tar.gz

Download URL aerospike_vector_search-2.0.0.tar.gz
Size 42.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f447858075b3947a5ec07d41db612524a0e1068c64e17cbdb0d7f9b0721b3c8a
BLAKE2b-256 checksum
How to use checksums
da0acb6b8e54f99e753afb12436913e2cb328e60a27e1a9c6a630d3811fa4a67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.5

Release files / aerospike_vector_search-2.0.0-py3-none-any.whl

Download URL aerospike_vector_search-2.0.0-py3-none-any.whl
Size 62.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c83d89bb16cefe47aee5efebeda012b8d415cb89a29be9823bdd72be0a091e1
BLAKE2b-256 checksum
How to use checksums
710cbe1d2bb12041f8279d4a4d58d58bab588bbbb5050528cba096f620b01c9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.5
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page