All Products
Search
Document Center

Python

Last Updated: May 31, 2020

Download the client

Download address

About the client

Client versions

Environment configuration

Dependent on bmemcached (support SASL extension). For download link, see here.

Python code example

  1. #!/usr/bin/env python
  2. import bmemcached
  3. client = bmemcached.Client(('ip:port'), 'user', 'passwd') #Use instance ID as 'user'.
  4. print client.set('key', 'value11111111111')
  5. print client.get('key')