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

Uploaded CPython 3.14Windows x86-64

aerospike-19.0.0-cp314-cp314-manylinux_2_28_x86_64.whl (6.1 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14macOS 14.0+ x86-64

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

Uploaded CPython 3.14macOS 14.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ x86-64

aerospike-19.0.0-cp311-cp311-macosx_14_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ x86-64

aerospike-19.0.0-cp310-cp310-macosx_14_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: aerospike-19.0.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.7

File hashes

Hashes for aerospike-19.0.0.tar.gz
Algorithm Hash digest
SHA256 0ce2836f5aa4eff4fa76fe232839ac5bc9fc1b3db45768a3fbd6b71b84fc9f4d
MD5 215ad54e10a878ad8ef79853263d46fc
BLAKE2b-256 ff0a91445147c996ed1763e72c43ce9d593b3d8c3c3e83dfbe555e0a9d7d1510

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aerospike-19.0.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.7

File hashes

Hashes for aerospike-19.0.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 51e671c133fde2cc035ec5177387aa13a1d15628c9312bfa7e56b3eb9e57e758
MD5 54ec4ab60e8503d2fba6b8b743767c25
BLAKE2b-256 f6cf13083b395df59edf97d45fc40dd6f915098f38051fd0525725042605a490

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d22855224e96cdb02d83a6f88556b7d48cabcefa1729882a6d40216a35cc9aeb
MD5 e8a975cb6a5513f42d5194254951f23f
BLAKE2b-256 c8e25a4ae4d86288673980db58e795212c0ad6c48672bbd4ccbe14cc54de0500

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8efb4a485c407786b300d7f144b1e4953c1e3e96c0dbb9c557f9e0f8bc1b4c75
MD5 463fdf8acd77f6ea69eb5381b0038ff6
BLAKE2b-256 683eb00438a6d4f18bbd3a09a1f8b9ad2783eeeb348270cb476a0bb1bb321fa5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp314-cp314-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 36e17f92ea62c58059000964c415b707af00c4f794948b7c4e136fbf8afc7b78
MD5 e290f5ccf3f99dfd56dffb1215c26eff
BLAKE2b-256 c323561f0a5c7c5aaa894dfbb672e827fe590bdd7fc3b2804f977dce0628de80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2b21bb41cd56742a1862566f8da79ec17dee07fe6e287b4add6ab4fcad60241a
MD5 b6d01f19fcce659e20d1f5454eb38668
BLAKE2b-256 eb31fa14f34750b95b621d53d065348a3b9a8c787449a79a6579c212178c1236

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aerospike-19.0.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.7

File hashes

Hashes for aerospike-19.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ddfac9f35299c796ce48826d5d48816517c6643d4d1959efa0e3d1494e5df735
MD5 c720cdd88cde982e7ebbb713bdb15a2b
BLAKE2b-256 dca3422579669eb4e6ba81a1992d550ca662712cdf5576276451488244ab50ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0dd93a772372f73809e98363ffb0cc5611468d020e39c6b0176a1aa64c4c9c8c
MD5 23a94d62a0efd9e59d950ff1aacf138b
BLAKE2b-256 7a127736101e60309742bdbd6df61f9100c5b683976906d2b66614e2e7662f27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 95ed72fed281f8f33c8e45e0dad4bd93105d03f60b0d8e7bf90b82c53ef4458c
MD5 70dce13907496d83806127962b27de4a
BLAKE2b-256 09e8b4f6f53c2254bbcaa276c6a43c4428a30d0d2ea7dbab5c55ece91ae12733

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp313-cp313-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 e82f2d5a8553264f3c05dc6d77258ecf462d354d4f2cb61333d1bbcee87a14de
MD5 cc84dd4d7825b6f8e2b2b5ab777d4585
BLAKE2b-256 299ef02547cc140cdf9750086b2c8a36e6ac1f9448cc7f340d655f344fa13fde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 935c7f8f65fd58074b25e3f5a85ca8dbd79f8babb8391e82fdf0cc6a2ca5e64b
MD5 a512f831c72b3ca74a99d69ee606093d
BLAKE2b-256 aea9a834e5d0d61bdd4f1f81a401fc4774cabec433945c7e67cbd192be5a2d51

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aerospike-19.0.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.7

File hashes

Hashes for aerospike-19.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 096cbaaf7685fb2512e8ed7bee9d18a3fd8744e146613eee23fb4d4d5476c56d
MD5 74f62035baaed5da23170254b1d754e0
BLAKE2b-256 d48ed83c54d3978aeae540b0b1d70a448e6cdf8a3fee9b4621a77409d6fdf7f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 164fdac19f2662d4d5aeabd3df5643450dbb39d874c767d9999ddbc66dd91dcc
MD5 7647fdd59cc73705f05ec6f0288d9b85
BLAKE2b-256 81d1709c03a75db3a1bf66eb5ee40ad500a01cbe74c402025915e8d7bbaab2ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5e6507f6267500626709aafaebe5f4b38469b1c3ea184ceebb50a0d4d68ca636
MD5 fec7e1aa750cb351e686705c5e9529a1
BLAKE2b-256 eb4b97075eeca582cbdee628907ffd3bb4386bbc73f25192b8dcbbfc1ff86fdb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 119e56c8325e423d6ee72249b559cc6ea6643467f5d439194ee8049644a7a26b
MD5 947c24b33f1a9fcab626b580f064362e
BLAKE2b-256 72f5cfafcb8c669fe3619a508a9a41357b3a9b048b9a7a98ef56e62a71e21fb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 64d32067b5a14971aa31da583a614fc401337256d3fc50071ffa14b595bf477b
MD5 3cf57c364276cbcd14750621445b4c1c
BLAKE2b-256 949a3847af67538218852f18f8b61b34ec2ff0d3fc060a23d2b67e869e878424

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aerospike-19.0.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.7

File hashes

Hashes for aerospike-19.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 682344ee4bd5400d939a89bd7d0db12064dd58f752ef19742192f053cca916e2
MD5 fd7bbc3a21d17a49df9882c6f777be28
BLAKE2b-256 ce73fb5fbdf8110f51aaa199d526cb85b96a2843baeebb42a11323ca0f016aab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 44db52f3cdc2d2dd604ab7b2794a170b3f031fd22c79f06b509f1fc4c5690c8c
MD5 16511d07767a9da81728bbb0f79e9dd9
BLAKE2b-256 c8584da558d2b60d1b16eacab52f31d6494e62ccfe52e17a9548c570e6bc4eb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5bc6f16acb756cec9e1cc446437cf2f79d487a972b69585ab29bc02cff32d212
MD5 60ae6659a56a711745bb390ac18f0f5d
BLAKE2b-256 f33647e22847dd99426598405268f3ea7431974aeb1b530431c69762af3a1df1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp311-cp311-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 3f337a2367c550f25f58b4185d30f443623790e10bed81884dc81ef0b4e5540b
MD5 86ae2946e90e781385a87944a16377dc
BLAKE2b-256 30f3f217f351c3952ac5e2ba2ef21f359079c3aa706ca6097a518d43a7ee2661

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7397e47f3e3fd24d69f94f83cc345899af8e4eace160a503fae3146a3fbc73c6
MD5 020aeb6fe61e85d7c4488c4e3a7c7646
BLAKE2b-256 3d2abdfbd96db786e716362c212caba00d22690e1d170a998866eb36f687457d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aerospike-19.0.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.7

File hashes

Hashes for aerospike-19.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4190173cd4d3772961483078cec8c7aaddb6fc43d2770dc4a76fa798877d2a7a
MD5 9e31d132283f1b53afd7d42c393aea8e
BLAKE2b-256 491ab3df292a2391a3b049ba7754a8d2a9984aa908b086600819984360ab49da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ad9d0d889ee0d44aef2947da6a2284a30e02377b7f8f8ee027f834d7827b39c5
MD5 1c00e6efe6516da4c0b0991394c1e205
BLAKE2b-256 dcf1e0555878dc30d42e87ec017453ef4135452ba0a6914bf323dfc0b09aa162

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 acc0679e1b27e993498d3a589ca1a5019e1af811e16eb87753c27a341bca429b
MD5 07f06857b3f6e6cf699d0f0f681be384
BLAKE2b-256 d6b0e61bfaa8456d1d1a491a84fdac8f731a2442b6d2039ecdf32a3902b46d7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp310-cp310-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 062832f34b9814a4328f1bbe11d1d0c80ea54f6931c22e232f2c712b3956feba
MD5 3f25623f4f285d31e35d57d775e04b9d
BLAKE2b-256 ca7e3a8b8c07fd9ab9d39cf196ca021c753cb3303a17389d84c42fc1e27edb08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.0.0-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0de66d15ed3736cde691b55f89fee54d9efc82aa2c1c39c242eadea6a96a162a
MD5 6ead5d9235049a0f7bd0ff54e55921c3
BLAKE2b-256 2faac50d5be04981715bbb58f762641f4f012a169c5d0f89d83524f227e5f801

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