Skip to content

cunla/fakeredis-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8f53bd1 Â· Mar 17, 2025
Mar 17, 2025
Mar 17, 2025
Mar 17, 2025
Dec 25, 2024
Dec 25, 2024
Mar 10, 2025
Dec 9, 2022
Mar 17, 2025
Jan 1, 2024
Nov 30, 2022
Nov 27, 2024
Aug 15, 2023
Nov 4, 2024
Mar 17, 2025
Mar 17, 2025
Oct 17, 2024

fakeredis: A fake version of a redis-py

badge CI badge badge badge Open Source Helpers Code style: black

Documentation is hosted in https://fakeredis.readthedocs.io/

Intro

FakeRedis is a pure-Python implementation of the Redis protocol API. It provides enhanced versions of the redis-py Python bindings for Redis.

It enables running tests requiring Redis/ValKey/DragonflyDB server without an actual server.

It also enables testing compatibility of different key-value datastores.

That provides the following added functionality: A built-in Redis server that is automatically installed, configured and managed when the Redis bindings are used. A single server shared by multiple programs or multiple independent servers. All the servers provided by FakeRedis support all Redis functionality including advanced features such as RedisJson, RedisBloom, GeoCommands.

See official documentation for list of supported commands.

Sponsor

fakeredis-py is developed for free.

You can support this project by becoming a sponsor using this link.