Skip to content

thruflo/pyramid_redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 one of the the following INI setting / environment variable:

  • redis.url / REDIS_URL
  • redis.unix_socket_path / REDIS_SOCKET

Plus optionally looks for:

  • redis.db / REDIS_DB
  • redis.max_connections / REDIS_MAX_CONNECTIONS (only, if configured with URL)

About

Integrate Redis with a Pyramid web application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages