A memcached client with a different shading strategy
Project description
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")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
moecache-1.0.tar.gz
(7.0 kB
view details)
File details
Details for the file moecache-1.0.tar.gz
.
File metadata
- Download URL: moecache-1.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 179683cbd9341cf17cb72aec24d435008a3d5d85f36ae20a1663eb9f8a759608 |
|
MD5 | 1791c0080394f25aaa5d7cc777a173f8 |
|
BLAKE2b-256 | 19388f7488555019898a6e0d4b334cd7023e878ccf62512e76b9ad21b113cf85 |