fsredis
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")
world
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
Metadata
Release files for fsredis 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fsredis-0.4.tar.gz | 3.3 kB | Details |
Release files / fsredis-0.4.tar.gz
| Download URL | fsredis-0.4.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4799bc0de8823b9bae4c2e21f415e87d3ace9485c6ca4520b68143403f927e53
|
|
BLAKE2b-256 checksum How to use checksums |
6947bc520aebad9c9514f442debfb320a12d32f5d4416540e6ea010859d4fb6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |