UNKNOWN
Project description
Muffin-Memcached – A simple memcached plugin for muffin framework.
Requirements
python >= 3.4
muffin >= 0.5.5
Installation
Muffin-Memcached should be installed using pip:
pip install muffin-memcached
Usage
Add Muffin-Memcached to muffin plugin list:
import muffin
app = muffin.Application(
'example',
PLUGINS=(
'muffin_memcached',
)
)
And use memcached plugin:
@app.register('/cached')
class Example(muffin.Handler):
@asyncio.coroutine
def get(self, request):
value = yield from app.ps.memcached.get(b'foo')
return value.decode()
Bug tracker
If you have any suggestions, bug reports or annoyances please report them to the issue tracker at https://github.com/drgarcia1986/muffin-memcached/issues
Contributing
Development of Muffin-Memcached happens at: https://github.com/drgarcia1986/muffin-memcached
Contributors
drgarcia1986 (Diego Garcia)
License
Licensed under a MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file muffin-memcached-0.0.1.tar.gz
.
File metadata
- Download URL: muffin-memcached-0.0.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac21682aad2f339ab982ce9448faa9c8f40c950b8683802913eb2109eaaa15bc |
|
MD5 | 1c8fbe12cefa8092ac887f24f3a1cd11 |
|
BLAKE2b-256 | 9a24bc8f9ebbf41aed2faf0f4cd1269b8ee1f03d7d3806d45fae756bbfd4c936 |