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.7 - 3.11 running on 64-bit macOS 10.15+ and Linux (RHEL/CentOS 7 & 8; RHEL 9; Debian 8, 9 & 10; Ubuntu 18.04 & 20.04; 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-11.1.0.tar.gz (2.8 MB view details)

Uploaded Source

Built Distributions

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

aerospike-11.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

aerospike-11.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

aerospike-11.1.0-cp311-cp311-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.9+ x86-64

aerospike-11.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

aerospike-11.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

aerospike-11.1.0-cp310-cp310-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.10macOS 10.9+ x86-64

aerospike-11.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

aerospike-11.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

aerospike-11.1.0-cp39-cp39-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

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

Uploaded CPython 3.9macOS 10.9+ x86-64

aerospike-11.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

aerospike-11.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.6 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

aerospike-11.1.0-cp38-cp38-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

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

Uploaded CPython 3.8macOS 10.9+ x86-64

aerospike-11.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

aerospike-11.1.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.6 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ ARM64

aerospike-11.1.0-cp37-cp37m-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: aerospike-11.1.0.tar.gz
  • Upload date:
  • Size: 2.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.16

File hashes

Hashes for aerospike-11.1.0.tar.gz
Algorithm Hash digest
SHA256 51c2e15b14e1952b6fe575b4d6bd90f5b2624bf5a6b911c06fe2a45c03e3889a
MD5 0debdb7bf3d690a02df669b105e13a3b
BLAKE2b-256 f659d746638ae305772f1f205067e198a0ea167ec66984be81cf48ccd330afe0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 62566610ad2bf5a95e30d045e7440f8d28caa4fda4733a9906b9a13614b23012
MD5 4679f98ae9f93804f11628fa12721c8d
BLAKE2b-256 c49feeaf50c0e29c957b0ef8a9defffde54fe23387ed6513ba19c3404cb79461

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3fb1ac7931a8ea8341ddda27069b3a7559571241d5977ed22f1f92d88feba884
MD5 efde7fc8db40b74cbaa3dc3a4fd037ba
BLAKE2b-256 27bceccf90573945025974b7775e8282abdae7218988db31c91413657b388379

See more details on using hashes here.

File details

Details for the file aerospike-11.1.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aerospike-11.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c9411af1d63326e895da7b7217921d03ab7c1da657f15b0826c50e34dba965f6
MD5 b12c61a2ac23d6e15a7e5e957866cf94
BLAKE2b-256 36c29abf55d0a2c93c1790741c253382393ef22a7e849722972095ae146aeefc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.1.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 945155812012c26c04536d2459781264887784ab51c8ffcef8061ca6796276bb
MD5 5cfb6a868b82322ee1febc1ac418e585
BLAKE2b-256 68451c11bacfff6fd861aa8be8e67ef53254159e9889cf8b3e7fa0a8616bcb48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 da39867507faf4a0b36269cdf256af7528f0c008ae208939da4bde62666440c3
MD5 95ab296a1daf8a09fb9e26cac30c5aa4
BLAKE2b-256 aa77c8647834fb0738cfed0053a56b3debdd6ba1bad188bf44fed2a0938dc53c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 efde115be60b6153ecac78a3806d7ac33bd3a9738d38100a7f6bf57baeeb3974
MD5 f4d218dbfb08cdf6e992decd6ecbfc39
BLAKE2b-256 7c92df17b45f2f790de391fe0445a7db931f985548c5daae20a60c6b4e91a64e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0bae76ef3551a41f77dd392e0187f5a681893c814a31ee1b93a241894320b1b2
MD5 b2e02ecc5e1faaa53e11704684d19023
BLAKE2b-256 da85dade99f5255ee4e9e9186851ed64ddc523cbc4b5e94e3e4db784c0214800

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.1.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e5228cb1eb7f575c0ac440fde919e6be0c48cf8821f4e25458ff62e3ce26b0f8
MD5 5f10a6bf538a0dea6896393a1059ab51
BLAKE2b-256 fb52bc0b8835a8d848d4949ecd7312fdf3b213444b2c107f332c3795a77d5be6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e0a34fb1aaed540ff8013f9362f774e69050e8563ecf7b9ac3fa502d390b9cf9
MD5 e799b184555777acac238de213ce3b64
BLAKE2b-256 86ef9784af2f75619a028f53eee289ac430c646d0f8172a92ad63d11621c4302

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 014093746942e88fd975b441de29dba1033ae0b40cb7610a7d3a62566f20bf57
MD5 7f4928579710d608f3b6909d06e352f0
BLAKE2b-256 a1aeb9bb43bc84ce56fb277bcf7a54216a58b258be9d13d173974602b14c3ccd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.1.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a2871ef15bff9db9e4f243a76f264c6d4742f1794b7f5c80343ca93803fd3445
MD5 0eacb64e670dc9ed33d7e77b8101f346
BLAKE2b-256 a1cd6a11aecfff391ee3dda1502ef6d2a4d921a66be8062a2b1d20d668cbf1d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.1.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5d8e0cd05b3b6736c66d1b31125f339700100786a66ef523efaa389a2278774c
MD5 781b534538cb51701950aad564251947
BLAKE2b-256 e569c5be26ddd24c47d025a426a6818bf456dfd2d4cdfa1357875c247691f850

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 da2785e85d0f8186f6076785f559f86135294df4bd362f58d01163d0409769a1
MD5 7babb6aff00d55a0161585e1167b4305
BLAKE2b-256 15a5fab0563ec6881e786040daaae2587df41b782b1b6d6c89dd0cef19958d09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b1e9c8eaf558592db9b274a74102c470fd20fec11ca20cba7e62aa4d18af54df
MD5 df4427f9ebe31ab716604f8db2088d66
BLAKE2b-256 340771c9f8b83f908b8624c586fd744d5dfd142c83a1daf1816fb8fc61d54b39

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.1.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ff3c44a13c51b4aeb23ffd34cfb8f9385da27c705772e176f298322824a697fd
MD5 888678e9e51770477d0519a92455b0a4
BLAKE2b-256 93ce0077b92b707d1736e0ffaed695ae7105e385fc5d3d11d329d6a822fc8f84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.1.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ac85ce002bb4e00b0bae9ce7b6913d7c9d66987c751ae2517b59ea9dcbf4ef6f
MD5 630f0310a2746f10b5cfb953f7ca0b89
BLAKE2b-256 dfa5c4535f7e41895ff77cacf84c20140049627bcc1c7656d9e36016934d428c

See more details on using hashes here.

File details

Details for the file aerospike-11.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-11.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7c93b39cc33290fc76eb6d11bb7943ff16897c3d948755333db861c4cec89eec
MD5 8c10c791584c7ce98689cb0279b48946
BLAKE2b-256 2c6c1b02fa0b44303019ba02170c55bc0ef69948c0aa0083af81d8273110e70b

See more details on using hashes here.

File details

Details for the file aerospike-11.1.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for aerospike-11.1.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 45a267857b39f0e300408e0b5ae9b53485c6dffcb61c269f1ec1a87c538108eb
MD5 5f0842eb7cbb319d0de2140b15610322
BLAKE2b-256 dcb495ad7e66cb82ce8d5e2a32485edf5c7610997293b42f5c0ac94cb0d5fde7

See more details on using hashes here.

File details

Details for the file aerospike-11.1.0-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for aerospike-11.1.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c410e7b706b478d770a25ef3a7556a857351b67b5dd6800ba00bb136dc4df52f
MD5 fd4bebb980818bc4e945a606db6eb1e6
BLAKE2b-256 33c9885c5eb4ba0e6d22fd1240d69670184cf1499ae1c7e7cc6bbe947023f3fd

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