Skip to main content

[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)

[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

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.4.tar.gz (5.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pyramid_redis-0.1.4.tar.gz
Algorithm Hash digest
SHA256 3dddf21a24c346e8f1176baf3154f8447780fdadfe405c7e660fd029d330fff5
MD5 5b66e75761b27f2ad9afb5c90a8dea16
BLAKE2b-256 a94659970340d22d6b84e4f0d4c1476d6ac0f0238a80b12e9437f246eea2bc4d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page