Skip to main content

Aerospike Client Library for Python

Project description

Build Release Wheel Downloads License

Compatibility

The Python client for Aerospike works with Python 3.7 - 3.11 and supports the following OS’es:

  • macOS 11 and 12

  • CentOS 7 Linux

  • RHEL 8 and 9

  • Amazon Linux 2023

  • Debian 10, 11, and 12

  • Ubuntu 20.04 and 22.04

The client is also verified to run on these operating systems, but we do not officially support them (i.e we don’t distribute wheels or prioritize fixing bugs for these OSes):

  • Alpine Linux

NOTE: Aerospike Python client 5.0.0 and up MUST be used with Aerospike server 4.9 or later. If you see the error “-10, ‘Failed to connect’”, please make sure you are using server 4.9 or later.

Install

pip install aerospike

In most cases pip will install a precompiled binary (wheel) matching your OS and version of Python. If a matching wheel isn’t found it, or the --install-option argument is provided, pip will build the Python client from source.

Please see the build instructions for more.

Troubleshooting

# client >=3.8.0 will attempt a manylinux wheel installation for Linux distros
# to force a pip install from source:
pip install aerospike --no-binary :all:

# to troubleshoot pip versions >= 6.0 you can
pip install --no-cache-dir aerospike

If you run into trouble installing the client on a supported OS, you may be using an outdated pip. Versions of pip older than 7.0.0 should be upgraded, as well as versions of setuptools older than 18.0.0.

Troubleshooting macOS

In some versions of macOS, Python 2.7 is installed as python with pip as its associated package manager, and Python 3 is installed as python3 with pip3 as the associated package manager. Make sure to use the ones that map to Python 3, such as pip3 install aerospike.

Attempting to install the client with pip for the system default Python may cause permissions issues when copying necessary files. In order to avoid those issues the client can be installed for the current user only with the command: pip install --user aerospike

# to trouleshoot installation on macOS try
pip install --no-cache-dir --user aerospike

Build

For instructions on manually building the Python client, please refer to BUILD.md.

Documentation

Documentation is hosted at aerospike-python-client.readthedocs.io and at aerospike.com/apidocs/python.

Examples

Example applications are provided in the examples directory of the GitHub repository

For examples, to run the kvs.py:

python examples/client/kvs.py

Benchmarks

To run the benchmarks the python module ‘tabulate’ need to be installed. In order to display heap information the module guppy must be installed. Note that guppy is only available for Python2. If guppy is not installed the benchmarks will still be runnable. Benchmark applications are provided in the benchmarks directory of the GitHub repository

By default the benchmarks will try to connect to a server located at 127.0.0.1:3000 , instructions on changing that setting and other command line flags may be displayed by appending the –help argument to the benchmark script. For example:

python benchmarks/keygen.py --help

License

The Aerospike Python Client is made availabled under the terms of the Apache License, Version 2, as stated in the file LICENSE.

Individual files may be made available under their own specific license, all compatible with Apache License, Version 2. Please see individual files for details.

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

