py-cachify
py-cachify is a library that provides small but useful cache-based utilities.
Some parts were heavily inspired by douglasfarinelli's python-cachelock lib, which is sadly no longer maintained.
Features
- Offers distributed cache-based locks and decorators for securing function executions and storing their results in the cache
- Works well in both sync and async environments
- Fully type annotated
- Has 100% test coverage
- Has integration tests in place for the common scenarios
- Backend agnostic (you can provide your own client as long as it matches the signature)
- Supports Python from 3.8 and upward