Client download
Environment configuration
The bmemcached dependency that supports Simple Authentication and Security Layer (SASL) must be installed. To download bmemcached, click Python memcached.
Sample Python code
#!/usr/bin/env python
import bmemcached
client = bmemcached.Client(('ip:port'), 'user', 'passwd') #The user parameter specifies the instance ID.
print client.set('key', 'value11111111111')
print client.get('key')