Skip to main content

A lightweight 20-lines redis client

Project description

Lightweight redis client in python

Inspired by https://github.com/stulentsev/miniredis-ruby

Usage:

import miniredis

cli = miniredis.MiniRedis() # host/port can be set here

cli.set(‘a’, 1) cli.get(‘a’)

cli.sadd(‘b’, 1, 2, 3) cli.smembers(‘b’)

Project details


Release history Release notifications | RSS feed

This version

0.1

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page