Skip to content

msabramo/gmemcache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gmemcache

Installation

$ pip install Cython
$ pip install gmemcache

Usage

>>> from gmemcache import MemcacheConnection
>>> client = MemcacheConnection(['127.0.0.1:11211'])
>>> client.is_connected()
True
>>> client.set_multi({'key1': 'value1', 'key2': 'value2'})
True
>>> client.get_multi(['key1', 'key2', 'key3'])
{'key1': u'value1', 'key2': u'value2'}
>>> client.close()

About

A gevent-compatible Memcached Python client with binary protocol and consistent hashing support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages