Integrate redis with a Pyramid application.
Project description
[pyramid_redis][] is one specific way of integrating [redis-py][] with a [Pyramid][] web application.
### Features
provides a redis client at request.redis
configurable per-process blocking connection pool
### Usage
To use, pip install pyramid_redis / add pyramid_redis to your requirements.txt and then [include][] the package:
config.include(‘pyramid_redis’)
### Configuration
Requires the following [INI setting / environment variable][]:
redis.url / REDIS_URL
Plus optionally looks for:
redis.db / REDIS_DB
redis.max_connections / REDIS_MAX_CONNECTIONS
[pyramid_redis]: https://github.com/thruflo/pyramid_redis [redis-py]: https://github.com/andymccurdy/redis-py [Pyramid]: http://pypi.python.org/pypi/pyramid [include]: http://docs.pylonsproject.org/projects/pyramid/en/latest/api/config.html#pyramid.config.Configurator.include [INI setting / environment variable]: http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html#adding-a-custom-setting
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 pyramid_redis-0.1.3.tar.gz
.
File metadata
- Download URL: pyramid_redis-0.1.3.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | adce2b2edf17c4e6d02e449177c2a46b8599a1b30939b15b697326c61a3c9f8c |
|
MD5 | 7cef419487869114edeba47ddfc7a5bb |
|
BLAKE2b-256 | 880e53f4eb277ea8a898904d52c87ccced73b5d9167c69e824ab8482ed828da8 |