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.

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

Uploaded Source

Built Distribution

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

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for backports.functools_lru_cache-1.6.6.tar.gz
Algorithm Hash digest
SHA256 7b70e701ba4db58c0ed8671a9d3391b0abb9bd1bc24d4e90c3480f4baafcc2dc
MD5 1a407cf2874f17522f38f85c391fc7b4
BLAKE2b-256 97eaa7519e2ea83afe9e7fd845c0279dfe7052be8f3277a259d8a35eae8ce461

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for backports.functools_lru_cache-1.6.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 77e27d0ffbb463904bdd5ef8b44363f6cd5ef503e664b3f599a3bf5843ed37cf
MD5 b94a7bd466065e21446b61d972079b81
BLAKE2b-256 08e31387bd1c9aa95e354064ee29b8a1dfd3e795b066cc869af8f8d6b70ae4aa

See more details on using hashes here.

Supported by

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