Skip to main content

Aerospike Client Library for Python

Reason this release was yanked:

This version includes a serious bug, please use 10.0.1 or later.

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; 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-10.0.0.tar.gz (9.9 MB view details)

Uploaded Source

Built Distributions

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

aerospike-10.0.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-10.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.9+ x86-64

aerospike-10.0.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-10.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.10macOS 10.9+ x86-64

aerospike-10.0.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-10.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.9macOS 11.0+ ARM64

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

Uploaded CPython 3.9macOS 10.9+ x86-64

aerospike-10.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.8macOS 11.0+ ARM64

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

Uploaded CPython 3.8macOS 10.9+ x86-64

aerospike-10.0.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-10.0.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.6 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ ARM64

aerospike-10.0.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-10.0.0.tar.gz.

File metadata

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

File hashes

Hashes for aerospike-10.0.0.tar.gz
Algorithm Hash digest
SHA256 e94dfabcfa24ddbc0c77b983b3e7a5be4483c2c290bd7ea2aa44d459bef45e76
MD5 057cced3f7ede723b68ab50e09f0942c
BLAKE2b-256 0bfd2f272f6c123f7c5d54cadacc29eecc3e3c59f8315342a4c5f37203eb923d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9d8fdc4b0c1505657c674297015e5dc651a260344c5299858af2d6feab416b99
MD5 9d1d1df5d9b901cd4f3f4c570da0f524
BLAKE2b-256 4b25372532b2c428840f1edf4ae1c2c3a864ff5bd8ea4c84453edcfa61bfd072

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d110abdab114f5dd8472923f0e327da0424ecd18bdebc82200b7f52107659508
MD5 d927ef4f1a1e1922dfae4a19d0c361d4
BLAKE2b-256 e24869bfb05fd7e0525c9f9643cb56228419615cffd7b00ecdf4215e5d54157f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d53cbf507db8bcb2fe0eb6880cd74c4a0508465e09117af0ddcc945f04a9d8b6
MD5 d8eb46a561c02acd8118be27cbac8e40
BLAKE2b-256 6f26f3e7673ebf74f741b60851565a18ce14e82b952cc5e3ad482a6eba9200a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2b30b5dbfdfe64229d8f9a1a97a378dc9f3c14c617b2715ce5a7bfd6bfcab38d
MD5 e19bfaa39ed30a6eb46bd3ec1dd0ba35
BLAKE2b-256 10dd015662719be3aa082a80c2c35841da8da086997bc8cfcadf4280a378c538

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0c673b37ba05698b17cbe070d3557f49296dcf05a945e0d2906508d31e2e4c59
MD5 8e6eec997ee7aef17734b9fec78e8f45
BLAKE2b-256 e62bb04fefd2c5dfe50b8edec51950d8b734ac6cb5067943120339555b3c31a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9170e062b2cc5cd90381c95dc2bdbee9c6b1bd2f88293d501b3349960fbd92ad
MD5 39aad13cbc5299361d3e6309d447e898
BLAKE2b-256 d57110ef3d55f2a78ec77a06ed8f36c11e966531e0cbc3a88d8aad2a65aa33f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eb60b4090f753f4142b49517211df93fe9e588fee70cccd8e7689fcf59804d6e
MD5 c5a67d1500815f63c94c3d79ebf8cc54
BLAKE2b-256 e45ffa9ed4c177f05f3f20fdcfe1f67ba940d131be5a2175a920fef6a9a6298e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3c717b4d7af154768900b85329b63886067acf79b708419c59b9896d5ae73cc9
MD5 76d7777e3a898ce09920f139d3672f2e
BLAKE2b-256 6b796a3683c2fd0542dc5d9c62f2cbd675fea75b311d165b9e33ca86965ddf10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ea662145dea562f476374eb6af87704706cb7fbe9c8b52334538c841cf025df9
MD5 ef1b5745175bceb3acd99fd0a5ae126e
BLAKE2b-256 15d9b15958e0a42a2534a8457bb131b9a869ddfc08b48bd798e80741d13c117e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b4daa26660fa78bfe353da896e44ea19ea723d2f48db69812b17b2ea97ac7ef1
MD5 5741312ad69e34da8ecb7137989f33a5
BLAKE2b-256 c1732dff651763383b8fa56fff39c581b9577b0cc91d75839723a894db24347e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4995e745357013a6446e2e1c802328dfb09c0cb33ce6441eadf703e5a9b3b81d
MD5 7bc71689239cceb641f3fce6314f7d89
BLAKE2b-256 90235a9b6779dfe715085a8140af85da237f986563bc3ceb3eaaa4e26d51952d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d021af374aef13495e001586e76687452ab4d310caca7bb6964d2d236b51ab8b
MD5 3aeddccfd3ac185f326fce616f5ca38b
BLAKE2b-256 d3c722ad6f89c5f8d3e06d052242128688dc006d2aca878f9b481b5ae6c5a089

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b6fdb2f9c1a37231ed7cca5029c2ab50da8967a28473c523d890ed09164b1c34
MD5 04802d5e781e94ebdb1f4b4c89efc883
BLAKE2b-256 1a768efdb159bd58841c74eb5e1abcdd06dd0e95a12da555615ed3f32ab091fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8adc2c5d8bd8e9907acbe1fd017b5919f388e818a0fa8346f99022aa7e5d8173
MD5 ace6b358b01c7a7dec659d288c66bfa9
BLAKE2b-256 2a312cdd561724c00a569b0e5f16344067da3b75016c447693945080ff133323

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 85e6d458bdced5082aae7949552a4868cc2a2cbef2e8ab8fe9ce982de375a515
MD5 6442bf1390e310be77929b89ecb49802
BLAKE2b-256 5a3af46e85ca1f4c3f55aefbf182d60b30ed8197b8f2ec21c538f2e8d03a7a43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 876f13b484cc712299a0e94a323ec314a86a310dd93bbc946893fca6eebbb041
MD5 1cf1acbad3f49a932964d217a480d5ee
BLAKE2b-256 9d215abd933d65dc0e9f78c67531718a6e7effae9124cd6c2d340453f441245d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 441708a7156f1a5f1fbf2428d6b757081b97fa3c983fe6d34a6ec79a30f2d7bb
MD5 cdf6ee59418a79ee9540e59a3310a40a
BLAKE2b-256 676ac53c7dfaa5df032fae57483262e14056beddbd33880c1f425cf65697be59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 dd324a804792972818fdc0586444c6e33ebf1909873a070999d468aeb347987c
MD5 95a47d6a6a111261237140c073d57756
BLAKE2b-256 3242969c775d7f0802105a8ebc74f47eb2748b1d25e4c2096b547496258bc3cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2c62f8ae76cf21a3a7d276bc361731af12c3c8f01f57987968d692adf0436de0
MD5 072cdf157f031ef239e231e5288e35d3
BLAKE2b-256 a1d2bc778dcead34c0d952e692d089f4c3d5c295b7beed84fcc6cd2ebb5143db

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