This project has been archived by its maintainers, and is no longer receiving any updates.
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:
- CONFIG SET
- CONFIG GET
- ACL HELP ~
- ACL GENPASS
- ACL CAT
- ACL DELUSER
- ACL SETUSER
- ACL GETUSER
- LPUSH
- CLIENT LIST
- CLIENT ID
- CLIENT SETNAME
- CLIENT GETNAME
- CLIENT KILL
- CLIENT PAUSE
- CLIENT UNPAUSE
- CLIENT REPLY
- INFO
- AUTH
- FLUSHDB
- SELECT
- PING
- QUIT
- DBSIZE
- ECHO
- GET
- SET
- DEL
- HSET
- HGETALL
- KEYS
- APPEND
in the future:
- more commands
- support for multiple client using asyncio loop instead of thread per client
you are invited to help :)
Metadata
Release files for r3dis 0.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 | Provenance | |
|---|---|---|---|---|
| r3dis-0.0.4.tar.gz | 6.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| r3dis-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.0 kB
Release files / r3dis-0.0.4.tar.gz
| Download URL | r3dis-0.0.4.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
191708d45dba8f9e27321e63523e4f0ddd6aea1223c0bfc0cb10938db9f0b8e2
|
|
BLAKE2b-256 checksum How to use checksums |
d10543b06e27ea857a72f9af43e46feeb9b7822042840b29df2db2bc1c90abce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.11.1 Windows/10
|
Release files / r3dis-0.0.4-py3-none-any.whl
| Download URL | r3dis-0.0.4-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
18efd497cbd76d3e61cb1150b30072ba0777ed444cb731db9b29f7d129efbc8f
|
|
BLAKE2b-256 checksum How to use checksums |
1fa5fb139e7cb18f22db2d5d390570d5c15d3370fc515b556c81fc7496353b32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.11.1 Windows/10
|
Security for r3dis 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.