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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: backports.functools_lru_cache-1.6.2.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.2.tar.gz
Algorithm Hash digest
SHA256 cb58ddc972ab7e0530be55ab384b564706040ea9b01ab02a8e5c94c876e1f138
MD5 ea483538a7ee93c708b5bff361c51307
BLAKE2b-256 2d5263d9669f7df63a61bc1d7b5ca253eadf36fea239ed89ccafd2ccb3668a3e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: backports.functools_lru_cache-1.6.2-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 370191060436cf9854b8567711dce3139bb602dbcb31710738fd468d1361d1f4
MD5 c3756bbbc087a370fbd4007a19e8aca9
BLAKE2b-256 c470d175922e1eda30cfa5874b24ddf58e4713c2d95784d8935f34e6e06c5514

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