All Products
Search
Document Center

ApsaraDB for Memcache:Python

最終更新日:Aug 08, 2023

Download the client

Download address

About the client

Client versions

Environment configuration

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

Python code example

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