Skip to main content
Archived

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

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.

Metadata

Release files for aerospike-vector 0.4.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 0.4.0
File Size Uploaded Provenance Actions
aerospike-vector-0.4.0.tar.gz 23.0 kB Without provenance Details for aerospike-vector-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aerospike-vector 0.4.0
File Interpreter ABI Platform Actions
aerospike_vector-0.4.0-py3-none-any.whl Python 3 none any Details for aerospike_vector-0.4.0-py3-none-any.whl

Total release size: 53.6 kB

Release files / aerospike-vector-0.4.0.tar.gz

Download URL aerospike-vector-0.4.0.tar.gz
Size 23.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ae77b59e440ddb1f908eccf22c52dc8ed8fab402308f6f732fcd3877ccfc3d85
BLAKE2b-256 checksum
How to use checksums
f3807b63c0514d7ae78746ebeb6ff448416f0e14971323eece22026f2890aa15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.6

Release files / aerospike_vector-0.4.0-py3-none-any.whl

Download URL aerospike_vector-0.4.0-py3-none-any.whl
Size 30.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
40710aff4f2968cf8ecc5276b05c991758871e0e10f8a1b9f915ce18ae90641a
BLAKE2b-256 checksum
How to use checksums
c8e09b42c51fb4da5db2d863fd37961a5cb9b92c48b81acccd62d9ab29bc5200
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.6

Security for aerospike-vector 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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