Skip to main content

Python implementation of redis API, can be used for testing purposes.

Project description

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.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fakeredis-2.26.2.tar.gz (150.6 kB view details)

Uploaded Source

Built Distribution

fakeredis-2.26.2-py3-none-any.whl (103.5 kB view details)

Uploaded Python 3

File details

Details for the file fakeredis-2.26.2.tar.gz.

File metadata

  • Download URL: fakeredis-2.26.2.tar.gz
  • Upload date:
  • Size: 150.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.8

File hashes

Hashes for fakeredis-2.26.2.tar.gz
Algorithm Hash digest
SHA256 3ee5003a314954032b96b1365290541346c9cc24aab071b52cc983bb99ecafbf
MD5 54aaf2dc5ef9e0e47334fa4e5b92a471
BLAKE2b-256 06c9078a39baa743cd6def32b7bcc33a6853e48a5334b2e59034c6734c0747a4

See more details on using hashes here.

File details

Details for the file fakeredis-2.26.2-py3-none-any.whl.

File metadata

  • Download URL: fakeredis-2.26.2-py3-none-any.whl
  • Upload date:
  • Size: 103.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.8

File hashes

Hashes for fakeredis-2.26.2-py3-none-any.whl
Algorithm Hash digest
SHA256 86d4129df001efc25793cb334008160fccc98425d9f94de47884a92b63988c14
MD5 e5da5064f8f804c5d03f46d192cb4697
BLAKE2b-256 d88f9697564d0052a400ca23680c08c8f84066bf3282bd0cb03aa180cab6f855

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page