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

Uploaded Source

Built Distribution

backports.functools_lru_cache-1.6.4-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.4.tar.gz.

File metadata

  • Download URL: backports.functools_lru_cache-1.6.4.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for backports.functools_lru_cache-1.6.4.tar.gz
Algorithm Hash digest
SHA256 d5ed2169378b67d3c545e5600d363a923b09c456dab1593914935a68ad478271
MD5 8fed424f30bf9554235aa02997b7574c
BLAKE2b-256 959f122a41912932c77d5b8e6cab6bd456e6270211a3ed7248a80c235179a012

See more details on using hashes here.

File details

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

File metadata

  • Download URL: backports.functools_lru_cache-1.6.4-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.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for backports.functools_lru_cache-1.6.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dbead04b9daa817909ec64e8d2855fb78feafe0b901d4568758e3a60559d8978
MD5 1794e5b35e6abf85c7c611091fec8286
BLAKE2b-256 e5c11a48a4bb9b515480d6c666977eeca9243be9fa9e6fb5a34be0ad9627f737

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