Skip to content

Instantly share code, notes, and snippets.

View caiaffa's full-sized avatar
🏠
Working from home

Luís Felipe caiaffa

🏠
Working from home
View GitHub Profile
@caiaffa
caiaffa / cache.py
Created April 16, 2019 17:19 — forked from cloverstd/cache.py
tornado cache
# coding: utf-8
try:
import cPickle as pickle
except ImportError:
import pickle
try:
import hashlib
sha1 = hashlib.sha1