mongodict
mongodict copied to clipboard
Provide a memcached-like API
Should provide a memcached-like API, with methods like:
-
MongoDict.set(key, value) -
MongoDict.get(key, default=None) -
MongoDict.delete(key) -
MongoDict.incr(key, increment=1) -
MongoDict.decr(key, decrement=1) - and so on...
These API references can help when implementing a compatibility layer:
- http://sendapatch.se/projects/pylibmc/reference.html
- https://developers.google.com/appengine/docs/python/memcache/clientclass