Skip to content

Instantly share code, notes, and snippets.

😅
what's up?

Mendelson Gusmão mendelgusmao

😅
what's up?
Block or report user

Report or block mendelgusmao

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mendelgusmao
mendelgusmao / redis_sessions.py
Created Jul 6, 2012 — forked from junkafarian/redis_sessions.py
Redis session management using a dictionary-like API for session objects
View redis_sessions.py
import redis
from zope.interface import Interface, implements
try: #pragma NO COVERAGE
import simplejson as json
except ImportError: #pragma NO COVERAGE
import json
class RedisSession(dict):
""" Provides a lazy interface for presenting data stored in a redis DB as a
You can’t perform that action at this time.