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

  • macOS 11 and 12

  • CentOS 7 Linux

  • RHEL 8 and 9

  • Amazon Linux 2023

  • Debian 11 and 12

  • Ubuntu 20.04 and 22.04

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

Uploaded Source

Built Distributions

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

aerospike-14.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

aerospike-14.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

aerospike-14.1.0-cp312-cp312-macosx_12_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.12macOS 12.0+ ARM64

aerospike-14.1.0-cp312-cp312-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.12macOS 10.9+ x86-64

aerospike-14.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

aerospike-14.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

aerospike-14.1.0-cp311-cp311-macosx_12_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.11macOS 12.0+ ARM64

aerospike-14.1.0-cp311-cp311-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

aerospike-14.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

aerospike-14.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

aerospike-14.1.0-cp310-cp310-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

aerospike-14.1.0-cp310-cp310-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

aerospike-14.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

aerospike-14.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

aerospike-14.1.0-cp39-cp39-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

aerospike-14.1.0-cp39-cp39-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

aerospike-14.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

aerospike-14.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.0 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

aerospike-14.1.0-cp38-cp38-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

aerospike-14.1.0-cp38-cp38-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: aerospike-14.1.0.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for aerospike-14.1.0.tar.gz
Algorithm Hash digest
SHA256 784f272dcac354bdaa9fa5c8e6e5744f6ea54b76456574bee9c2d029a25f35ce
MD5 ce6c8264ccfcbcc129dfcb654bae2933
BLAKE2b-256 2390dc8af906f9969a1ece491695bc8024ae8065aa423c4068e3a3cb7ee19abf

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 accc05e84a096a4a98bd8c0c93baf77787b8e699f675ee5ce1e9924dc42ccce5
MD5 9f0e55f7f36c285f740861801fae4132
BLAKE2b-256 fb602649d90570e8aaeeb53ef7d9b035c9f1231f23b0e4c47bf4298016ba8cec

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b187ba5c35b122b87b32da1422be28e0e58ce5e8c75ea266443a8e0de54db81a
MD5 ced13f40db036304cbebef48852c6f55
BLAKE2b-256 395124d8c848a56d81a5f390436901e147acb5085cf8fb44ee192fcb48d19b9e

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp312-cp312-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp312-cp312-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 70201e1b6ee18038f3a0bb9285688b352286859a324141efd351937add1ce688
MD5 bbcbb9096c05a515e36d55b0eb0166aa
BLAKE2b-256 32cfda46ae8b642835bbdb3af0a4c0dce04834fe5b34cda6636199b2921b3690

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 05baee3284165de5df43de5f419e80e1bf860f1f1072b9adf0cea6068eeeb161
MD5 4f6414e364d7c98256c3b71ed3b50253
BLAKE2b-256 8b6b66d55442b292f91b16271eb8a0bc6af64ded148aa3a08bee9316bf9a76cc

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8768d068ba62e08d3cecf6e6b65728a56b7a147db97a8996f47a077f379e248a
MD5 4817f55c284f92afc50fbf19fd1a4290
BLAKE2b-256 5ea5edaf3303145aaea6c0d0dcc6ffc708e3e6b3879d456aa0880342678273d6

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 883b4a0655225a317d2b04907ca82eefdffb62b5e618f40ab7da19ae7d049b4d
MD5 2f4780ef791a3d3e2648dd3c93218c0d
BLAKE2b-256 2bc9dcc31f2332367a29d23f8a63101b5ee9664aad5034b7ca91ae3e70b53c07

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp311-cp311-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp311-cp311-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 2f067b862250e42dc0c83eaceb494b4be8a50e4ae042be0d3f68e1c410d116b6
MD5 d64fd52ce09cd5f7bcf799142f0573b4
BLAKE2b-256 1137c7e140e0708d94ebd8a634be30641905cf22f8d94bc5d2966192f1ac1b68

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6b13d75b839244330bdd46493bf1beaf1486066f6f6c31021acbdcdfb38c3c06
MD5 bced703afeec5b0adc102899c0972b2c
BLAKE2b-256 0d8708a68f8e5045bc2dd1f0f48a63d0304688184739ccea650c5450b8924739

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e3741b02e72999b09c5b6635cce152138a24499be69e2167b3c43ee29154220b
MD5 b5039f2544195440784befcc6ec52354
BLAKE2b-256 570f5e018d76c52bbbbc7c7e0679726497f21ab1b1cec4991095ef88fc2a730d

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9c35d5e8dc29d4b80d9f4e7864db64e653f8b3c41312e6a28c2d494b414f9a40
MD5 0762d4005f2c1dfbcf19d48b9318f231
BLAKE2b-256 d05aa0721e20860a0285215e2de6aa504d9ab50793c23a917c9cf3f357c992eb

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e20eaa976d6cb7b4fa13932b57581bd6b39e9f6b968aa77be1c20cb171684d17
MD5 bbbcbecd37dd3841b52244d4b7070b47
BLAKE2b-256 81dab8172aaa8c34e7b1a6fae222aa8296441baa43f6b2a75406861cbd07af60

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7e498f86b8044b026515a9c7b1c785fa15dfe20d8c2f4dd43efd5e78c3b8560a
MD5 c3765255f149d3a7a725eb8b9c06e509
BLAKE2b-256 637ece71f7f7dbd1c3cf8da838e32b6b2168a05d99f9b8044dd612302e3ce02f

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4c65dd455c27c0d12d73f935ee3c265e572e047e548d0eb5d8aae311789c025a
MD5 e167105e010a8b40dfc2850ebfb2d234
BLAKE2b-256 42b42600714581e8933c4044e1c11eaa76e5028f59f8b6d012f033a2836d83fb

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f491a854712e60c81e656836d49abdf13d53ca66384c5f4a891097904842c1f3
MD5 9bb9a9c928702c055c61d256df570e39
BLAKE2b-256 749d5cfc1a92ce039495435bb14b21323ad98a849466f5959fc10639b3e93005

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0ea4a6ff82f19fd41825cd367e4db120b0711b5a63965f57dc4e410ac2899151
MD5 26bedd4674996baa79702de6fe6d0627
BLAKE2b-256 8955256fdcf0f0b48ed09cd1d42d54afb4012ccc09e68b4e9e9dba40bf35ad27

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 061d988ddb404235d3a4bf4eb7f6de20c27eda90f7652045898f005fdbfc54ca
MD5 2264894c5ea9fbfe51ea4a57c84958f4
BLAKE2b-256 de437945fe240a3182755c81173be191ec8d89500845b3a324648c0219515294

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 63d980c9a3a5d3e62989d91b82192185514a6f67c85bcdbee9e1498a8736f61a
MD5 e7ad1b322844b504cae5affab4feb377
BLAKE2b-256 17b5dc198bc766a02879ed772a52081681b51276e19b615cc9781ad9267d7a79

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bde2824bd15f3d022348168544982a2ec4f8b73d4ec77cce1a9c51f328c04442
MD5 1a83c2f2e06b35c56595aa53299240ce
BLAKE2b-256 32bbd1db8ffb147805dafcdcaebeafc894e1f39981854e55608c6547b8646fa0

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7ee7173adff3e36476e7cbe032bcda97372f4f20156b1648fdb37b9e2a3b4216
MD5 0c7b44160e202528274107de5c1079a1
BLAKE2b-256 83f2db280130e0e41e73fb69e3c63fb128ee9129a1abe9dc95c689887d53df62

See more details on using hashes here.

File details

Details for the file aerospike-14.1.0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-14.1.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 465373bdc81e2a243fb21e1445ea1997e67364cb59ab266cfb8c573ebed61cc2
MD5 6111e33ff1149aee24ea22a78ee602d2
BLAKE2b-256 8a13250e1e09ee279f3e57f2ff33e75ddfc8666ad6a5167ee9fb98af3a18558b

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