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.30.1.tar.gz (167.7 kB view details)

Uploaded Source

Built Distribution

fakeredis-2.30.1-py3-none-any.whl (116.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fakeredis-2.30.1.tar.gz
  • Upload date:
  • Size: 167.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.30.1.tar.gz
Algorithm Hash digest
SHA256 6489f2926e39815c9bf0fce80751635e0898e333c43a767825adf101180dbc45
MD5 23ffb9361659740bd6c8b96b8a0e7158
BLAKE2b-256 863beb1d4d0fdc138df1d8e625dfa6b500189030e6c1c265b8dd22b783b2f9ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for fakeredis-2.30.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.30.1-py3-none-any.whl.

File metadata

  • Download URL: fakeredis-2.30.1-py3-none-any.whl
  • Upload date:
  • Size: 116.2 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.30.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b594a9c20aef8b94c4d923f489210ef443e4001e62ad3cd73b9a01298dcef743
MD5 2e6ef88eb3afeb5d930636774bfab3eb
BLAKE2b-256 7ceeacc3de71b8c66029ea4567d83e9c736d79836b2d97aa2cacf1b83f96c678

See more details on using hashes here.

Provenance

The following attestation bundles were made for fakeredis-2.30.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