Skip to main content

Backport of functools.lru_cache

Project description

https://img.shields.io/pypi/v/backports.functools_lru_cache.svg https://img.shields.io/pypi/pyversions/backports.functools_lru_cache.svg https://img.shields.io/travis/jaraco/backports.functools_lru_cache/master.svg Code style: Black https://tidelift.com/badges/package/pypi/backports.functools_lru_cache

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

Security Contact

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

backports.functools_lru_cache-1.6.0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

backports.functools_lru_cache-1.6.0-py2.py3-none-any.whl (5.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file backports.functools_lru_cache-1.6.0.tar.gz.

File metadata

  • Download URL: backports.functools_lru_cache-1.6.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

File hashes

Hashes for backports.functools_lru_cache-1.6.0.tar.gz
Algorithm Hash digest
SHA256 6bf7b39947b43e7835d889a2ce6ed4e0ddbed10aee17540c5fe56a0cd6a444ce
MD5 9ba1ae4ae892a91a0fdc57f902210961
BLAKE2b-256 daa10416d08c73dfc0316dcbeb1b269ed8d840d4a6708de07862b413e3b23567

See more details on using hashes here.

File details

Details for the file backports.functools_lru_cache-1.6.0-py2.py3-none-any.whl.

File metadata

  • Download URL: backports.functools_lru_cache-1.6.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

File hashes

Hashes for backports.functools_lru_cache-1.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7e2f901b3c149fdea05f4ef376b278f412bb97ef98a2c7bdf1df9eb4aa71ec72
MD5 5470ae2a73990ae55e97ae78ba184278
BLAKE2b-256 ee9aee3fa278a9402ece52aa02e22bf730047f5a034844f794fe5afc30aeead3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page