Skip to main content

Aerospike Client Library for Python

Reason this release was yanked:

Bug fixed in 11.0.1

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.0.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.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-11.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-11.0.0-cp311-cp311-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.9+ x86-64

aerospike-11.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-11.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-11.0.0-cp310-cp310-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.10macOS 10.9+ x86-64

aerospike-11.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-11.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-11.0.0-cp39-cp39-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

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

Uploaded CPython 3.9macOS 10.9+ x86-64

aerospike-11.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-11.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-11.0.0-cp38-cp38-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

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

Uploaded CPython 3.8macOS 10.9+ x86-64

aerospike-11.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-11.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-11.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-11.0.0.tar.gz.

File metadata

  • Download URL: aerospike-11.0.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.0.0.tar.gz
Algorithm Hash digest
SHA256 7cd698d6d489d7ac3e51f5e88336c6ddd29db66c3613daef549cae5edeca232b
MD5 c6ea4c7630ba29b887febe77b09fc7d7
BLAKE2b-256 ea90bd4464e309bae82e2942f635ba774340f8564530c031dc6d47d7626f0914

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 77afe729023271e5fbb749b40bf676a67e5b03467bb3bed811c1964de10131d6
MD5 de07fa104c4617307fa4d834b705ef6c
BLAKE2b-256 92a71d7807d50e4f98cc86b581c7171729f6bae7e0b2d0a8508c3eedc1aeb6ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 131e5c079acdd7917d06b44a1c6a4df3fc850edea30a6d347b6038dae623639f
MD5 2cdec2e42e42570656d2dd3a28c3b087
BLAKE2b-256 943efe9cdcef40aced5614c15f7185f889fd85b6f7183fcaecd8b7fe95debff0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 887f8da1a407b3461caadd916a65ab14908594b6d4b03023e835cad54d1f73d0
MD5 6b88192e9901da898035e96895e77611
BLAKE2b-256 edaa9f1bd449a10ffd8b649c775fe975dd9fd7f87a6817b919355e2bf65f511a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cbeca984b54bc7f30d97c834e0d249c509c99e6c7d5cbbb58ff274066f066014
MD5 9f3ebcff0faab7f10f762fe2cc51f1d8
BLAKE2b-256 cc667340b1f299db1cee8b3f4443e6a8d672f163647d94add0f7612dbd2d5154

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3423bb7ede7b8eeb05a7bf0c2b01f9ed0272de9db3744b4dd4c157ce3621a735
MD5 c8ab3548b4c711eb60a04c9e68fe5f75
BLAKE2b-256 bc2966e87aea579d86acdcab66210cd22a7941a06e57b0f4e50375e39682c081

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f0975983c7d483fdcfba440e463b720a455f6d6a6f75a2950497e1491a49fff1
MD5 8cfa76b007d02f19236d720d4c9a3960
BLAKE2b-256 051dc9ade4ca1e8075448685fe41d63a55c75ec00a15db123822157344fa0b06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e5856a7e13402ecb254255cf1f136154abbd50eac36e327d10f82a848978f9aa
MD5 4f3e8e447ef5af61711239b9efc72152
BLAKE2b-256 2b27b3e9524867a33c7b3396e3321d2854906089e5e866f61fe8b975eaaa5c51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c23152d81099564e5996e26a15b4b5f337afa4dd36c57ead355875ac8c659eeb
MD5 5a19fc2b89c30f761a8d0e5d6c28a704
BLAKE2b-256 341044884a25d9d48912e9aabbb4beb7bc7fd67ffc9b5b67beb3f2529684498d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6980e148334f5a47285b5d6c3eace595b8f350d1bf1ad0bda2ad1e1f98b795d4
MD5 42f2d32c965477ec5f10fa95e1c498a4
BLAKE2b-256 d3b0b8eb0dfc10744a2494f705985cf806766be2cef9d48b4dda4ae4b4e174ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d0e47b5be66b3a312ae160e0c5b89ad065c3df40370fadb4d9ed546acd43e34f
MD5 52e623cb59df5b3dbba181b901f93fc7
BLAKE2b-256 72b04064a5be576a3b38933603a8a0b08610f266a23b9b0136e289d53e2a3ebd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4cfa86a5dcbf65c6c261f07aaa07d9346773d8fe6bf6d2f9a72ef3d2754d14aa
MD5 a0c5c6fe0628c9fae68fe117fee2c4f2
BLAKE2b-256 47203299b74996d5f3ccbeb1213b53768a23460a825fb4c60e8ffc9fb61e5fb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5d255d218d640ced0d644c5ad3cf4062381c7535ba064efd06961f7b8f2550c0
MD5 082e85d135cd6384caaea15dce84ab53
BLAKE2b-256 c97fce809d662d85b90bc1f11befef622163786530ac136ca3a9896b3ed47aca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8694078338fa72dce3a541924454c17f6950ecd8c36e2e7668c5cd7adde659f9
MD5 c76f595779482ad1c765e063301a4ba6
BLAKE2b-256 cfc35f0294beaeb9723ba560157eb24ffd5c33ccad4554706f2d78aeb6c9b624

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e48c8799dfd498843f2855e7a7c8d9815990477c8a57b6fb62c652ee6e4b0115
MD5 24be81048d43c83c0e884674377ad347
BLAKE2b-256 2f09e9b916e3af759117c80a210469c918e143c09cc59eb3ee80cf957e5a4b79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8f920ccc4da1096bde4ac3b01e9a14e181c2c7170ff4f53511a9804e967ee9f9
MD5 fb06f93052e66271dbe5f9357af76b20
BLAKE2b-256 5dad5768b60c2fa08d782ba11fc2c752f241006961e634b7f942a12dafe88221

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4d20d78203343c7a46722b652a3e45a447e7f4b1c98392feb573a45a1e4feb22
MD5 0c6266c6414b806534b227c70390691a
BLAKE2b-256 dc4cd93ba4f745b91a8fd36fbe6bbb0fd1ba9cd61629eaf52ed4ea82c43fce52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5ac33c533b1df4cd5e93d201023fb0a95d746c58e5e53513897e0a688b739495
MD5 d28d84fed3b6e183cd90eaf336c77314
BLAKE2b-256 ad5e23a1211b65cee18bdf56cc14b5a9911e96a13d0070852474b98375d7799b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ef28af4c3df10ba715d0d65d984920e7c662590e3b8b28af0a38864cb01b9633
MD5 fb092f94c56f6330fc6926e658dac2b5
BLAKE2b-256 65925e8831f2c4acf411249111690f3fea91de98666721b02b66cd8b901bef79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 689ff6ef1be3ccd5bb4ee91306fefb22243caf34899fee58babdc9873f56bd74
MD5 77a924ef070bdfadce91c8e906f56fbf
BLAKE2b-256 ee961d4163840f60344fdbc260be0e6508ad5dcb4ca082d3ee2cffd01ea37f2b

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