A very tiny clone of Redis for experimenting with PubSub
Python Shell
Pull request Compare This branch is 33 commits ahead of coderanger:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
miniredis
tests
.gitignore
LICENSE
README.md
benchmark_client.py
benchmark_server.py
cython.sh
setup.cfg
setup.py

README.md

miniredis

miniredis is a pure Python server that supports a subset of the redis protocol.

Why?

The original intent was to have a minimally working (if naïve) PubSub implementation in order to get to grips with the protocol spec, but I eventually realised that a more complete server would be useful for testing and inclusion in some of my projects.

Performance

Extremely dependent on Python runtime and workload, of course. Your mileage may vary.

Credits

I started out by forking coderanger/miniredis for experimentation, and things kind of accreted from there as I started implementing more commands.