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 https://img.shields.io/travis/jaraco/backports.functools_lru_cache/master.svg 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

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

Uploaded Source

Built Distribution

backports.functools_lru_cache-1.6.1-py2.py3-none-any.whl (5.7 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: backports.functools_lru_cache-1.6.1.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

File hashes

Hashes for backports.functools_lru_cache-1.6.1.tar.gz
Algorithm Hash digest
SHA256 8fde5f188da2d593bd5bc0be98d9abc46c95bb8a9dde93429570192ee6cc2d4a
MD5 103000b21a8e683647e2ce41929f2a9d
BLAKE2b-256 ad2eaa84668861c3de458c5bcbfb9813f0e26434e2232d3e294469e96efac884

See more details on using hashes here.

File details

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

File metadata

  • Download URL: backports.functools_lru_cache-1.6.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

File hashes

Hashes for backports.functools_lru_cache-1.6.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0bada4c2f8a43d533e4ecb7a12214d9420e66eb206d54bf2d682581ca4b80848
MD5 b58e560e8df82dc01a9fa96754d78841
BLAKE2b-256 dad1080d2bb13773803648281a49e3918f65b31b7beebf009887a529357fd44a

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