Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.
/ simplru Public archive

A backport of Python 3 LRU Cache functionality for Python 2

License

Notifications You must be signed in to change notification settings

mostafa/simplru

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

  • To install from source code, clone the repository (you should have git installed) and then run setup.py:
$ git clone https://github.com/mostafa/simplru.git
$ cd simplru
$ python setup.py install
  • To install using a python package manager via binary package, simply run this command (in this case we've used pip, but any package manager is accepted as long as it uses PyPI):
$ 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

About

A backport of Python 3 LRU Cache functionality for Python 2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages