Comparison
fakeredis vs mockredispy vs redislite
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python implementation of redis API, can be used for testing purposes.
Actively maintained. Last release 8 days ago, commits in 24 of the last 26 weeks. A safe choice.
$
pip install fakeredisMock for redis-py
Likely abandoned. No release or commit for years (last release over 10 years ago).
$
pip install mockredispyRedis built into a python package
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install redisliteIn short
- mockredispy looks abandoned: avoid it for new projects.
- redislite is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- fakeredis is the most used: 45.3M downloads a month, 103× more than redislite.
- fakeredis also has the best Pythie’s Index (86).
- fakeredis is growing fastest: downloads +11% over the last month.
- Safe default for a new project: fakeredis.
Side by side
| Metric | fakeredis | mockredispy | redislite |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 86 | 22 |