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/KeyDB 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.31.1.tar.gz (170.7 kB view details)

Uploaded Source

Built Distribution

fakeredis-2.31.1-py3-none-any.whl (118.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fakeredis-2.31.1.tar.gz
Algorithm Hash digest
SHA256 bba58475d6ba3846752d242921c5d3f6dc948066e0ddd054f3a448cd9a1aacad
MD5 b334a03f0e0b05e35ed4ea136170ce13
BLAKE2b-256 5465433bf2dfa3d5c72d7339bffcd3a48d3d5ce4449af51804f55aa78e17149e

See more details on using hashes here.

Provenance

The following attestation bundles were made for fakeredis-2.31.1.tar.gz:

Publisher: publish-pypi.yml on cunla/fakeredis-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

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

File hashes

Hashes for fakeredis-2.31.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c0403dedc42bb0038649f016e1a8b56b4b1c69dfb13cf11f870dc51e5c5b4df
MD5 c6690f197ce11da6b770f7fc7d2e37dc
BLAKE2b-256 b4981637792209ec01bb115b4d9c58bcf9e6bc536f6d724fdc9c541f5b12cea7

See more details on using hashes here.

Provenance

The following attestation bundles were made for fakeredis-2.31.1-py3-none-any.whl:

Publisher: publish-pypi.yml on cunla/fakeredis-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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