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; 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.1.tar.gz (3.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-10.0.1-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.1-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.1-cp311-cp311-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.9+ x86-64

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

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.10macOS 10.9+ x86-64

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

Uploaded CPython 3.9macOS 11.0+ ARM64

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

Uploaded CPython 3.9macOS 10.9+ x86-64

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

Uploaded CPython 3.8macOS 11.0+ ARM64

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

Uploaded CPython 3.8macOS 10.9+ x86-64

aerospike-10.0.1-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.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: aerospike-10.0.1.tar.gz
  • Upload date:
  • Size: 3.1 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.1.tar.gz
Algorithm Hash digest
SHA256 743a02ee71ed2578edd4be55e70a22b42394d052059184ddf97346f95380f3d9
MD5 cd96cc3fa78883b3b361ef5a7005ebaa
BLAKE2b-256 40106328f664ed521a849f0086513951db6724f04477bbd0db289b8e0959f00f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7e81da7602e75984d407694f7525b152c39f5a5f52aff5271c30d3b9768516c0
MD5 34c9ac357be9a5ea3ad5f025b964fbd5
BLAKE2b-256 8b8d04d6c255d867022f9a29a71dd47fc10a18b858daf0733482b3332ef28b49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 03fbc2468550a3280b3a4f9e9121cc7caa8f7e7d22543b18ee1d874546c38aee
MD5 6b7b772289edf52476a2b2ed2111f559
BLAKE2b-256 99f4d4a8d5b35b0476d486ee9313aab325f6417eb87af3e002ee4e8091cc2d6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 acb165e6b789b7a6c4a5e571f01e24c9bfca75f1f9010aa82bba6b91b7be4cda
MD5 db0889f7965dfc27d90c24f97a8f8b08
BLAKE2b-256 d5ba8554f48ccc314b22ad9e59fa6ba0ffbbcdd95fd13624f2198480eb83ebf6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ef23a051f494c78c61d991cfe9dfcc2963de68500a5e3a1b288f88ff42f84193
MD5 49b59ab4d32fe14acd82afe267ec18d6
BLAKE2b-256 55876cdb2c98c8792c524dac0763f86c8046468ff7fa6353ac2161cd0e47fa01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 89b9250dfe42c9d2234193e2f68a70fda4c6b046e0564291a84ad0b59b62c147
MD5 cf67a473500628fa68a2cf39a5b87b78
BLAKE2b-256 6b9bfa0aebce5ec0783236681f084a3f4106133206de6c5e2c33b1b294cf4e5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e1ee5c05237123d822e27834217535a6ad196cd3702c4cd55ceaf60d62728a85
MD5 f9d204ff64350715508c4f381a5a6747
BLAKE2b-256 6769b6d9414c2e50ef36cac4eb108c1d42d76b7b908db6fbd4cff31bd0100be2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 83f808b7ee725210429b9b6994773648012132efe5a2b2d5ae1ef0927ea345d4
MD5 309fad772ba7657bf6fb54c3a3ce9b06
BLAKE2b-256 2e575e3c91e2f485f39e5084dac8e97a653bab63eeb2618ef83a88cb6a282e91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9d8c6a20f25805e100f2508f9ac625c09486dc5fba5b1eaae70e191cd8d9aebf
MD5 6d7afdc3e04f0da83d6bba5ae9eb31ce
BLAKE2b-256 15bedcaeefcf25d4192a3442ec781db7de071332504d46e53662bebe94703d93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ae5a764bf71bd5ddd3a0929b97871f1c8a95a37aec5f95566737d12e3bf884e6
MD5 c54b9afb94c2ced37507363d13633c7f
BLAKE2b-256 96929d5755e86c70e15d0631cbeb551cb373566693134d80c6c1330fffe47a7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 509460d4028a8bf4d860b3be38d80d2e483add23ce95abf9ee3760173f22ba78
MD5 22b3b351eb15dc91a7f80f3d6d5f3094
BLAKE2b-256 5435862e87245189a2520b418a45f443cb415e32734e1783916efc3c0df28f84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e221c827b6edf4febc54a6b0386db0932b40526058a48a7dcec9b95336c6e6b5
MD5 bb1ff8b5eec1d72331feb8d8dd010a22
BLAKE2b-256 9abc36a5c419279fb3eb21085d877f467738563da7f1c1a9bdca286b54a663e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 071e43887d74e82bb7bb0a584f2010fd8671b0948fa4d36b214bf1557b8bb4a0
MD5 3e2ec0071c52a8a2841669b3ecb33ac2
BLAKE2b-256 49b23b45d8cd7d1f514985e5675eb2c152e9a69d70d95cc043756cd8eecd2e15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dba472535c4bfd0d55c131e3473ead27ac25b9aa0202b2fd36b1a5f432405a3c
MD5 14e63222e5594bee08c89992ab7fbb7d
BLAKE2b-256 7ebc4e3dd94144feacdd71793d46cc9a05e2186c1b06e93f3dab91c6a0a38b53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b02a304954cf9e6ba2caf03230a7f4413df1231e9c9b82e7ed8443132503cef6
MD5 f397010c548da79e5f1294eda9e08416
BLAKE2b-256 49742742e00009accc694a244e3270d4b8f0b5779e44640eadf40f8e65827c1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3deadad6b04123085146c4cf0a90a7270810fc7ee2c3a5cfb12649ee0bf419b6
MD5 511e73ae9f52883d2ebf384bd9361ea6
BLAKE2b-256 eb84ba536495186195062b7a20ba5d9784faa03d9f841b0933961cc6b8d88db4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8aafb98fbb5520eb58848007d413fa99ed03a114e2a624e9346565d9ac89973e
MD5 ebfc9ace9155a4d00ff63df863f2db07
BLAKE2b-256 42093176dc805ebbf7ed3d0ffa64504543feadafc1581a4c290da91435e8ee75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bbc8cc3945ae0fd69875d4c281534215a6f74c79334e78861c170740b3bc780f
MD5 1475ac35346cd06bfc95619f48e03e07
BLAKE2b-256 66de0f8012f9aa56f73ca24a850a67079e6a0caa07960f96605adb6576336d5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a2303f83113dcff3d0463190a8b4346ccef78c1b63793e5f1d0dda590bc3d983
MD5 f833819ab579773e35f93f9d57fb6085
BLAKE2b-256 85e28d65732230422b861d93e8db932e6d8f5c01cf330afade3ad1fc2f79ed06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-10.0.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 472800654bc59bd8f692310b85aa82a5cc5c8cff7ead683c7a961ad3dc90dd9c
MD5 d1beb64d659cd358aba5087fb742bd27
BLAKE2b-256 d039584063ba2de12f3598e215fe363a2f25f66074ee2a2d57079073a54b48e5

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