Aerospike Client Library for Python
Project description
Dependencies
The Python client for Aerospike works with Python 2.6, 2.7, 3.4, 3.5 running on 64-bit OS X 10.9+ and Linux.
The client depends on:
Python devel package
OpenSSL
The Aerospike C client
RedHat 6+ and CentOS 6+
The following are dependencies for:
RedHat Enterprise (RHEL) 6 or newer
CentOS 6 or newer
Related distributions which use the yum package manager
sudo yum install python-devel sudo yum install openssl-devel
Debian 6+ and Ubuntu 12.04+
The following are dependencies for:
Debian 6 or newer
Ubuntu 12.04 or newer
Related distributions which use the apt package manager
sudo apt-get install python-dev sudo apt-get install libssl-dev
OS X
By default OS X will be missing command line tools. On Mavericks (OS X 10.9) and higher those can be installed without Xcode.
xcode-select --install # install the command line tools, if missing
OpenSSL can be installed through the Homebrew OS X package manager.
brew install openssl
Install
Aerospike Python Client can be installed using pip:
pip install aerospike # to troubleshoot pip versions >= 6.0 you can pip install --no-cache-dir aerospike # to trouleshoot installation on OS X El-Capitan (10.11) pip install --no-cache-dir --user aerospike # to have pip copy the Lua system files to a dir other than /usr/local/aerospike/lua pip install aerospike --install-option="--lua-system-path=/opt/aerospike/lua"
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. Upgrading pip on OS X El-Capitan (10.11) runs into SIP issues with pip install --user <module> as the recommended workaround.
Build
For instructions on manually building the Python client, please refer to the BUILD.md file in this repo.
Documentation
Documentation is hosted at pythonhosted.org/aerospike 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 modules ‘guppy’ and ‘tabulate’ need to be installed. Benchmark applications are provided in the benchmarks directory of the GitHub repository
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
Built Distributions
Hashes for aerospike-2.1.0-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.macosx_10_11_intel.macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb84e29849b77900c21cc6d1dd16b6580d2053041ea4774f3fcda563b3fe00f7 |
|
MD5 | e8577acf094860e74db9d0636de22b33 |
|
BLAKE2b-256 | 35aad06a1572c88745efcf739bea45b0773b20c31f6db3d0c93bae9825c8b1de |
Hashes for aerospike-2.1.0-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.macosx_10_11_intel.macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1905201bea967a8d095bf67f03c970ff65d359a666cf9acb43942c22eb9aa50b |
|
MD5 | aaa12dd7aedd572584c0a9e778820724 |
|
BLAKE2b-256 | 2d508d1cbb5fe06a18c7489c42cf98d973af8a6dce8ac347368b8381c847b4c3 |
Hashes for aerospike-2.1.0-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.macosx_10_11_intel.macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b41f67a2d9d350f7e989f561fd86dcc9e574a29950a173241909911a273dc87 |
|
MD5 | 6337b3d942effc658a56c64661dbcbd6 |
|
BLAKE2b-256 | 61142eca0e412ea2ee044f9817e2e7fc53c731cf69f9fc538faa993279b497fd |
Hashes for aerospike-2.1.0-cp26-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.macosx_10_11_intel.macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b311fc1f42e8b83542209048e8b195c6e04f7e429c4700ab7b8b29f89707965 |
|
MD5 | 587b8d4abe6a85bfa404baa08f29d258 |
|
BLAKE2b-256 | 389591be22a91d6d07413c15356062e89ea46884607de217b7a7e568251092d8 |