backports.functools-lru-cache-2.0.0
توضیحات
Backport of functools.lru_cache
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | backports.functools-lru-cache-2.0.0 |
| نام | backports.functools-lru-cache |
| نسخه کتابخانه | 2.0.0 |
| نگهدارنده | ['Jason R. Coombs'] |
| ایمیل نگهدارنده | ['jaraco@jaraco.com'] |
| نویسنده | Raymond Hettinger |
| ایمیل نویسنده | raymond.hettinger@gmail.com |
| آدرس صفحه اصلی | https://github.com/jaraco/backports.functools_lru_cache |
| آدرس اینترنتی | https://pypi.org/project/backports.functools-lru-cache/ |
| مجوز | - |
.. image:: https://img.shields.io/pypi/v/backports.functools_lru_cache.svg
:target: https://pypi.org/project/backports.functools_lru_cache
.. image:: https://img.shields.io/pypi/pyversions/backports.functools_lru_cache.svg
.. image:: https://github.com/jaraco/backports.functools_lru_cache/actions/workflows/main.yml/badge.svg
:target: https://github.com/jaraco/backports.functools_lru_cache/actions?query=workflow%3A%22tests%22
:alt: tests
.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
:target: https://github.com/astral-sh/ruff
:alt: Ruff
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Code style: Black
.. image:: https://readthedocs.org/projects/backportsfunctools_lru_cache/badge/?version=latest
:target: https://backportsfunctools_lru_cache.readthedocs.io/en/latest/?badge=latest
.. image:: https://img.shields.io/badge/skeleton-2023-informational
:target: https://blog.jaraco.com/skeleton
.. image:: https://tidelift.com/badges/package/pypi/backports.functools_lru_cache
:target: https://tidelift.com/subscription/pkg/pypi-backports.functools_lru_cache?utm_source=pypi-backports.functools_lru_cache&utm_medium=readme
Backport of functools.lru_cache from Python 3.3 as published at `ActiveState
<http://code.activestate.com/recipes/578078/>`_.
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 <https://tidelift.com/subscription/pkg/pypi-backports.functools_lru_cache?utm_source=pypi-backports.functools_lru_cache&utm_medium=referral&utm_campaign=github>`_.
نیازمندی
| مقدار | نام |
|---|---|
| =3. | sphinx |
| 7.2. | sphinx |
| =9. | jaraco.packaging |
| =1. | rst.linker |
| - | furo |
| - | sphinx-lint |
| =1. | jaraco.tidelift |
| = | pytest |
| =2. | pytest-checkdocs |
| - | pytest-cov |
| =2. | pytest-enabler |
| - | pytest-ruff |
| =0.3. | pytest-black |
| =0.9. | pytest-mypy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl backports.functools-lru-cache-2.0.0:
pip install backports.functools-lru-cache-2.0.0.whl
نصب پکیج tar.gz backports.functools-lru-cache-2.0.0:
pip install backports.functools-lru-cache-2.0.0.tar.gz