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 tests Code style: Black https://readthedocs.org/projects/backportsfunctools_lru_cache/badge/?version=latest 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

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.

Learn more.

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.3.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

backports.functools_lru_cache-1.6.3-py2.py3-none-any.whl (5.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: backports.functools_lru_cache-1.6.3.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for backports.functools_lru_cache-1.6.3.tar.gz
Algorithm Hash digest
SHA256 d84e126e2a29e4fde8931ff8131240bbf30a0e7dbcc3897a8dbd8ea5ac11419c
MD5 91c2fb341f20dd47dded1163630b3eb3
BLAKE2b-256 38bc4f015f2aee8bf92eefc1f8c7fd736c711f30c91966d7bb92d00e463a54bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: backports.functools_lru_cache-1.6.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for backports.functools_lru_cache-1.6.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dfec6b43aa1a17dc9b3c6639738a4e48c5ac7555d897d376317ea4bcc32da54a
MD5 3dbb643d540efc9180f5584859626d83
BLAKE2b-256 bd08e5e52f830a63879c92f0067c633c05b856b37b45b23e5cd79e5bc8087836

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