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

  • macOS 13 - 15

  • RHEL 8 and 9

  • Amazon Linux 2023

  • Debian 11 and 12

  • Ubuntu 20.04, 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-17.2.0rc1.dev1.tar.gz (2.2 MB view details)

Uploaded Source

Built Distributions

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

aerospike-17.2.0rc1.dev1-cp313-cp313-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.13Windows x86-64

aerospike-17.2.0rc1.dev1-cp313-cp313-manylinux_2_28_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

aerospike-17.2.0rc1.dev1-cp313-cp313-manylinux_2_28_aarch64.whl (5.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

aerospike-17.2.0rc1.dev1-cp313-cp313-macosx_13_0_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

aerospike-17.2.0rc1.dev1-cp313-cp313-macosx_13_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

aerospike-17.2.0rc1.dev1-cp312-cp312-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.12Windows x86-64

aerospike-17.2.0rc1.dev1-cp312-cp312-manylinux_2_28_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

aerospike-17.2.0rc1.dev1-cp312-cp312-manylinux_2_28_aarch64.whl (5.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

aerospike-17.2.0rc1.dev1-cp312-cp312-macosx_13_0_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

aerospike-17.2.0rc1.dev1-cp312-cp312-macosx_13_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

aerospike-17.2.0rc1.dev1-cp311-cp311-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.11Windows x86-64

aerospike-17.2.0rc1.dev1-cp311-cp311-manylinux_2_28_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

aerospike-17.2.0rc1.dev1-cp311-cp311-manylinux_2_28_aarch64.whl (5.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

aerospike-17.2.0rc1.dev1-cp311-cp311-macosx_13_0_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

aerospike-17.2.0rc1.dev1-cp311-cp311-macosx_13_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

aerospike-17.2.0rc1.dev1-cp310-cp310-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.10Windows x86-64

aerospike-17.2.0rc1.dev1-cp310-cp310-manylinux_2_28_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

aerospike-17.2.0rc1.dev1-cp310-cp310-manylinux_2_28_aarch64.whl (5.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

aerospike-17.2.0rc1.dev1-cp310-cp310-macosx_13_0_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

aerospike-17.2.0rc1.dev1-cp310-cp310-macosx_13_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

aerospike-17.2.0rc1.dev1-cp39-cp39-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.9Windows x86-64

aerospike-17.2.0rc1.dev1-cp39-cp39-manylinux_2_28_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

aerospike-17.2.0rc1.dev1-cp39-cp39-manylinux_2_28_aarch64.whl (5.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ ARM64

aerospike-17.2.0rc1.dev1-cp39-cp39-macosx_13_0_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

aerospike-17.2.0rc1.dev1-cp39-cp39-macosx_13_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.9macOS 13.0+ ARM64

File details

Details for the file aerospike-17.2.0rc1.dev1.tar.gz.

File metadata

  • Download URL: aerospike-17.2.0rc1.dev1.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for aerospike-17.2.0rc1.dev1.tar.gz
Algorithm Hash digest
SHA256 0c572623894b98ff245a7532b052810276c3e937ace95635cbc2443369c29753
MD5 7ad4533236988a3834c52ed2a9ba6b77
BLAKE2b-256 a0ec21cf583536ad90807718d42338cfecf41a79df9643ab40bdc98d58fbfee8

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7e60953eeee16f6ec6df662dd9478b56689407fc962dd40a50c6ef22261fdd9b
MD5 f7cc88ba109f267417ee35610baf4b96
BLAKE2b-256 c605f63f2f3a80c791902f94263ec04533fa014a5075d6c7a378937d649fbf19

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b1e9c07b6052a584183cba8bcc76ffa3fa08d67c81fe02bd90839b6dc3eff7ad
MD5 176dac1f62015159ebdfabc08b4d1fd1
BLAKE2b-256 cc8223d1c2fc1599bb1df2b84b6e0df6f52276644ef2f642f00069e6cb616015

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6ae774d2c43106d77d1df89f5d74c71b5c68b890e38f318653b3b77cbcc304b2
MD5 e74d853880dd03f9dcea75cd7253daf2
BLAKE2b-256 b97e59147ccba240ba08e21687e41ae90edb549df564aa0023525e1c4e0e53e0

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 172dc8c2b98bc007cad320b6b4c847007a13c2501c22d0cee030bd39446dcdf9
MD5 005cfbeb7ef4344f0f5ef23d39bb5b7a
BLAKE2b-256 dab3eb5e434d28d08a7e653e226b6ddd24b7ebbfd7dedfa44013332c58f5fbfe

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 11694e89242651edcb494b3484683cd2c74e2df975e15b8200dcddf5eec6a8d5
MD5 c81a12ec249af4d1fc165957aaf3acee
BLAKE2b-256 d7b54529654defe11ff6fedc0fa613cda79a3b63c2bdd71101e4e4acfcf05ff8

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f5b23ea6120abcb70f6b0191f6f2e1a1b37b7aed661912e03925656659cce7dd
MD5 845973968667916e0f91fccaa15ec222
BLAKE2b-256 56c54f0451e9370678bdfb2ac1ef3298f62187ee8b19bbe616f345bea0e0a847

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 970ac6a63e2b76025fd59e32468d068f9f03345291e6bc2d6afaeac4dde18d2e
MD5 16cea6e50a87de7b9907c02449e34655
BLAKE2b-256 35e42b765db9f711d5645499c16b25ad31f780217fe3ffb04d3ad11b657544fe

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 32a45e4fabeca8bb3ea45e0cca1845de1265eacc2d6091731f99d79f6d83dcb8
MD5 71c927c53b1cf4cb5dd080e80f304ada
BLAKE2b-256 8f8a4033f6175cafdf2c9dc2bdd41e56736e42fcd4e226aa01111509e8cf09b9

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 aee5c883e35116a4a42666cecd971f4042ebeb36ca801d6f8cf9ec9a9cc311d8
MD5 14707af2ab95d864bb4dc7b63d3577cb
BLAKE2b-256 01f65831345e42c2572c7b488379062e1019a5b235e6012fbb2dc0eea43754bf

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5bde7eb0530f4ddedab6feeab9516e8d03450992b138d3b3cb28f9dec1b6346b
MD5 f11f4421a6d2eca0d9a9b487f04f7cba
BLAKE2b-256 09332457d84ab079bdc1cf71d518aa00ea1b7f39e257f2b955b34a80b47620fb

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 cad3b97a97661f3964a41c1086b32806b4cc2f96f9fc90f81140a8730ca80d08
MD5 447178273accc2c43f8494980057e5f2
BLAKE2b-256 8ec8de231cff560504bd62c5d5b3a137f47093ef61474a310a3146e221f7785a

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6c8495b1fbe576ae26ccca7def1e51ecd11a37d9f2e37551d9b74557005efbbc
MD5 a5e6393c88c43e59e8e8f7bd1a954f35
BLAKE2b-256 3528c728010c2ce4ba40274baea6df0bc9c0b43eb41e1d81394747bee405ab11

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6de897e31c79a460f69e66d0edf18af167c3917a999d06d070087514d5434524
MD5 1b179df88b403ae4189985b12ff65d23
BLAKE2b-256 8368a12a2af74912a6737cba11520682000bcc81a31a6699b55c72f6cbf29a6c

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 23cb51496e6c4fc3200442150d9c86575177e7d3db71c7f6622e0c742ee0e2fc
MD5 84f85060167b4b10e1b8e3d7c1599c84
BLAKE2b-256 933d8a17e956af1a9dd7b2a54ea4597451bcc9e5556c0fc2a3c661fd32048fb2

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8b9825be5f3fff0af643aa4acde8713fb4838b20fa20e8fa3ea07639e7276643
MD5 5ac4d79bf7f452ceff5f9cdfc899e78a
BLAKE2b-256 eddfe28d9f70bbbc18b2de33c9e366a25fde0a365e74d7aef933285f36f6a465

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6a1479c13d9c34adcf257672304ec17b7feaca7b60dc9c88dc7ec497f9b5160c
MD5 c4bf5f45795f1ed6867e9c438479c0bb
BLAKE2b-256 ad15b00669453c2faae37e32ffc77203feee64fe3bf8b29374de8a06f0dd6ef2

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 db10f9048e834c96c11c6274f6963e415083e80869cc6e20ea5c22473c80e5d5
MD5 2d46999440af725c4ab4be1316fd4c80
BLAKE2b-256 a012f588b703ed04fd6e0be4a2001cc4f5713129f9e1eaee44a65244d7be562e

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e97f0b169fab705cf2acad6f3dbe59c6dc29ebf3551482c60ea248d13ce39032
MD5 16595715c23ec0654a02aa8c669340f1
BLAKE2b-256 21f58dab12bb0e9f8a4afa5d872e8c3939f7c2ab06656b0be05240c7b7a2b7f7

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 330b8c319751f342d7c3d726e98f5b27cb36c87ee66193f37b14831ac532892a
MD5 f30e1c8db59e1e4114c7721d6a6eeb16
BLAKE2b-256 dbf6edd23092a208f68775fa7e0bdcaf2d5942c422ba433e99eac4019ae46916

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ea8f854c69538e89b399c03ced101eaf71fcbb55d2439d21a2eff17d12776177
MD5 2eb351b542e3cde20f7e1ce491e6ccce
BLAKE2b-256 4c0fe38492c824e0d1d1f765fa3d13240462bef23f10836799228b1e281b67f8

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 10c2aff9b386d01a8719e8cdaf4b88f34d09d337f1fe6d11cade3c0fa72feddc
MD5 f21ed794abf1ca18dbe9f2e1a8425f51
BLAKE2b-256 5eabf196f81147cbf0a54d24e14f935699bd8b18b705fe3650c9d395334e4ac6

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fdd53c84a13cae024ff913fdf3c0cecc6ac1e17c719d5df7548f55fe5185e96b
MD5 760e71d66ae3edbab4a3f85a5d62c48a
BLAKE2b-256 034a9fbb1a49d0932a13b8a446c0e46f186a670491c449bad9039582471268db

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp39-cp39-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0c389515dc16d7f73d07e93c693a84704fcccba6721380302fc3a89538cd1149
MD5 f5e8ed582b2cdfdf95b59e874d686d9c
BLAKE2b-256 4c4c6c48638b9c5679d08c30c0659aa87ad8617f8da8728abdff9056670d7f0a

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5c56c9130dbd6bef58b080414cb6f43675b5604ce58f0a65b1207d1cdcda3ae5
MD5 3609eac919a2e448795e2abc225154f0
BLAKE2b-256 dbdcd63ab519ef28c898405d061967b974b784e691e89d2f4edeecb8a7535dd3

See more details on using hashes here.

File details

Details for the file aerospike-17.2.0rc1.dev1-cp39-cp39-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-17.2.0rc1.dev1-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0da398095fd52360addf1adc13afa1f3385aa4b9829203648a8a5c83c5a1c858
MD5 53e56fa4fad7607215fe65ba23cedb5a
BLAKE2b-256 5462272e107f6498b6957c4c43110fd36e2a1d59202974edb8e4a426b9329714

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