Skip to main content

Aerospike Proximus Client Library for Python

Project description

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.

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-0.4.0.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

aerospike_vector-0.4.0-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

Details for the file aerospike-vector-0.4.0.tar.gz.

File metadata

  • Download URL: aerospike-vector-0.4.0.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for aerospike-vector-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ae77b59e440ddb1f908eccf22c52dc8ed8fab402308f6f732fcd3877ccfc3d85
MD5 c464c53f38b1cc6a3e6cac4f7f8d1e01
BLAKE2b-256 f3807b63c0514d7ae78746ebeb6ff448416f0e14971323eece22026f2890aa15

See more details on using hashes here.

File details

Details for the file aerospike_vector-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aerospike_vector-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 40710aff4f2968cf8ecc5276b05c991758871e0e10f8a1b9f915ce18ae90641a
MD5 d28618be811e0e05fcc41fd9f5554b95
BLAKE2b-256 c8e09b42c51fb4da5db2d863fd37961a5cb9b92c48b81acccd62d9ab29bc5200

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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page