BSD Ports

databases/py-fakeredis 2.36.2 MidnightBSD

Fake version of databases/py-redis for unit testing

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
b807d69740
License
bsd3, mit
Categories
databases, python

Description

fakeredis is a pure Python implementation of the redis-py python client that simulates talking to a redis server. This was created for a single purpose: to write unittests. Setting up redis is not hard, but many times you want to write unittests that do not talk to an external server (such as redis). This module now allows tests to simply use this module as a reasonable substitute for redis.

In the other systems

SystemPortVersion
MidnightBSDdatabases/py-fakeredis2.36.2
FreeBSDdatabases/py-fakeredis2.38.0
DragonFlydatabases/py-fakeredis2.27.0
HardenedBSDdatabases/py-fakeredis2.38.0
GhostBSDdatabases/py-fakeredis2.38.0

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}fakeredis

From mports:

cd /usr/mports/databases/py-fakeredis && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fakeredis>0:databases/py-fakeredis

Dependencies

As this port's Makefile names them.

Build 1

Runtime 2

Test 5

Build dependencies 1
Run dependencies 2

No port depends on this one.

Configuration

Options name: databases_fakeredis

OptionDefaultDescription
JSONoff
LUAoffLua support
PROBABILISTICoffProbabilistic data structure support
VALKEYoffValkey support
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
fakeredis-2.36.2.tar.gz213336c37a0b307fae3f27ec7c19e59519e57b8c52782e00303df9075361b5ba441be6
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
b807d69740 Lucas Holt Add LangChain AI ports and dependencies
AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>