Skip to main content

No project description provided

Project description

Muffin-Redis
############

.. _description:

Muffin-Redis -- Redis support for Muffin framework.

.. _badges:

.. image:: http://img.shields.io/travis/klen/muffin-redis.svg?style=flat-square
:target: http://travis-ci.org/klen/muffin-redis
:alt: Build Status

.. image:: http://img.shields.io/coveralls/klen/muffin-redis.svg?style=flat-square
:target: https://coveralls.io/r/klen/muffin-redis
:alt: Coverals

.. image:: http://img.shields.io/pypi/v/muffin-redis.svg?style=flat-square
:target: https://pypi.python.org/pypi/muffin-redis

.. image:: http://img.shields.io/pypi/dm/muffin-redis.svg?style=flat-square
:target: https://pypi.python.org/pypi/muffin-redis

.. _contents:

.. contents::

.. _requirements:

Requirements
=============

- python >= 3.3

.. _installation:

Installation
=============

**Muffin-Redis** should be installed using pip: ::

pip install muffin-redis

.. _usage:

Usage
=====

Add `muffin_redis` to `PLUGINS` in your Muffin Application configuration.

Or install it manually like this: ::

redis = muffin_redis.Plugin(**{'options': 'here'})

app = muffin.Application('test')
app.install(redis)


Appllication configuration options
----------------------------------

``REDIS_DB`` -- Number of Redis database (0)
``REDIS_HOST`` -- Connection IP address ("127.0.0.1")
``REDIS_PORT`` -- Connection port (6379)
``REDIS_PASSWORD`` -- Connection password (None)
``REDIS_POOLSIZE`` -- Connection pool size (1)
``REDIS_FAKE`` -- Use fake redis instead real one for tests proposals (False)

Queries
-------

::

@app.register
def view(request):
value = yield from app.redis.get('my_key')
return value


.. _bugtracker:

Bug tracker
===========

If you have any suggestions, bug reports or
annoyances please report them to the issue tracker
at https://github.com/klen/muffin-redis/issues

.. _contributing:

Contributing
============

Development of Muffin-Redis happens at: https://github.com/klen/muffin-redis


Contributors
=============

* klen_ (Kirill Klenov)

.. _license:

License
=======

Licensed under a `MIT license`_.

If you wish to express your appreciation for the project, you are welcome to send
a postcard to: ::

Kirill Klenov
pos. Severny 8-3
MO, Istra, 143500
Russia

.. _links:


.. _klen: https://github.com/klen

.. _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.

Files for muffin-redis, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size muffin_redis-0.1.1-py2.py3-none-any.whl (5.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size muffin-redis-0.1.1.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page