Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/esnme/ultramemcache
Ultra fast memcache client written in highly optimized C++ with Python bindings.
https://github.com/esnme/ultramemcache
c-plus-plus memcached python
Last synced: about 2 months ago
JSON representation
Ultra fast memcache client written in highly optimized C++ with Python bindings.
- Host: GitHub
- URL: https://github.com/esnme/ultramemcache
- Owner: esnme
- Archived: true
- Created: 2011-12-19T08:51:24.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2017-02-23T00:44:09.000Z (over 7 years ago)
- Last Synced: 2024-06-19T06:48:42.213Z (3 months ago)
- Topics: c-plus-plus, memcached, python
- Language: C++
- Homepage:
- Size: 104 KB
- Stars: 262
- Watchers: 39
- Forks: 53
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
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.