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.1.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.1-cp314-cp314-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.14Windows x86-64

aerospike-19.2.1-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.1-cp314-cp314-manylinux_2_28_aarch64.whl (6.0 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14macOS 14.0+ x86-64

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

Uploaded CPython 3.14macOS 14.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

aerospike-19.2.1-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.1-cp313-cp313-manylinux_2_28_aarch64.whl (6.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

aerospike-19.2.1-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.1-cp312-cp312-manylinux_2_28_aarch64.whl (6.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

aerospike-19.2.1-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.1-cp311-cp311-manylinux_2_28_aarch64.whl (6.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

aerospike-19.2.1-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.1-cp310-cp310-manylinux_2_28_aarch64.whl (6.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ x86-64

aerospike-19.2.1-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.1.tar.gz.

File metadata

  • Download URL: aerospike-19.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 fc1c5214614eff9ce0e91ec67d5263d7c60334817ec5dfcdc6125664e362ca05
MD5 7f3e4d94c5affa85a80ce2990633d5ca
BLAKE2b-256 9e5c97df72ae7a462352974b4b22deb7cb1197af17c807744fc3c5b69fc18a28

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aerospike-19.2.1-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.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 0d7ee058a14cd134f841c1086c031bda576944cae87d5417bdcc156cb4f99fb7
MD5 7f3a4909de924d379e094abf595e51bc
BLAKE2b-256 41365a589b34227858b7cda8a05585569922595e2ab3c8e34a596da0e96f4173

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 701ac4803b2bbd326407d74c2cc592d96c20e31dfb83281f9b32b2923e4a1d40
MD5 7ca3547ee586ac9a5d8a59efacc5da35
BLAKE2b-256 3703d1fea79abb9aaa466c0fd0a874ebb2c503c2c6311c3a38e34d88add67455

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3d97667aabe73a7ce79afb94005971f226351b410961f2d53018023f1966637a
MD5 eec6b17d72944edeb21802014c39854f
BLAKE2b-256 5f8df0a113a25122727be7f7d681b030eee9a9d2cf5a78724bc9d4694ba7e139

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp314-cp314-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 423d1529081f13ebb9d18664ec14d8d1f9dfa0a621ac740dd6221640b19fd17a
MD5 8d032df460416a51aadd82b59fc55284
BLAKE2b-256 5646f33be514efdfdd55c399c6147617c1cb85f0026ff9bc2ea3ac1f1ee417da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bd73cde0ca9c542e33bd163ecbcaf327504f6f3af0b1d76658d21f56311a1931
MD5 e6aa964e6b185bc77c1bb414a47d8096
BLAKE2b-256 2a10b9d5b49de2a78ee5ce2bfb36c8e447fa1eb380f0b8505d27089279846973

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aerospike-19.2.1-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.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1114459bb75d02aa07e079d81200905b6b56200752472aa9577108dde26f0f46
MD5 a34fb35b016a769c24a54a6472272f56
BLAKE2b-256 6f40a4218dc42fbd3ca9b45fffaf71a1022b15fd6d9b038e8f7dbd6994a64830

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 af4e410007f4607ae8b3993c43eae18840804964f903b844a490c6cdb09349e8
MD5 6255f98e4143a7527e9cf90dc76130e5
BLAKE2b-256 a76c5f52c9bf8e2074295ef83a932b980b0e0f119c9284a5eeec3082b098a22b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0c3320a5e2293adcd0d2484a0daaf4ece135baec08c76017dc8cfaf92ecc2d59
MD5 64d6ddc3fff0ed0eff46e6d448b54f47
BLAKE2b-256 28911699adf1b1f8605d30d0b9b15c66c109be219e951894df132415b1e1e06e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp313-cp313-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 73a7348c567ae864109552e1f96d756a04936e293cc6c12beee82bb926e56af9
MD5 bb5e44adf39aa8bfdc02cbdbebdf4389
BLAKE2b-256 eecfae39d93ea5e01c7eb387c37b5f81b182d908896c21b07c2d13353343f7d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5f923931a904bc64e8381b233b6346788f6fc3e083f7ae8ef481c37ee67c9841
MD5 d548f2980619bd2486ed763b46be53d5
BLAKE2b-256 e7bc7d04e16df871324b2b880ade8f70e741820436f876f7ba54c6699fa6aa5e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aerospike-19.2.1-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.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7fb04b83fe00288a7bf9480f2fa1135335722bf53e032fc09850c6ee851bba00
MD5 39c030a340fa3dc8fc1d95fe35bd43ed
BLAKE2b-256 880b6b6f45c572c4e5d1a04587564ef8908c32665c8eca92ab61b30c73fd6dbc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dc24821a882478f9084f2d5963288e779fa298b0ca740466bda964efc565bd7c
MD5 ba1923b9f0c7829f538e18136fc7fcbd
BLAKE2b-256 f9abaa3caee8564d9de90d6c87e9ed6701204231cbdbe2e460c831c697dee080

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b7b80a4aeb6c7c39ebd191de46694d224a79ba359b36b47743216932319746a1
MD5 ca6515a1beabcf2e2ced1557eaefd058
BLAKE2b-256 c6f591e377c9ded5e49f1e86ca9896feb127a381f2e8c2f3a721f58e5abde9d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 53869414788899163e94f7993c8e63188a64d82facf86fdc7d0354f702ccd5a4
MD5 f6c97ecc650a4fac5e59a4623351ec37
BLAKE2b-256 f72ba727d1154d1da2059145fda0b0669e583461cef31d6779bf10e3199210fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 364ce940f625266b9f2ca15466a41cf9dc3e1752bcbb02e685ba4c7e380455f4
MD5 4a93a8368e28675ef847706902c570f1
BLAKE2b-256 c50c4de073198cb6cc94e73ed017c64d6e28d0fc40b0231eff3d2ba9f55d011f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aerospike-19.2.1-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.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5681893da31bd492405aad9229f288ba6a257813e164484cb1083e26bc6e73db
MD5 5009d9d5ce409cd68c25d5ec42869f46
BLAKE2b-256 34841d03168c208182042c6cdaf0f42d9c0ca33087f8a20e2d92e027ea473582

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 54486a4dceb2f509de36c2462fa37b7ac541dbe717bd5a3210fc500c205d3b94
MD5 e5d1a82f05cbd30a85a894b7d78818f4
BLAKE2b-256 b44aaaa3832240add92b74f06325a469976c47d506836676d46dc311c29d13c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c370b2eae917043178c429c9d860fda466c0ad5113d3d80586851f803ecbff07
MD5 dee7237d429f0c133550fbf3b0b6141d
BLAKE2b-256 6d99d63f1e0c7c838b05af0c7813a188f4756c8edf8d9b2ce904c9e47e855268

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp311-cp311-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 7f9f9217aa0a10cc36d40d5caae9712be1ed260d1113cdfc3faa1dee97a75492
MD5 2997dce5c91c2b1405bd441cbf59534a
BLAKE2b-256 25238204a99e4edb50455b72a82a9a226f4186a60f9170d610166ffcb7a774cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1a0a82d5645d5d6c55efb9efc74fa2e2b137baf3097ead651bc77dd889d664ae
MD5 f97ae2cf580085ce42533ff4092c32d6
BLAKE2b-256 07a2ddd8ec7510d23e83b02fe25aab37a117993003b27bfdbd7b3f742aa6bf03

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aerospike-19.2.1-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.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5c1f1b5a0936e47dc9fe67d71bb7dc2bef806e76a947350c4a255e0c00ef40f4
MD5 cfc7440650f56e3bffa300b7cf1227ac
BLAKE2b-256 f40ce7e5905c7086d0c20f3fc90797e00f40468351b7d2f2bb57304c7c255d83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2108be00e2c1531ab989ac79d5e7b85bcc296224039a9037f54ca77dc8e5cffa
MD5 f9f4e1ebafc854ee08084a24fabc4a8f
BLAKE2b-256 ddb9ff86199646d5f26516641098e467d6c54e776cdfd573241991f05be4baab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1be7aaa37d4bacd91b4396fb358a051276b3dfdfd1542baece8c8b2425f8a8f9
MD5 15ab5c9c0c784c88bc8f14fcd5175fc0
BLAKE2b-256 f03747efd1590251ed707d34e9ac3a4fabd85820852f21c572ebd3b46852c713

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp310-cp310-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 0c100fbb4c75fe67b63e021b3af7d13b0f74f50f9d06e5ad6743a29be804e451
MD5 97570bbf36693fc4d8205ff2fbed3812
BLAKE2b-256 a40d7974550be2fbffaed2089678c4d5e65e9466a571b40966901cf4a1b7b94f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.2.1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d89a616a260bf8faeb9a71b229ba0582f7b848e7783f6294b4fc5bc9fefe9b53
MD5 1252288f5485240a7e0cbcf25739bbb6
BLAKE2b-256 f80ddde44bbf3c3123944705d0159ffe4cce83663c4a19cfb9269ff85573662f

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