r3dis: Python implemented Redis server
Project description
r3dis: Python implemented Redis server
Tired of DevOps telling you not deploy Redis on your system? Stuck in python environment but still want simple data structure store to sync between you threads?
r3dis is a pure python implementation of the popular data store. it's create tcp server that support resp protocol and can be used as regular redis server.
to install, run:
pip install r3dis
to start redis server, run:
python -m r3dis
to start inside python thread:
from threading import Thread
from r3dis.server import RedisServer
server = RedisServer(("127.0.0.1", 6379))
t = Thread(target=server.serve_forever, daemon=True)
t.start()
currently supported commands:
- GET
- SET
- DEL
- HSET
- HGETALL
- KEYS
- APPEND
i want to add more in the future, you are invited to help :)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
r3dis-0.0.3.tar.gz
(3.6 kB
view hashes)
Built Distribution
r3dis-0.0.3-py3-none-any.whl
(4.3 kB
view hashes)