UNKNOWN
Project description
Muffin-Memcached
############
.. _description:
Muffin-Memcached -- A simple memcached plugin for muffin_ framework.
.. _badges:
.. image:: http://img.shields.io/travis/drgarcia1986/muffin-memcached.svg?style=flat-square
:target: http://travis-ci.org/drgarcia1986/muffin-memcached
:alt: Build Status
.. _requirements:
Requirements
=============
- python >= 3.4
- muffin >= 0.5.5
.. _installation:
Installation
=============
**Muffin-Memcached** should be installed using pip: ::
pip install muffin-memcached
.. _usage:
Usage
=====
Add *muffin-memcached* to muffin plugin list:
.. code-block:: python
import muffin
app = muffin.Application(
'example',
PLUGINS=(
'muffin_memcached',
)
)
And use *memcached* plugin:
.. code-block:: python
@app.register('/cached')
class Example(muffin.Handler):
@asyncio.coroutine
def get(self, request):
return (yield from app.ps.memcached.get('foo'))
.. _options:
Options
-------
========================== ==============================================================
*MEMCACHED_HOST* Host of memcached server (``127.0.0.1``)
*MEMCACHED_PORT* Port of memcached server (``11211``)
*MEMCACHED_POOLSIZE* Size of connection pool (``1``)
========================== ==============================================================
.. _bugtracker:
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:
Contributing
============
Development of Muffin-Memcached happens at: https://github.com/drgarcia1986/muffin-memcached
Contributors
=============
* drgarcia1986_ (Diego Garcia)
.. _license:
License
=======
Licensed under a `MIT license`_.
.. _links:
.. _muffin: https://github.com/klen/muffin
.. _drgarcia1986: https://github.com/drgarcia1986
.. _MIT license: http://opensource.org/licenses/MIT
############
.. _description:
Muffin-Memcached -- A simple memcached plugin for muffin_ framework.
.. _badges:
.. image:: http://img.shields.io/travis/drgarcia1986/muffin-memcached.svg?style=flat-square
:target: http://travis-ci.org/drgarcia1986/muffin-memcached
:alt: Build Status
.. _requirements:
Requirements
=============
- python >= 3.4
- muffin >= 0.5.5
.. _installation:
Installation
=============
**Muffin-Memcached** should be installed using pip: ::
pip install muffin-memcached
.. _usage:
Usage
=====
Add *muffin-memcached* to muffin plugin list:
.. code-block:: python
import muffin
app = muffin.Application(
'example',
PLUGINS=(
'muffin_memcached',
)
)
And use *memcached* plugin:
.. code-block:: python
@app.register('/cached')
class Example(muffin.Handler):
@asyncio.coroutine
def get(self, request):
return (yield from app.ps.memcached.get('foo'))
.. _options:
Options
-------
========================== ==============================================================
*MEMCACHED_HOST* Host of memcached server (``127.0.0.1``)
*MEMCACHED_PORT* Port of memcached server (``11211``)
*MEMCACHED_POOLSIZE* Size of connection pool (``1``)
========================== ==============================================================
.. _bugtracker:
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:
Contributing
============
Development of Muffin-Memcached happens at: https://github.com/drgarcia1986/muffin-memcached
Contributors
=============
* drgarcia1986_ (Diego Garcia)
.. _license:
License
=======
Licensed under a `MIT license`_.
.. _links:
.. _muffin: https://github.com/klen/muffin
.. _drgarcia1986: https://github.com/drgarcia1986
.. _MIT license: http://opensource.org/licenses/MIT
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.2.tar.gz
.
File metadata
- Download URL: muffin-memcached-0.0.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01b57fb6603b9ec13db36bd1c4af07a8825b239851168ecbef0f3ebcc5e310fd |
|
MD5 | bc10595e7c0650efa81da627a46046a5 |
|
BLAKE2b-256 | 32637328e6fc8b4547018a07f6bf330f7239759433dcabcfafd94074fdd9139b |