In order to accomplish this, you must pass a username and password with your servers on pylibmc.Client():
pylibmc.Client(servers, username, password)
(pylibmc source)
You could then initialize the cache:
>>> from cachecore import MemcachedCache
>>> c = MemcachedCache(servers, username, password)
>>> c.set("foo", "value")
>>> c.get("foo")
'value'
>>> c.get("missing") is None
True
This would allow support for multi-tenant memcached servers on platforms like Heroku.