• This repository has been archived on 26/Feb/2020
  • Stars
    star
    264
  • Rank 155,103 (Top 4 %)
  • Language
    C++
  • Created almost 13 years ago
  • Updated almost 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Ultra fast memcache client written in highly optimized C++ with Python bindings.

ultramemcache

ultramemcache is an ultra fast Memcache client written in highly optimized C++ with Python bindings.

To install it just run Pip as usual:

$ pip install umemcache

ultramemcache provides a Client class you can use to interact with Memcache:

>>> import umemcache
>>> c = umemcache.Client('127.0.0.1:11211')
>>> c.connect()
>>> c.set('key', 'value')
'STORED'
>>> c.get('key')[0]
'value'

By design, ultramemcache limits the size of Memcache items to 1000*1000 bytes, but you can change this limitation by using the max_item_size argument when creating a Client class.