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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.9+ x86-64

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

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.10macOS 10.9+ x86-64

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

Uploaded CPython 3.9macOS 11.0+ ARM64

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

Uploaded CPython 3.9macOS 10.9+ x86-64

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

Uploaded CPython 3.8macOS 11.0+ ARM64

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

Uploaded CPython 3.8macOS 10.9+ x86-64

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

File metadata

  • Download URL: aerospike-11.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2b1ba7d25a9a3ebe9a830bcc5c1940fa60595056352d0e1f57ecba2e5eb481d9
MD5 42c4bc363ad27187dac13d9f43c9fbe3
BLAKE2b-256 14e98d6681a877a87b8599023d52b0bd43c62c3a480ea1c2aafa8e6c14580947

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 491574e60307b8cac75eb8c36e2efd5216732afbfc6115a9325dd40e0264694d
MD5 c9523899dd2118c00758f5838a746e74
BLAKE2b-256 08672a30bfd402b7f0e90d2c3b9f26b5e2c9c3406a27198df50f2f077781a863

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 010624fe5872b143c07095fc99337ac046ae8d7b2d9f73c1c6f76b91edab76d7
MD5 a98d3c494fe4778e8a52c81a4aa2e90e
BLAKE2b-256 f1b0b899ca6ffb21b076503e41b93f3b956865e7cd641fdcf39c5bb550769c37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1296509bf7cc7b696ba961c544c752027cff7459d31b247a9f9b584cddfdeb35
MD5 5abcfe6efae03df4671bf9cbdb9c25fd
BLAKE2b-256 cfb5a58881e850a94bcef414fdaa088eb32ff77ca8dc464ffcd2da0c9fe58ad6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1daa125297ead4af7518b51f017bebfdf374fcae641dd0599f6e16d97f59a505
MD5 c40e66cf7619d736ae820a5290f2ac3d
BLAKE2b-256 d0df75c7b528adeae8e8191f4567387dec87e4b854303b488ab61479d082b50b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e705bf17996f7972fbf6d229ad52e518e12c460302cbac12a8575a13e4369b03
MD5 fb4a6e6e9329fd6c105048307e6dff57
BLAKE2b-256 beba43f8a7e351ff377ee4b50d367542f078f0794700c4b4f6aebe8ffac28c69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5bfc5849ee5d10e8e0c30af1ba02f1c4fd5243ab3ed6ce503779d5fd129ecd3d
MD5 1ac1084f4b0a824f51a84b578a36b64e
BLAKE2b-256 f9b12511af877c53f46c9e70130d3ebb98a5df92745e6f80b8071fb73ed09ea1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8a3e0345675ca564d5c609e77b5088d786c27af184f248890d624aa61a2487bb
MD5 6a68766a625290d9bec7b6152238b54f
BLAKE2b-256 a78f989e6b4ad7475b86dc3a912880c0d8780820a171c3afb926f2ea91ca88f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0c73b1b0b6d65b79c2b5a7cb52ed590e97f158245139fc662ab1fa6fcf58e349
MD5 2b098f51ba7d59fb8a4e59162a5926c2
BLAKE2b-256 ac2155c92e770d5335fc75c1cee21c934c214085dc56ba166289797630bb28d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b0793db15aabb5e2f0217199b9b159fe43e6f47509555c291341de2272cb1e3a
MD5 66987aadf35a02f27e673fec64912ee4
BLAKE2b-256 80f6d82d61ee0e9939d434eed5980bb00d82085f1622fdaecbb9861dff7d0d7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5ed4cfc2291d88c7b87a9879f48331dab8ae3d0abd71b08d922ccb4c2cc0b59a
MD5 d3e60fd43d09bbae1dd08ce5affad8ef
BLAKE2b-256 0231ab26868c691861a8dd3599e77068c8e57ddda9610c8c4bc69c4d8fe36e1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 275485ade17598e4f577b638088a11ea340e79ad00ea30135f3629ce3afba86d
MD5 065adab406db60d2115dd54bda13bab6
BLAKE2b-256 289cc01a0ef2f8ad063de5bc5a55f7c2541e60745eedd818194a71caa675e0c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 027e6c0b38454a8a0463aea6dd81266283f531def431396f9278eae9d3af3536
MD5 9ce3e8a99932b86e97f64a63045b9b5b
BLAKE2b-256 f29994eb9d19940efeb2d24d3902f21242031ce60aef5bb6141c05292683e8eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7c97df9069d9707fb5867c37ee1e79bc2d23b59226d7ef1748ff0643e18c23ae
MD5 5ad93d831734450be83e478a0fbf84f9
BLAKE2b-256 1b6252d0775bc7463434e33a110a3a0af8b25bfa9d37302f1b36f3157dcda1d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4ac68bfeae7c93922fa71e881f173622703bf27465fc10c116657a269829f1b7
MD5 7516c95de838396cf57bcf8d441951db
BLAKE2b-256 f935c42cdfbf6438b01d7cbc88a88b8e311d1334ba1927c7678ae60fd2d63e83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a23c8ddb5bd29a592991185a87b1f643886ac473c2c04d030d356cbb86a3838c
MD5 14fcece9141f38c43ffd8bfd1ee1bfa8
BLAKE2b-256 65f2eda1c7d1baff20baebe8c52fdeb16ca3da94c30fc73c56f10748fb7678b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bba550367393942cbe5bbc91d6508ac71ad75806898ca5a7628fef8387a1611a
MD5 d23580f873aa4d8ad6d2cfac65d995b2
BLAKE2b-256 21ec7f2c8c3d42ae11f38639081d7c1220680b1545528379e20ae72db859c926

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8b72e73c45ba9527fb42d11add888f20b5619b0587a217e0f308b218b11f5add
MD5 761d3f7f691c8d66a1f4d028e610b6dd
BLAKE2b-256 5444e9fe45acd11f5233a4467e318f2069174c5ee23486e3d6571e5f4178dac8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 910737f54ff1108b126e3fc33dd31d9e310ea752a4129771f2151ec96769c700
MD5 59af16af6985fde3de1d003c49da749b
BLAKE2b-256 02c0d59f01e8f1a7b607be24c55b0c15f84dc72bd7986d94453bc242946d0dfe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerospike-11.0.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1b7e1d24ca08ffa1431f2309f6a9e2878342b4059dfff0a5da2e126ea6410345
MD5 2d2cea99ba0812ada108eb128b549282
BLAKE2b-256 53a4c9c68866700c2cb9ee628857b0e7650f6dff17fdef75d050a39764927267

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