You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

aerospike-vector

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aerospike-vector

Aerospike Proximus Client Library for Python

0.4.0
pipPyPI
Maintainers
1

Aerospike Vector Client Python

Python client for Aerospike VectorDB

Prerequisites

  • Python 3.8 or higher
  • pip version 9.0.1 or higher
  • Aerospike VectorDB 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 using pip

python3 -m pip install aerospike-vector

Or

You can add the package name aerospike-vector 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.

Keywords

aerospike

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts