{"library":"backports-functools-lru-cache","type":"library","category":null,"description":"This library provides a backport of the `functools.lru_cache` decorator, originally introduced in Python 3.2, primarily for use in older Python environments (e.g., Python 2.7, 3.2-3.5). For Python versions 3.8 and newer, it acts as a no-op, internally importing the built-in `functools.lru_cache` for compatibility. The current version is 2.0.0, released in December 2023, with updates occurring on an as-needed basis rather than a fixed cadence.","language":"python","status":"active","version":"2.0.0","tags":["cache","backport","functools","lru-cache","performance"],"last_verified":"Thu May 21","install":[{"cmd":"pip install backports-functools-lru-cache","imports":["try:\n    from functools import lru_cache\nexcept ImportError:\n    from backports.functools_lru_cache import lru_cache"]}],"homepage":null,"github":"https://github.com/jaraco/backports.functools_lru_cache","docs":null,"changelog":null,"pypi":"https://pypi.org/project/backports-functools-lru-cache/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":1.5,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/backports-functools-lru-cache/compatibility"}}