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.10 - 3.14 and supports the following OS’es:

  • macOS 14, 15, 26

  • RHEL 9 and 10

  • Amazon Linux 2023

  • Debian 12 and 13

  • Ubuntu 22.04 and 24.04

  • Windows (x64)

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-19.2.0.tar.gz (2.3 MB view details)

Uploaded Source

Built Distributions

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

aerospike-19.2.0-cp314-cp314-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.14Windows x86-64

aerospike-19.2.0-cp314-cp314-manylinux_2_28_x86_64.whl (6.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

aerospike-19.2.0-cp314-cp314-manylinux_2_28_aarch64.whl (6.0 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

aerospike-19.2.0-cp314-cp314-macosx_14_0_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.14macOS 14.0+ x86-64

aerospike-19.2.0-cp314-cp314-macosx_14_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

aerospike-19.2.0-cp313-cp313-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.13Windows x86-64

aerospike-19.2.0-cp313-cp313-manylinux_2_28_x86_64.whl (6.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

aerospike-19.2.0-cp313-cp313-manylinux_2_28_aarch64.whl (6.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

aerospike-19.2.0-cp313-cp313-macosx_14_0_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.13macOS 14.0+ x86-64

aerospike-19.2.0-cp313-cp313-macosx_14_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

aerospike-19.2.0-cp312-cp312-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.12Windows x86-64

aerospike-19.2.0-cp312-cp312-manylinux_2_28_x86_64.whl (6.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

aerospike-19.2.0-cp312-cp312-manylinux_2_28_aarch64.whl (6.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

aerospike-19.2.0-cp312-cp312-macosx_14_0_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.12macOS 14.0+ x86-64

aerospike-19.2.0-cp312-cp312-macosx_14_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

aerospike-19.2.0-cp311-cp311-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.11Windows x86-64

aerospike-19.2.0-cp311-cp311-manylinux_2_28_x86_64.whl (6.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

aerospike-19.2.0-cp311-cp311-manylinux_2_28_aarch64.whl (6.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

aerospike-19.2.0-cp311-cp311-macosx_14_0_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.11macOS 14.0+ x86-64

aerospike-19.2.0-cp311-cp311-macosx_14_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

aerospike-19.2.0-cp310-cp310-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.10Windows x86-64

aerospike-19.2.0-cp310-cp310-manylinux_2_28_x86_64.whl (6.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

aerospike-19.2.0-cp310-cp310-manylinux_2_28_aarch64.whl (6.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

aerospike-19.2.0-cp310-cp310-macosx_14_0_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.10macOS 14.0+ x86-64

aerospike-19.2.0-cp310-cp310-macosx_14_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: aerospike-19.2.0.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for aerospike-19.2.0.tar.gz
Algorithm Hash digest
SHA256 125d4e5d31422aa4c5d6c49951eeb5129803d4f8847613acb6608457cb2efe63
MD5 3806faa40acee46359fdf9faf7e0c2fc
BLAKE2b-256 ed4fdb29d10e34f58cf6a467c9748117845cfed0157234ea5d59739cdb845089

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: aerospike-19.2.0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for aerospike-19.2.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 6be38f4a774c84a33d6b247bb7f1c711414636e8c87ebd90104edb4e7e7c3fdf
MD5 4e2a709653a9e54b1675a99309574f12
BLAKE2b-256 f7be7a23f1f9d6c06750ed794516abbdaa906c3358258d1bc3b3c932e142bc4d

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bbb4ea6098ed1b6444bf8b923278f4970fa562c625ed4f78d572775968b46dd8
MD5 3776a5bbcc1b35be37ebb44aac8bf546
BLAKE2b-256 a425db1c770de08c964b1d44c14210977290ae3969c30a791d37abb2c7e3a6b1

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 451020b6ebc153c01e0f45d8b188e455c6395eee3f53c74399b735bcec0c20ba
MD5 934761aacfe2e5c34a9ba1a7fca5cf27
BLAKE2b-256 d429ff027e92cdc45816e5872ffa8b7fe1d15919b9736192b592678410d227f4

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp314-cp314-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp314-cp314-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 53c8e508c3425b229bcabd527a985167b3c5ce64fa6c5502e52a7de331150565
MD5 7b400c1e620e27e1124a326bef027801
BLAKE2b-256 2cd5d6b7e996afabc9ae6d92ce09287cb85fc76b6fb88400e9e48f144b3fdac5

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2068cef5d4dea67976061fdc785f6e21a9dc9408209b814b656fa690722582f9
MD5 32720de4265800bb58b4f5f7ffc060cf
BLAKE2b-256 5a996b6462e7df5846c3ffd614a95909b960111a3dcb4837799407025dd51b03

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: aerospike-19.2.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for aerospike-19.2.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a52381e4d4c4e631a967134b61c41b2014fe2fa1ac5660157aa449b132785d78
MD5 c913255ecde5da410d86e1f1924f7001
BLAKE2b-256 e7b99382897a94cfc62ffcefb37ca4d407c5d522d44e0c1cfa2cf7276fc1e311

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bd9f064a4aa5b3b9cde92b6781a081bb34f453e5e71d4fd20e14dbbb23e86314
MD5 bfa87ffc2175194e106cafe0d74c7c95
BLAKE2b-256 941adfd6e28aef13803cf906fb76fd45f0f1a08c1a3a5a7202f5888353859a2f

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8a998586a70a2e52e71416581b22d92b8edaa7ad7a842c84cdad0a77d9bee202
MD5 e3543e384d1277b67e6fc58c72ce0dfa
BLAKE2b-256 5cac985157b0b1cea7d910c1c1a0c83a8d3b0bc7907f707f99ed1ac7161a0ac1

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp313-cp313-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp313-cp313-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 37ed78641f559dae016eaab6e32da050d88893608ebd42d4fb5094ec14ee3009
MD5 59393d498d6bd5e6582ed5b7e185548a
BLAKE2b-256 a03ad9503333e37c478a0febf191a0da3461058f1de1c0186502895f00606b57

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1f7e5770a853358f948919b12f4ade2264bb5b71ebd6cf7ab64fc4ea2db402a4
MD5 70da00f08a9f9c6b354d772309a2c091
BLAKE2b-256 771bdbdfb19d7e7591029bd0f59f6a913fc85e9cf8ca984f97babcb540da790f

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: aerospike-19.2.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for aerospike-19.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b6f9f5f1140ca79efaafd5b51a0cf80d11641962c5597c7d415e81df0a48c4f8
MD5 5b18e9e7c71b78188b44d0d6eb08fdb8
BLAKE2b-256 4ac2417c9c2bf326de7998a218a919163a009d8c8bbede0468d23bc5ef0b9027

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 39e388a6100b2de848d3de975d50eb7a11db9a71aa4e437a3e4020a4f266d469
MD5 d3981d59540c8164b6aedb768d725d9b
BLAKE2b-256 73625ac39ded0d26ced89af345e225a578f10637ecfc5690fff40cbecbfe2221

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9e4519a66789ec5a590ac4684366d9f69797d685ae457fe49a77d843becc6112
MD5 3a711d4a8db5b665e905d4006aa8ae23
BLAKE2b-256 b63633120acab90d4c4bef797d5ca17c37ae15833c33a49f01f5caff0b9e294c

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp312-cp312-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 cee28bcd7ce53967cf78c626e39d165fbfd404d7ef855048b46001797389f8e0
MD5 7348c9232924d6417b69bdb1f8a25ee7
BLAKE2b-256 704ef4e397e0845b2673115029b3320f80f498fe043360853aba46847efbc987

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9ca0fdf19cd9cf4ebed4743448f64228106f514f8760114afe5663242c27c16d
MD5 2b7d617b75f3f18ee7e25553c53d228f
BLAKE2b-256 7e9fc6a1ac95ada261413979d07041611b48468ba1ae9032abb6f572b2f0f76c

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: aerospike-19.2.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for aerospike-19.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 45304a9b97cce8f4d435e0c3b3cf58fa93163183a6051121fd573915bd709aaa
MD5 b6b52846c88c7017b0b3444a4dbcaef0
BLAKE2b-256 b5f3cc48528a04520fd097d75a55631f352960ec4afd451654978c83a8488360

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4ef934b9070e4b1368911ffad1a8fa68964b01e7443f0b53de5368dc0139303f
MD5 12763c0824df60ba04e01f6abf2f01f1
BLAKE2b-256 64201a18d6fcf9beb63938488fa814c76cdde09fe87fec003747c60ef6e9183a

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3c5979bcbec328f5aa834a7b802b66f6922527335a1a3f7fa6afea106efec534
MD5 a1dd0aba80f948873ac6de4e01ead8ab
BLAKE2b-256 eacbdb4066a9b3317cf5705a0add55d35c0a443a3b77b72b463b25e3f916c4a8

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp311-cp311-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp311-cp311-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 d4fdf11d78286316f6308437abcc5d4e720eaf81258c99f99f68039be8e5480e
MD5 0f240d6f6dc7a733ff6e4484da6ea98e
BLAKE2b-256 f3aa1b605dc1481780c75930f4f2c29975e3245d27a448d2dc41d23237fda06c

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 37799ca4ba45d49e77a4614d29c339de8a9644b7a64bf92e7ba1d8d068948d06
MD5 37d5c5b63a466a2a8cc5692d71f5ff13
BLAKE2b-256 6055352513ad3c1d54409f98a031945ae5d4e4c083e7d48aaf07a6c82c7ffdf3

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: aerospike-19.2.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for aerospike-19.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e0e7c1885684cb36268b467c4f73cb6342b6ac77741e6232c16d217ee70b145d
MD5 0b72f9532f44402739f2df19df8fa553
BLAKE2b-256 1640befa6127fa314857d53e8ca623ebaac673392873933c41dfcc4f3b57f4a5

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4987fd683460a1882e5b2af9069b7f16a0621b915a58c3f5e3517dc622cb3871
MD5 af6d9fde62a4bc314257d1c38648148c
BLAKE2b-256 c144ac3f4ca7f9bd7467e6e57c0bbe06b52aca0e19a77e106a9011ec1b11f03a

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0d72412659c69a144e5d47c31d7692b9015ae9e1047577e27e59cb0935267f3a
MD5 63ad380a987f7a13dab00ad4dda326d3
BLAKE2b-256 bdeaef5a27293b48ec2b198f7279c41142f65cfb1a8a27260eaadcfe62c1bb8a

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp310-cp310-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp310-cp310-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 43ea2b9da6334843cdc67eac8ef6abf201a68cf270325810ce71cfbd0749d462
MD5 4fae81d1c35f0547100563295859db36
BLAKE2b-256 7d907ca3312fb42044e226e60fa2ce09b329a79fcc8b1c1a670d74c00c4970bb

See more details on using hashes here.

File details

Details for the file aerospike-19.2.0-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-19.2.0-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 db30659f5bb4e9d802d121f5e73d7d0d47cbf9f6e3c9871cc44e9569c553a657
MD5 a338a6af71f23bbd0b3147bcdf4e21bc
BLAKE2b-256 8c25b3c3d914303373f5594cb95605ca49baa1f7c9975674721aa72ad11f07f7

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