fakeredis


Namefakeredis JSON
Version 2.26.2 PyPI version JSON
download
home_pagehttps://github.com/cunla/fakeredis-py
SummaryPython implementation of redis API, can be used for testing purposes.
upload_time2024-12-17 20:10:50
maintainerDaniel Moran
docs_urlNone
authorDaniel Moran
requires_python<4.0,>=3.7
licenseBSD-3-Clause
keywords redis redisjson redisbloom tests redis-stack
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 Python bindings for Redis.

It enables running tests requiring [Redis](https://redis.io/)/[ValKey](https://github.com/valkey-io/valkey)/[DragonflyDB](https://www.dragonflydb.io/) 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](https://fakeredis.readthedocs.io/) 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).


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/cunla/fakeredis-py",
    "name": "fakeredis",
    "maintainer": "Daniel Moran",
    "docs_url": null,
    "requires_python": "<4.0,>=3.7",
    "maintainer_email": "daniel@moransoftware.ca",
    "keywords": "redis, RedisJson, RedisBloom, tests, redis-stack",
    "author": "Daniel Moran",
    "author_email": "daniel@moransoftware.ca",
    "download_url": "https://files.pythonhosted.org/packages/06/c9/078a39baa743cd6def32b7bcc33a6853e48a5334b2e59034c6734c0747a4/fakeredis-2.26.2.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 the redis-py Python bindings for Redis.\n\nIt enables running tests requiring [Redis](https://redis.io/)/[ValKey](https://github.com/valkey-io/valkey)/[DragonflyDB](https://www.dragonflydb.io/) server without 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 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.\n\n\nSee [official documentation](https://fakeredis.readthedocs.io/) 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",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "Python implementation of redis API, can be used for testing purposes.",
    "version": "2.26.2",
    "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": [
        "redis",
        " redisjson",
        " redisbloom",
        " tests",
        " redis-stack"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d88f9697564d0052a400ca23680c08c8f84066bf3282bd0cb03aa180cab6f855",
                "md5": "e5da5064f8f804c5d03f46d192cb4697",
                "sha256": "86d4129df001efc25793cb334008160fccc98425d9f94de47884a92b63988c14"
            },
            "downloads": -1,
            "filename": "fakeredis-2.26.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e5da5064f8f804c5d03f46d192cb4697",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.7",
            "size": 103477,
            "upload_time": "2024-12-17T20:10:45",
            "upload_time_iso_8601": "2024-12-17T20:10:45.180115Z",
            "url": "https://files.pythonhosted.org/packages/d8/8f/9697564d0052a400ca23680c08c8f84066bf3282bd0cb03aa180cab6f855/fakeredis-2.26.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "06c9078a39baa743cd6def32b7bcc33a6853e48a5334b2e59034c6734c0747a4",
                "md5": "54aaf2dc5ef9e0e47334fa4e5b92a471",
                "sha256": "3ee5003a314954032b96b1365290541346c9cc24aab071b52cc983bb99ecafbf"
            },
            "downloads": -1,
            "filename": "fakeredis-2.26.2.tar.gz",
            "has_sig": false,
            "md5_digest": "54aaf2dc5ef9e0e47334fa4e5b92a471",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.7",
            "size": 150563,
            "upload_time": "2024-12-17T20:10:50",
            "upload_time_iso_8601": "2024-12-17T20:10:50.468433Z",
            "url": "https://files.pythonhosted.org/packages/06/c9/078a39baa743cd6def32b7bcc33a6853e48a5334b2e59034c6734c0747a4/fakeredis-2.26.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-17 20:10:50",
    "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: 0.36740s