[PR #1814] docs: add power-cache to caching section #1576

Open
opened 2025-11-06 13:19:02 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/1814
Author: @castarco
Created: 10/6/2021
Status: 🔄 Open

Base: masterHead: patch-1


📝 Commits (1)

  • 6f835a9 docs: add power-cache to caching section

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

What is this Python project?

A caching library that provides LRU & TTL caching, plus memoization decorators.

Describe features.

What's the difference between this Python project and similar ones?

Compared to functools

  • it provides async support out of the box
  • it provides ttl caching out of the box

Compared to many other caching libraries in the same niche

  • simpler approach (it does not consider object sizes, only its count)
  • simpler & more performant approach for ttl caching (using monotonic instead of datetime)
  • more correct approach (when it comes to __hash__ and __eq__ functions)
  • ability to discard emptyish/nullish values from being cached at the decorator level
  • proper type hints

--

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.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/1814 **Author:** [@castarco](https://github.com/castarco) **Created:** 10/6/2021 **Status:** 🔄 Open **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`6f835a9`](https://github.com/vinta/awesome-python/commit/6f835a94d0fbbd64f1d47f5c0030da2c98ef8aff) docs: add `power-cache` to caching section ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description ## What is this Python project? A caching library that provides LRU & TTL caching, plus memoization decorators. Describe features. ## What's the difference between this Python project and similar ones? ### Compared to `functools` - it provides async support out of the box - it provides ttl caching out of the box ### Compared to many other caching libraries in the same niche - simpler approach (it does not consider object sizes, only its count) - simpler & more performant approach for ttl caching (using `monotonic` instead of `datetime`) - more correct approach (when it comes to `__hash__` and `__eq__` functions) - ability to discard emptyish/nullish values from being cached at the decorator level - proper type hints -- Anyone who agrees with this pull request could submit an *Approve* review to it. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-06 13:19:02 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#1576