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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for aerospike_vector_search-2.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbffc467eb2dca48297af4996e9a03f15362795f9da6f4cf48779e59bb3ece5d |
|
MD5 | 70a814a624eaec9c0616b381592c8d6c |
|
BLAKE2b-256 | 3efabb2696ad7db68d561fab6a49d2fc0eab34609d00f7861ddbf8f55b90c49f |
Close
Hashes for aerospike_vector_search-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c31692f3e035b6fcdcc515aa911ae3faf2e71143b90c61258671c30df2b10e52 |
|
MD5 | 7211c14c36e28bb00c1653b05f693e72 |
|
BLAKE2b-256 | 0a282771e2bd9913adc68976b03dd61cbc0ce0f7fa26459988722e233c856d7f |