Skip to main content

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

pyramid_redis-0.1.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file pyramid_redis-0.1.tar.gz.

File metadata

  • Download URL: pyramid_redis-0.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyramid_redis-0.1.tar.gz
Algorithm Hash digest
SHA256 354268d6aa88695c4cf34b5c7dbff7d57a5c7e88f2b4095f08523239140d9150
MD5 31da5a15740c58e9ffdc776148ba4c7c
BLAKE2b-256 840693b1d4bf70436bfe6cb7854a2cfa93d34b88d8047e96a5cf4d2e4f3286b7

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