No project description provided
Project description
Muffin-Redis – Redis support for Muffin framework.
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
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
Built Distribution
File details
Details for the file muffin-redis-0.1.1.tar.gz
.
File metadata
- Download URL: muffin-redis-0.1.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89db543aaf8a11c2926963f14c9279e024898228e78fe2a290d72172b9a42b55 |
|
MD5 | d284a198d8e935e58a5b33faffe44c18 |
|
BLAKE2b-256 | 6e690d2341aaa24058236905b02f03bee9a2764ac18534e359a27a79ed17ed5f |
File details
Details for the file muffin_redis-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: muffin_redis-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b47ba5dfb1f6ef3c20922541f94040fa21240e9f66a2cd868a688698016518d9 |
|
MD5 | fe3959bbc88fd22dc2f29b6daa06f892 |
|
BLAKE2b-256 | 0bc8fa123a29feddcf30b93a0938c81096008e4ea87e954b1afbef57f1ec5f2b |