mirror of
https://github.com/vinta/awesome-python.git
synced 2026-07-17 03:25:21 -05:00
[PR #1955] [CLOSED] Add cachetools #15321
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/1955
Author: @genularity
Created: 2/23/2022
Status: ❌ Closed
Base:
master← Head:add-cachetools📝 Commits (1)
7197e87Add cachetools📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)📄 Description
cachetools
The cachetools module provides various memoizing collections and decorators, including variants of the Python Standard Library’s @lru_cache function decorator.
For the purpose of this module, a cache is a mutable mapping of a fixed maximum size. When the cache is full, i.e. by adding another item the cache would exceed its maximum size, the cache must choose which item(s) to discard based on a suitable cache algorithm.
This module provides multiple cache classes based on different cache algorithms, as well as decorators for easily memoizing function and method calls.
What's the difference between this Python project and similar ones?
This module provides many useful variants and extensions of the Python Standard Library’s [@lru_cache (http://docs.python.org/3/library/functools.html#functools.lru_cache) function decorator.
--
Anyone who agrees with this pull request could submit an Approve review to it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.