Installation¶
Or with pip:
Requirements¶
- Python 3.11 or newer
- redis-py 5.0 or newer — the only dependency, and installed with the package
Script caching, EVALSHA and the NOSCRIPT reload are handled by redis-py's
own script machinery, which this library defers to rather than reimplementing.
Anything redis-py can talk to, this can run against: a standalone server, a
cluster, Sentinel, or an in-process fakeredis.
For testing¶
fakeredis embeds a real Lua interpreter, so your scripts execute for real without a server:
The lua extra is what brings the interpreter. See
Testing your scripts.