Home

Awesome

Simplru

FOSSA Status

A backport of Python 3 LRU Cache functionality for Python 2

Installation

To install simplru, you can use setuptools (install from source) or another python package manager (e.g. pip or easy_install).

$ git clone https://github.com/mostafa/simplru.git
$ cd simplru
$ python setup.py install
$ pip install simplru

Edit mode installation

$ cd path/to/project
$ pip install -e .

Tests

You can find an tests in tests directory.

Examples

Refer to Python 3 documentation for examples of LRU cache usage.

License

FOSSA Status