fakeredis


Namefakeredis JSON
Version 2.31.1 PyPI version JSON
download
home_pageNone
SummaryPython implementation of redis API, can be used for testing purposes.
upload_time2025-08-31 18:49:09
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseNone
keywords redisbloom redisjson redistimeseries dragonfly redis redis-stack testing valkey
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            fakeredis: A fake version of a redis-py
=======================================

[![badge](https://img.shields.io/pypi/v/fakeredis)](https://pypi.org/project/fakeredis/)
[![CI](https://github.com/cunla/fakeredis-py/actions/workflows/test.yml/badge.svg)](https://github.com/cunla/fakeredis-py/actions/workflows/test.yml)
[![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/cunla/b756396efb895f0e34558c980f1ca0c7/raw/fakeredis-py.json)](https://github.com/cunla/fakeredis-py/actions/workflows/test.yml)
[![badge](https://img.shields.io/pypi/dm/fakeredis)](https://pypi.org/project/fakeredis/)
[![badge](https://img.shields.io/pypi/l/fakeredis)](./LICENSE)
[![Open Source Helpers](https://www.codetriage.com/cunla/fakeredis-py/badges/users.svg)](https://www.codetriage.com/cunla/fakeredis-py)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/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][redis-py] Python bindings for Redis.

It enables running tests requiring [Redis][redis]/[ValKey][valkey]/[DragonflyDB][dragonflydb]/[KeyDB][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][readthedocs] for list of supported commands.

# Sponsor

fakeredis-py is developed for free.

You can support this project by becoming a sponsor using [this link](https://github.com/sponsors/cunla).

[readthedocs]: https://fakeredis.readthedocs.io/

[redis-py]: https://github.com/redis/redis-py

[valkey]: https://github.com/valkey-io/valkey

[redis]: https://redis.io/

[dragonflydb]: https://dragonflydb.io/

[keydb]: https://docs.keydb.dev/
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "fakeredis",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "Daniel Moran <daniel@moransoftware.ca>",
    "keywords": "RedisBloom, RedisJson, RedisTimeSeries, dragonfly, redis, redis-stack, testing, valkey",
    "author": null,
    "author_email": "Daniel Moran <daniel@moransoftware.ca>, Bruce Merry <bmerry@ska.ac.za>, James Saryerwinnie <js@jamesls.com>",
    "download_url": "https://files.pythonhosted.org/packages/54/65/433bf2dfa3d5c72d7339bffcd3a48d3d5ce4449af51804f55aa78e17149e/fakeredis-2.31.1.tar.gz",
    "platform": null,
    "description": "fakeredis: A fake version of a redis-py\n=======================================\n\n[![badge](https://img.shields.io/pypi/v/fakeredis)](https://pypi.org/project/fakeredis/)\n[![CI](https://github.com/cunla/fakeredis-py/actions/workflows/test.yml/badge.svg)](https://github.com/cunla/fakeredis-py/actions/workflows/test.yml)\n[![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/cunla/b756396efb895f0e34558c980f1ca0c7/raw/fakeredis-py.json)](https://github.com/cunla/fakeredis-py/actions/workflows/test.yml)\n[![badge](https://img.shields.io/pypi/dm/fakeredis)](https://pypi.org/project/fakeredis/)\n[![badge](https://img.shields.io/pypi/l/fakeredis)](./LICENSE)\n[![Open Source Helpers](https://www.codetriage.com/cunla/fakeredis-py/badges/users.svg)](https://www.codetriage.com/cunla/fakeredis-py)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n--------------------\n\n\nDocumentation is hosted in https://fakeredis.readthedocs.io/\n\n# Intro\n\nFakeRedis is a pure-Python implementation of the Redis protocol API. It provides enhanced versions of\nthe [redis-py][redis-py] Python bindings for Redis.\n\nIt enables running tests requiring [Redis][redis]/[ValKey][valkey]/[DragonflyDB][dragonflydb]/[KeyDB][keydb] server\nwithout an actual server.\n\nIt also enables testing compatibility of different key-value datastores.\n\nThat provides the following added functionality: A built-in Redis server that is automatically installed, configured and\nmanaged when the Redis bindings are used. A single server shared by multiple programs or multiple independent servers.\nAll the servers provided by FakeRedis support all Redis functionality including advanced features such as RedisJson,\nRedisBloom, GeoCommands.\n\nSee [official documentation][readthedocs] for list of supported commands.\n\n# Sponsor\n\nfakeredis-py is developed for free.\n\nYou can support this project by becoming a sponsor using [this link](https://github.com/sponsors/cunla).\n\n[readthedocs]: https://fakeredis.readthedocs.io/\n\n[redis-py]: https://github.com/redis/redis-py\n\n[valkey]: https://github.com/valkey-io/valkey\n\n[redis]: https://redis.io/\n\n[dragonflydb]: https://dragonflydb.io/\n\n[keydb]: https://docs.keydb.dev/",
    "bugtrack_url": null,
    "license": null,
    "summary": "Python implementation of redis API, can be used for testing purposes.",
    "version": "2.31.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/cunla/fakeredis-py/issues",
        "Documentation": "https://fakeredis.moransoftware.ca/",
        "Funding": "https://github.com/sponsors/cunla",
        "Homepage": "https://github.com/cunla/fakeredis-py",
        "Repository": "https://github.com/cunla/fakeredis-py"
    },
    "split_keywords": [
        "redisbloom",
        " redisjson",
        " redistimeseries",
        " dragonfly",
        " redis",
        " redis-stack",
        " testing",
        " valkey"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b4981637792209ec01bb115b4d9c58bcf9e6bc536f6d724fdc9c541f5b12cea7",
                "md5": "c6690f197ce11da6b770f7fc7d2e37dc",
                "sha256": "1c0403dedc42bb0038649f016e1a8b56b4b1c69dfb13cf11f870dc51e5c5b4df"
            },
            "downloads": -1,
            "filename": "fakeredis-2.31.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c6690f197ce11da6b770f7fc7d2e37dc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 118329,
            "upload_time": "2025-08-31T18:49:07",
            "upload_time_iso_8601": "2025-08-31T18:49:07.829494Z",
            "url": "https://files.pythonhosted.org/packages/b4/98/1637792209ec01bb115b4d9c58bcf9e6bc536f6d724fdc9c541f5b12cea7/fakeredis-2.31.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "5465433bf2dfa3d5c72d7339bffcd3a48d3d5ce4449af51804f55aa78e17149e",
                "md5": "b334a03f0e0b05e35ed4ea136170ce13",
                "sha256": "bba58475d6ba3846752d242921c5d3f6dc948066e0ddd054f3a448cd9a1aacad"
            },
            "downloads": -1,
            "filename": "fakeredis-2.31.1.tar.gz",
            "has_sig": false,
            "md5_digest": "b334a03f0e0b05e35ed4ea136170ce13",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 170681,
            "upload_time": "2025-08-31T18:49:09",
            "upload_time_iso_8601": "2025-08-31T18:49:09.163606Z",
            "url": "https://files.pythonhosted.org/packages/54/65/433bf2dfa3d5c72d7339bffcd3a48d3d5ce4449af51804f55aa78e17149e/fakeredis-2.31.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-31 18:49:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "cunla",
    "github_project": "fakeredis-py",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "fakeredis"
}
        
Elapsed time: 1.61232s