Comparison
cachebox vs cachetools vs circular-dict vs lru-dict
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The fastest memoizing and caching Python library written in Rust
Actively maintained. Last release 12 days ago, commits in 20 of the last 26 weeks. A safe choice.
pip install cacheboxExtensible memoizing collections and decorators
Actively maintained. Last release today, commits in 16 of the last 26 weeks. A safe choice.
pip install cachetoolsCircularDict is a high-performance Python data structure that blends the functionality of dictionaries and circular buffers. Inheriting the usage of traditional dictionaries, it allows you to define constraints on size and memory usage. This way, the CircularDict will be always up-to-date with the last N added elements, ensuring that neither the maximum length nor the memory usage limit is exceeded. It is ideal for caching large data structures while maintaining control over memory footprint.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install circular-dictAn Dict like LRU container.
Low maintenance activity. Last release 13 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install lru-dictIn short
- circular-dict is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- cachetools is the most used: 292.3M downloads a month, 19× more than cachebox.
- Maintenance is comparable: cachebox 90, cachetools 88, lru-dict 28 on Pythie’s Index.
- cachebox is growing fastest: downloads +20% over the last month.
- Safe default for a new project: cachetools.
Side by side
| Metric | cachebox | cachetools | circular-dict | lru-dict |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 90 | Pythie’s Index: 88 | Pythie’s Index: 18 | Pythie’s Index: 28 |
| Verdict | Actively maintained | Actively maintained | Slowing down | Low maintenance activity |
| Downloads / month | 15.2M | 292.3M | 1.9M | 5M |
| Downloads, month over month | +20% | +13% | +20% | -18% |
| GitHub stars | 437 | 2.8K | 9 | 284 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 15 | 0 | 1 | 112 |
| Last release | Nov 19, 2026 | Dec 1, 2026 | May 12, 2024 | Nov 2, 2025 |
| Releases, 12 months | 19 | 41 | 0 | 0 |
| Weeks with commits | 20 / 26 | 16 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 3 | 11 | 1 | 13 |
| First release | Feb 2024 | Mar 2014 | Jun 2023 | Jun 2013 |
| Python versions | 3.10 – 3.15 | 3.11 – 3.15 | 3.6 – 3.10 | 3.9 – 3.14 |
| License | MIT | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.