Skip to main content

fsredis: in-process redis api, persisting to file system.

Project description

fsredis is a Python module offering limited parts of the Python redis API, and persisting to the filesystem.

To get started:

pip install fsredis

and then on the interactive python prompt:

>>> from fsredis import FSRedis
>>> redis = FSRedis(datadir)
>>> redis.set("hello", "world")
>>> redis.get("hello")

hopefully you have completion and can check for more operations :)

There is some support for:

  • key/val: get/set/del
  • hashsets: hget/hset/hgetall/hexists/hmset
  • sets: sadd/smembers/srem

These operations are tested both with the original Redis API and the FSRedis api on Python26, python26 and Python33.

I welcome pull requests to fix things or add operations if they are tested.

copyright: Holger Krekel 2013, License: MIT

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fsredis, version 0.4
Filename, size & hash File type Python version Upload date
fsredis-0.4.tar.gz (3.3 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page