METADATA 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. Metadata-Version: 2.1
  2. Name: backports.functools-lru-cache
  3. Version: 1.6.6
  4. Summary: Backport of functools.lru_cache
  5. Home-page: https://github.com/jaraco/backports.functools_lru_cache
  6. Author: Raymond Hettinger
  7. Author-email: raymond.hettinger@gmail.com
  8. Maintainer: Jason R. Coombs
  9. Maintainer-email: jaraco@jaraco.com
  10. Classifier: Development Status :: 5 - Production/Stable
  11. Classifier: Intended Audience :: Developers
  12. Classifier: License :: OSI Approved :: MIT License
  13. Classifier: Programming Language :: Python :: 2.6
  14. Classifier: Programming Language :: Python :: 2.7
  15. Classifier: Programming Language :: Python :: 3
  16. Requires-Python: >=2.6
  17. License-File: LICENSE
  18. Provides-Extra: docs
  19. Requires-Dist: sphinx (>=3.5) ; extra == 'docs'
  20. Requires-Dist: jaraco.packaging (>=9.3) ; extra == 'docs'
  21. Requires-Dist: rst.linker (>=1.9) ; extra == 'docs'
  22. Requires-Dist: furo ; extra == 'docs'
  23. Requires-Dist: sphinx-lint ; extra == 'docs'
  24. Requires-Dist: jaraco.tidelift (>=1.4) ; extra == 'docs'
  25. Provides-Extra: testing
  26. Requires-Dist: pytest (>=6) ; extra == 'testing'
  27. Requires-Dist: pytest-checkdocs (>=2.4) ; extra == 'testing'
  28. Requires-Dist: pytest-cov ; extra == 'testing'
  29. Requires-Dist: pytest-enabler (>=2.2) ; extra == 'testing'
  30. Requires-Dist: pytest-ruff ; extra == 'testing'
  31. Requires-Dist: pytest-black (>=0.3.7) ; (platform_python_implementation != "PyPy") and extra == 'testing'
  32. Requires-Dist: pytest-mypy (>=0.9.1) ; (platform_python_implementation != "PyPy") and extra == 'testing'
  33. .. image:: https://img.shields.io/pypi/v/backports.functools_lru_cache.svg
  34. :target: https://pypi.org/project/backports.functools_lru_cache
  35. .. image:: https://img.shields.io/pypi/pyversions/backports.functools_lru_cache.svg
  36. .. image:: https://github.com/jaraco/backports.functools_lru_cache/workflows/tests/badge.svg
  37. :target: https://github.com/jaraco/backports.functools_lru_cache/actions?query=workflow%3A%22tests%22
  38. :alt: tests
  39. .. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
  40. :target: https://github.com/astral-sh/ruff
  41. :alt: Ruff
  42. .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
  43. :target: https://github.com/psf/black
  44. :alt: Code style: Black
  45. .. image:: https://readthedocs.org/projects/backportsfunctools_lru_cache/badge/?version=latest
  46. :target: https://backportsfunctools_lru_cache.readthedocs.io/en/latest/?badge=latest
  47. .. image:: https://img.shields.io/badge/skeleton-2023-informational
  48. :target: https://blog.jaraco.com/skeleton
  49. .. image:: https://tidelift.com/badges/package/pypi/backports.functools_lru_cache
  50. :target: https://tidelift.com/subscription/pkg/pypi-backports.functools_lru_cache?utm_source=pypi-backports.functools_lru_cache&utm_medium=readme
  51. Backport of functools.lru_cache from Python 3.3 as published at `ActiveState
  52. <http://code.activestate.com/recipes/578078/>`_.
  53. Usage
  54. =====
  55. Consider using this technique for importing the 'lru_cache' function::
  56. try:
  57. from functools import lru_cache
  58. except ImportError:
  59. from backports.functools_lru_cache import lru_cache
  60. For Enterprise
  61. ==============
  62. Available as part of the Tidelift Subscription.
  63. 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.
  64. `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>`_.