Backport of functools.lru_cache
Project description
Backport of functools.lru_cache from Python 3.3 as published at ActiveState.
Usage
Consider using this technique for importing the ‘lru_cache’ function:
try: from functools import lru_cache except ImportError: from backports.functools_lru_cache import lru_cache
For Enterprise
Available as part of the Tidelift Subscription.
This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file backports.functools_lru_cache-2.0.0.tar.gz
.
File metadata
- Download URL: backports.functools_lru_cache-2.0.0.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcbfa5e0dae8a014168807c9e026d33eead71df5af76c1fb78fd248bf07f6f99 |
|
MD5 | 6865f5fb15673829b11207dfca4ceee6 |
|
BLAKE2b-256 | c0dca1962ae19f83d2a92b8ac76ad2dfdeccf2748464f1560a51d343b9e2609a |
File details
Details for the file backports.functools_lru_cache-2.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: backports.functools_lru_cache-2.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a754323a46847735a112677fb8807b45f6d824d02a5795a50905218ac56a0d6 |
|
MD5 | b0be5532a80eeda81bceffd50ba79408 |
|
BLAKE2b-256 | c6c64761a2ccb03d650ca803b11a7cdd69ff0696926d3fea218c8ca22c808448 |