The fastest memoizing and caching Python library written in Rust
Actively maintained. Last release 11 days ago, commits in 22 of the last 26 weeks. A safe choice.
pip install cachebox[!WARNING]
The new version v6 has incompatibilities with v5. For more info see Migration Guide.
What does it do?
You can easily perform powerful caching operations in Python as fast as possible. This can make your application a lot faster and it can be a good choice in complex applications. Ideal for optimizing large-scale applications with efficient, low-overhead caching.
Key Features:
- 🚀 Extremely fast (10-50x faster than other caching libraries - benchmarks)
- 📊 Minimal memory footprint
- 🔥 Full-featured and user-friendly
- 🧶 Completely thread-safe
- 🔧 Tested and correct
- [R] written in Rust for maximum performance
- 🤝 Compatible with Python 3.10+ (PyPy and CPython)
- 📦 Supports 7 advanced caching algorithms