Skip to content

Instantly share code, notes, and snippets.

View akhundMurad's full-sized avatar
🦍

Murad Akhundov akhundMurad

🦍
View GitHub Profile
@akhundMurad
akhundMurad / fncache.py
Created June 8, 2021 07:10 — forked from abulka/fncache.py
Redis-backed LRU cache decorator in Python.
#!/usr/bin/env python
__author__ = 'Kevin Warrick'
__email__ = 'kwarrick@uga.edu, abulka@gmail.com'
__version__ = '1.6.3'
import pickle
from collections import namedtuple
from functools import wraps
from icecream import ic