Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

isaacm/moecache

Open more actions menu
 
 

Repository files navigation

moecache is a pure python client for memcached. Its binary protocol and shading strategy are compatible with EnyimMemcached (a C# memcached client), so that you are can read/write an EnyimMemcached-managed memcached deployment in Python.

The project is forked from memcache_client, a minimal and robust python memcached client from Mixpanel, Inc.

The API looks very similar to the other memcached clients:

import moecache

with moecache.Client([("127.0.0.1", 11211), ("127.0.0.1", 11213)],
                     timeout=1, connect_timeout=5) as mc:
    mc.set("some_key", "Some value")
    value = mc.get("some_key")
    mc.delete("another_key")

About

A memcached client with a different sharding strategy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.