Clone memcache data to othor memcahe .
Project description
clone memcache data to other memcache
Usage Example:
from memcache_clone import memcache
s = memcache('127.0.0.1',11211)
s.con()
#set(key,value,len,flags,express)
s.set("key","value",5,0,0)
#get(key) return list : list[value,value_len,flags]
s.get("key")[0]
#clone
s.clone('127.0.0.1',11212)
Usage Example:
from memcache_clone import memcache
s = memcache('127.0.0.1',11211)
s.con()
#set(key,value,len,flags,express)
s.set("key","value",5,0,0)
#get(key) return list : list[value,value_len,flags]
s.get("key")[0]
#clone
s.clone('127.0.0.1',11212)
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
memcache_clone-1.0.3.tar.gz
(2.4 kB
view hashes)