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 Ruff Code style: Black https://readthedocs.org/projects/backportsfunctools_lru_cache/badge/?version=latest https://img.shields.io/badge/skeleton-2023-informational 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.5.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

backports.functools_lru_cache-1.6.5-py2.py3-none-any.whl (6.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for backports.functools_lru_cache-1.6.5.tar.gz
Algorithm Hash digest
SHA256 e7efcdd8cf92279bcb09fdb9b31e984ffdc96fc9f21e22ff20538884cb99b97d
MD5 4bc3c637b0b485302a406294ec98ecb6
BLAKE2b-256 d7e92585a2b3de3b246ad90370a3a3d19b82b857784975559b44122a4cb5ceb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for backports.functools_lru_cache-1.6.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3b8f1c6537651f130706488e61f3275b010002676432e9e7638a9e0fc1b40668
MD5 5ba97a2c8498f58054d23a9b65697b63
BLAKE2b-256 225e3a1b7ee2726c5c3b50e1bbafb5f2963b9bff3279b4423428c2b8063a1600

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