Skip to main content

Pyramid web framework session factory backed by Redis

Project description

Overview

pyramid_redis_sessions is a server-side session library for the Pyramid Web Application Development Framework, using Redis for storage. This library implements the Pyramid ISession interface.

Why Use Redis for Your Sessions

Redis is fast, widely deployed, and stable. It works best when your data can fit in memory, but is configurable and still quite fast when you need to sync to disk. There are plenty of existing benchmarks, opinion pieces, and articles if you want to learn about its use cases. But for pyramid_redis_sessions, I’m interested in it specifically for these reasons:

  • it really is bleeping fast (choose your own expletive)

  • it has a very handy built-in mechanism for setting expirations on keys

  • the watch mechanism is a nice, lightweight alternative to full transactions

  • session data tends to be important but not mission critical, but if it is…

  • it has configurable persistence

Documentation

To get up and running as fast as possible, check out the Getting Started guide.

You can also read the full documentation on Read the Docs.

Support

You can report bugs or open feature/support requests in the GitHub issue tracker.

You can also get live help in #pyramid on irc.freenode.org. My nick is erasmas, but if I’m not available you can still typically get support from the many other knowledgeable regulars.

License

pyramid_redis_sessions is available under a FreeBSD-derived license. See LICENSE.txt for details.

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_sessions-1.0a1.tar.gz (14.3 kB view details)

Uploaded Source

File details

Details for the file pyramid_redis_sessions-1.0a1.tar.gz.

File metadata

File hashes

Hashes for pyramid_redis_sessions-1.0a1.tar.gz
Algorithm Hash digest
SHA256 49a59eff0a8b744dcae5c600f3506e805a7a9ab75f34d195f295faec623d1ac9
MD5 98ff79948b87c55ed9b87cad1601a2f6
BLAKE2b-256 9f6d58d372fbccc96b4cec8df3fa6abf425f70de06b62c8415b99b56cb32bb4d

See more details on using hashes here.

Provenance

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