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

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14macOS 14.0+ x86-64

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

Uploaded CPython 3.14macOS 14.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ x86-64

aerospike-19.1.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.1.0.tar.gz.

File metadata

  • Download URL: aerospike-19.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 d7c6a6025d2973ed72ca50efb18d4237596c3a1e6d8ce82e9fcfdb524fd84503
MD5 04c4e81d8207ceed2a48765a01a3cec5
BLAKE2b-256 c3f29440e0b19dd36b143945e220fee44bf6743ef1d9ef22e7ba528e321576a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aerospike-19.1.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.1.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 9a8ca874a8914c244328c314db31eb1154fa9a3690245d2f582bf8a0636a49d4
MD5 10f9c39bf1ac664a03fd00cc6d47c9e4
BLAKE2b-256 db3165c1bbe40c4309c8568e81932016df63de030112b3cdc0f24e8ce68dc0de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8bce5339b460d754480d8ea1fe1c2e8bddcaf3717c9e6c3a6cbf5c89b9bebb19
MD5 5d02a7b2eed14c8820f1c10e3293b3ea
BLAKE2b-256 8355fc93cceb20144de1439224659cd88ab56fe68c46c3e2c3ada11f03100d44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 80e2a827a05f2b6df515e07cbc0d4ebd6cae67441219fc3e04cf9b840d6f52ce
MD5 d2f686973534d8595970ee408c9d3c5c
BLAKE2b-256 68a8b94e9f73226908f7bb7ebb6c91865d7f83cf5d2be9c9fc840459e788d189

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp314-cp314-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 cc141e1f4445bfc6c5f62a6ca407008dcad6e18eb5552c0632f55df92fa76d2f
MD5 b619d05c71da98a8301759fbfee31630
BLAKE2b-256 eccf756dd98a9f793e72a0b96c073b4bc608b1fa282cfbd77291cf27d870f670

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a342c0b52a8ad6a8372c6764d07843005880b2c72ef393df28b7e27f98784671
MD5 39bb85d5cca7708f8267e492baeeae74
BLAKE2b-256 f8d6750fe59923a1b45f3744585da7bd1ad87ad3f0b8d802225c62750f32ffdd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aerospike-19.1.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.1.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f2864d9151691389200d79fdfdebc3ca3f9ecc1f71e9af24944259a603e52d38
MD5 60de1135babb31a9b75cbb3eccbdea4d
BLAKE2b-256 178dcf1fe3e0809e8477448d854c2695f6f037a814f8ab7640bce5781b603743

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 df61be40142eb317d0895d0e940800bcd9ce2302f2f46321bf6de6059421c4c9
MD5 e3a7a6968fcec0bee4d6963d460bf87f
BLAKE2b-256 ecda26599a1849b1a840ea35c1eeac0c54b4adf6617f144d87a86512485031ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 479e0ae263997fe082df5939d3e672dd134ccf6abd659e0cf8d713ea18dad9be
MD5 f8b40722e29c1b3abfb589356663f8ab
BLAKE2b-256 d0abea808bf9bb2350b1304393b3ff7d7f5b8affedfdeafb9a4861d1c11c7972

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp313-cp313-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 3e117e87ca096e3b04662022554115998396302f6941d37d465199f0424cd35f
MD5 30de02e40c51ef63c6b1ead1627e05ac
BLAKE2b-256 0cba2bb7550d391ab71fcecbd9abd47dc3f603d8506923409f5a79980dacbe56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 18c54abc1404a33daa8b035d03052e6788efcb8289219637268f5640e7f7f3f3
MD5 3c8bab377e3c97919c76f5ab2b94720d
BLAKE2b-256 82f0602f91ac4d480b2402bcdf39951140f60ba9565e8e87ac690c55f1be8e74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aerospike-19.1.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.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 912fd574fa64c2109cfd866767219d53f6247fe224a15eb6cdd6377a59c86abf
MD5 e864b02a06c39207c7ed119d8474aa23
BLAKE2b-256 d8659c11283f8fff68ab67d9d4444ac57964fb4e21a756ec05962de6ceacbc88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 006d46978c77807850a0dd4021989f8f875021af33b5602e2d9f58502a9d4707
MD5 8b12726d0674b4d4d11cdd94a3dcdcaf
BLAKE2b-256 18574c87e6c64a41802b93ce0bcccb6dd0d5242f232623a846f91f5cb80fbddf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1d1cf0e47c3f725337192eeff7f327f23f4dd122528f94d4693ee1481549c371
MD5 a90e9c2d3c12c20e6dfce3cf35ebdbde
BLAKE2b-256 455c095d8fe100e0f939041ddad2632ca4c50cbdc855000a20b9ead83d4080c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 e2c71b756832b54e142c3110d5df2e840d990fae235486f33054a6f24d9494df
MD5 1610b6d49f8120feb903529e41f9a0f4
BLAKE2b-256 5e29a828d5a091618413e37e0b994857584d99070197cf74acad282961e9394c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 909ef06f8fa127076d5523139a5b2f7b5903f2946850245ac6b5d9f3a5ecdc61
MD5 f4824e7fea11a80903467ae5025d15e4
BLAKE2b-256 424ff82d4d278186b83636d5f7a7a0c5260b967177a0df356de36365669b259a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aerospike-19.1.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.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 25dfa5928dca559bbda6456551b7b33a1decd1a28ee4e46073de2e997167cfd9
MD5 bfb04a87246efbfb455ece3ec6b8b43b
BLAKE2b-256 436b94a725c21221200404d396fa9acaf992d6d5456e2e393ffb34c0a25d9928

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c45ff2463fb3be77ef0e93fa37ce0d0d5829565a22e9811ed04571a75cb7e80b
MD5 8b0f51f600e1fb235aca113abc3b86e6
BLAKE2b-256 2ae20d03800a8ba52ae14b8978dd4d7d78370cb709a09ec54cf382b9eb56b2ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8ec28c8c636cb12fe88d950d6f2b303b386c00eb0b407c17c5f7383a57aa5832
MD5 13f4922908b5156b27edf714d9fecafe
BLAKE2b-256 c152cbec58b08e5590e18701abf1759174fab2b969bdd2d728f77f55f55a2981

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp311-cp311-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 cdba23257ac69dc369f41ee6608711586427ca71ba1bd5a2dc915afad312c993
MD5 c1e0d1003efd5def1f1df99b5bfa1b1e
BLAKE2b-256 d21aa15595392f1e58436f81c0e305c119f30e47f10bd00d9a90f870253067d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b5bfe24fc3f90851187d9a1a4ebab3ca2c18431ccfe7ad9d14ba522ceacb3161
MD5 a9cd56abbda49368be7e19b7c9a98a62
BLAKE2b-256 89262addecb921f221294bc8751f51a09ca1f2d7bcc053e39fc43d56d579ce91

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aerospike-19.1.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.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c4da5dd0868374b1b33ef8f69f4fe2098a7952e1d2c7a3a34bacf87581606264
MD5 249cee3624a87db34987c3bbc575da15
BLAKE2b-256 4bd670a1da99588a4574a83a2f5a478251ed5a6d33308fafdb486a9187ecff68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 05f231aa3bdf78a835970d8ac0e018cccf802e6d7b60b89523e00d8098920893
MD5 fde60bd29ee2356a341b9ae7d7bbcc02
BLAKE2b-256 b60f98161e9ca73d46a6e6beed8cd06023520c3e73581215f919c2f0c72c832b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 497b6438d48f973afb7caacb71400e740bd233e41191633515bc5f2e5f7d3aa7
MD5 95c38fde6fc0b5563722e2b48a081be9
BLAKE2b-256 afb0af352d80244ed047b17ebe0b6fcc8dfc90ce3037ec82c76086b0ce8bc531

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp310-cp310-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 19e7964b5c52e33e175d3319b9fd7c3e5a2411ab0efd895a0ac501d68a1d82d1
MD5 36d2ae64a572429137b6f46cea4e50ce
BLAKE2b-256 bf0a4bd8dc6fb621de2e1ffbba366da81fd4f7f28ac1945f6bb19c3044539df6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-19.1.0-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c080a47b8d8d68a85f257b9f1fbf99aed8837ea414847ee1938629a2d19f790a
MD5 6e6ad31c6b5e83739464101cba26f16a
BLAKE2b-256 7e968608c9e965e66d873ccbdc561952c6729f195969dc59948153582b010b7e

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