Skip to main content

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

Project description

fakeredis: A python implementation of Redis Protocol API

badge CI badge badge badge Open Source Helpers

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/valkey-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.35.0.tar.gz (189.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fakeredis-2.35.0-py3-none-any.whl (129.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fakeredis-2.35.0.tar.gz
Algorithm Hash digest
SHA256 5d1a0192c2c559e55b2d05328d86282ddd2079c1712a91e6d1b3010e0dd45ca6
MD5 f81ba4d89bec98c97712285e548e7568
BLAKE2b-256 26b9c40b92cd49155a8ebbdc983cb50c02fc1c87d3a53f19aa420aefb96b00a3

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for fakeredis-2.35.0-py3-none-any.whl
Algorithm Hash digest
SHA256 565d337a5492e8c19be33a89e7acc078374741c65cb6d4413bd8818346b8c252
MD5 bb9dec826701f69f3f246936cea56e50
BLAKE2b-256 0d4383508ccf8177a840aec118bf4d20b0c25ddca6ccecd13f1f89caabcb1a45

See more details on using hashes here.

Provenance

The following attestation bundles were made for fakeredis-2.35.0-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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page