The Aerospike Python client depends on:
- The Aerospike C client
- Python devel Package
The Aerospike Python Client works on Python 2.6., 2.7.
The following are dependencies for:
- RedHat Enterprise (RHEL) 6 or newer
- CentOS 6 or newer
- and related distributions using
yumpackage manager.
sudo yum install python-devel sudo yum install openssl-devel
The following are dependencies for:
- Debian 6 or newer
- Ubuntu 12.04 or newer
- and related distributions using
apt-getpackage manager.
sudo apt-get install python-dev sudo apt-get install libssl-dev
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
The dependencies can be installed through the OS X package manager Homebrew.
brew install openssl
Aerospike Python Client can be installed using pip:
pip install aerospike
Instructions for building Aerospike Python Client, please refer to the
BUILD.md file for details.
Documentation is hosted at pythonhosted.org/aerospike
Example applications are provided in the examples directory of the GitHub repository
Prior to running examples, be sure to install Aerospike Python Client.
For assistance with an example, provide the --help option.
To run the example, simply execute it. For examples, to run the kvs.py
example, run:
python examples/client/kvs.py
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.