aerospike-13.0.0.tar.gz (3.0 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

aerospike-13.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

aerospike-13.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

aerospike-13.0.0-cp311-cp311-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

aerospike-13.0.0-cp311-cp311-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

aerospike-13.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

aerospike-13.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

aerospike-13.0.0-cp310-cp310-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

aerospike-13.0.0-cp310-cp310-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

aerospike-13.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

aerospike-13.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.5 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

aerospike-13.0.0-cp39-cp39-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

aerospike-13.0.0-cp39-cp39-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

aerospike-13.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

aerospike-13.0.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.5 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

aerospike-13.0.0-cp38-cp38-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

aerospike-13.0.0-cp38-cp38-macosx_10_9_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

aerospike-13.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

aerospike-13.0.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.5 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ ARM64

aerospike-13.0.0-cp37-cp37m-macosx_10_9_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

File details

Details for the file aerospike-13.0.0.tar.gz.

File metadata

  • Download URL: aerospike-13.0.0.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for aerospike-13.0.0.tar.gz
Algorithm Hash digest
SHA256 d5291c644b2d2c5e4c8b480471747459d9c3238ed2e2cb533d13f07154ad8670
MD5 abb1c55c5ed4d027b212c8e8b6602096
BLAKE2b-256 29cfa41b39a5ff009defbd6b56703921b5d0fb73c8ae48ef6748a70e74a622e3

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6292b9de4b7b8826496613ff8f7794864ae78b53b43505e2515bedbf1860d208
MD5 faca9bfab16b8c6329e086074c4bb6ba
BLAKE2b-256 bbf950496b9a6637074c738cb5aa1bfcc3c818ccc8d5ec0a501161885c8b9e9c

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8bafc7d26b2eae5b74cac2d92a5fe3bab1d004382d6fb1ffb7d93f724ef0b59d
MD5 776aeb96f9f64a7a0fb6176e5ca82e31
BLAKE2b-256 16ce1da7cf741945f3f611a375aff26ff42975da0716f4c1828fa2220e26e0b7

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0281b58c141fd5728e829b552909ffd9872d0d638e8fd500c393af890e779b6e
MD5 a6c67eaddd6a34a3134dc3789f68211b
BLAKE2b-256 8660ed97df923a9c728d4047617eb2df859262e2869b34a7ef54716d69791f95

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fbc1d8ee35859976ce935fbd76c0cd6c4ccc3f3c01ab893139939b6a676a677b
MD5 fa9db73205e198a5475104d9e83e3734
BLAKE2b-256 118f01ae24c5788e998d9c004142937590cae8517aad9d591fdb575145187922

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 569a4d1a4e4d12e786b91affbe286dc84a48369a9bc5d25509d4fb469fc5b263
MD5 595e698c814d63e7433fe0de31dd9391
BLAKE2b-256 271237b5c93f430e33148b41ed44afd3d6c355b3fee1f3cb7b51660b11a46dc6

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 561ebe665d7f2c3c981d791f2b5a7962a1faaf4dd10d1e12118596e50cb9908a
MD5 f0a351d8708d615c10f74e7e3d8523c2
BLAKE2b-256 4e9a6ebdd267ccbaf28e85f5a17f7c31e0853d637c8aa618e0b5d28e8611fd4a

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 10be625b815352fb3e62ee09b1b6ed1159de72e4c79cb5b6f04d8a9d10ac38e4
MD5 7efaa1560c34ae0d4e4a49b4e0e29fba
BLAKE2b-256 6848025754e5c030973d872acc08e1c6e409d7fb3288bb451d0b99619d29f74b

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 13fb047f6f5b6122bb42c8b7b165d2653375186a69285d43dab5536aa1a40f3e
MD5 3ea4a33dc10d6e637d3bc62e08ba1ae0
BLAKE2b-256 0ef94560722bf98fe978f34ee570714270712ebfe8bf625e1d77cea1a6f2bf07

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d649161d741d90b11ed40a5f2b9caa4057cda30e664271b0e7026dab1f30105c
MD5 c56d40efa147d1cc065606f358287d0b
BLAKE2b-256 1b2742db9a97db7ed3032f4060b27fb518dea4dfc45ce075516e710832fd30e3

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c3d23a0de8bb3cda01eab32d0f23a3ddc41e4d735ee59f4ecb94a0eec4d9097e
MD5 e32d614a65c822122ced48178e2cc861
BLAKE2b-256 c08758dbd241c896f346acc75d2d2fa6cd1466718ccc754a19b8ba35f00ffd83

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 739bf877f39a0092b0f3a077d30f305de11432697fcf263238f76406db31ce39
MD5 9d2708bede33fad89c05ff3eb19d6dbc
BLAKE2b-256 e0fa0ea91a916c46ddba90d316ca2942680a45b43bdc382e128136e917ade67f

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 be9859bf9b8377af79d9c539e8235472684598e8a87ac1b50bf4d072faa7694e
MD5 43c69a7ff06228118b1868466869e243
BLAKE2b-256 a740a63cbaf25a05c808ff1c0b6773e9408a14d1faaaf607811ae08017838c63

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 704750be3c9953cc104f78b0cc3976d8aa4cfeccd51bb9d565e9909831893856
MD5 c82e62f0a63766091e04acfaff46efbf
BLAKE2b-256 423e025858a4cef153facef8f11efa856d9e8716bbc4f64a583a2c44aa6c0963

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 04596b42864eedffa4d40d804784178d02607c4fac2d32b7113b922373f154d9
MD5 b633a42f605c8b84411d1609f76695f7
BLAKE2b-256 43879b0b79a337c2e703d0b3cc1b6bd1328abb0283f196cee65014290ecf2760

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7a2165b7dfdeb52764cc4ec9ab59bf8f7635bb109675246d61b676b2d86c195e
MD5 819f304eaee547b4dde1fccb68862769
BLAKE2b-256 130ff8ad09085a7fa850beb39f16e34ee39fd81e1e3bb7895dc77c764efc3d63

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 48be23bbd5387e07a4e2c87cbe61e2caac197a7b69f18c2f0903809dbe753f84
MD5 2eab56ffe12ff63822d21e6a93dc57a2
BLAKE2b-256 b6dcbfcbf990ad052c42cc40e6c8749d26759d4a8d5d0b902330722d05838351

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f8f22c1babebcc1e986b61e6ab37fd5624ea47f0730838f3d33cc4bef904cbb9
MD5 5e27cd8e710c397d12447f9158d7a6b3
BLAKE2b-256 eee1602a0b5619786fcad272a51bca6dd0975fa78bdd23c62f8eaae21e0a3282

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a46e0a9aa6ef91a83c829148e3de321d2775b274dd9743c56795052ca6e138af
MD5 80f754b1248a2d7db1c8dc5142c830db
BLAKE2b-256 959066381c75b1b1f66250c103d8efee99a6c580de25f14847a37e1748182aa0

See more details on using hashes here.

File details

Details for the file aerospike-13.0.0-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-13.0.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8f222f52882203ccd3d1118b47c368d2602493ee860a9ac803e2f0393c101d5b
MD5 288f4e83b12c5756249ece4f1112f0ea
BLAKE2b-256 ace343fc20ac78631f3ee77954a05e08f2ca2360a2cf77f21bf45aa42b9bd79b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page