Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Simple High-Performance WSGI Sessions

Project Description

Gimlet - Simple High-Performance WSGI Sessions

Scott Torborg - Cart Logic

Gimlet is a Python infrastructure block to provide versatile key-value ‘session’ storage for WSGI applications. The design philosophy is ‘as fast as possible with slow components’, which is to say, I/O load will be minimized, but it will work with fairly simple and mature storage backends. It provides:

  • Easy setup and configuration
  • Key-value dict-like session access
  • Multiple backend options, including redis and SQL
  • Efficient - absolute minimal I/O load
  • Optional client-side storage for a whitelist of keys

It is also:

  • 2 oz gin
  • 1/2 oz lime juice
  • 1/4 oz simple syrup
  • lime garnish


Install with pip:

$ pip install gimlet


Gimlet has extensive documentation here.


Gimlet is licensed under an MIT license. Please see the LICENSE file for more information.

Code Standards

Gimlet has a comprehensive test suite with 100% line and branch coverage, as reported by the excellent coverage module. To run the tests, simply run in the top level of the repo:

$ nosetests

There are no PEP8 or Pyflakes warnings in the codebase. To verify that:

$ pip install pep8 pyflakes
$ pep8 .
$ pyflakes .

Any pull requests must maintain the sanctity of these three pillars.

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(13.6 kB) Copy SHA256 Hash SHA256
Source Apr 8, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting