Skip to main content

No project description provided

Project description

Muffin-Redis – Redis support for Muffin framework.

Build Status Coverals http://img.shields.io/pypi/v/muffin-redis.svg?style=flat-square http://img.shields.io/pypi/dm/muffin-redis.svg?style=flat-square

Requirements

  • python >= 3.3

Installation

Muffin-Redis should be installed using pip:

pip install muffin-redis

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

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

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

Contributors

  • klen (Kirill Klenov)

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

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

muffin-redis-0.2.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

muffin_redis-0.2.1-py2.py3-none-any.whl (5.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file muffin-redis-0.2.1.tar.gz.

File metadata

File hashes

Hashes for muffin-redis-0.2.1.tar.gz
Algorithm Hash digest
SHA256 123e42e74eb7230ff62b2e90fc4d4a9009a04ba4df0ae465147776163bc359f7
MD5 14a19e7c6ca5d4e4fc3dc16a5ff5757f
BLAKE2b-256 1d80e2e01549255bd3f64a084fcc3c5986e7a0eec208d2b8a0e848f486e7153a

See more details on using hashes here.

File details

Details for the file muffin_redis-0.2.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for muffin_redis-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 067c345d41dd0e1229e5fbb1dc52a00d9e7a7ff24bdfd4e4fa0f9793d4b9a7ff
MD5 a2902cbcf7ecbbfd6cb01cfc01dfb1e4
BLAKE2b-256 91355b920c8464261afccae6453dcf7b6a65cdf5f4352b9c44838c262751d8f8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page