A simple redis-like in pure python3, fully asyncio compliant
Project description
# redys
A simple redis-like in pure python3, fully asyncio compliant !
[on pypi/redys](https://pypi.org/project/redys/)
### features
asyncio compliant
client sync methods
very quick
classic commands : get/set/delete/keys & incr/decr
sets commands : sadd/srem
queue commands : rpush/lpush/rpop/lpop
pubsub commands : subscribe/unsubscribe/get_event & publish
cache commands : setex
ping command ;-)
exchange everything that is pickable (except None)
raise real python exception in client side
minimal code size
works well on GAE Standard (2nd generation/py37)
just in-memory !
### why ?
Redis is great, but overbloated for my needs. Redys is simple, you can start the server side in an asyncio loop, and clients can interact with a simple in-memory db. Really useful when clients are in async/threads/process(workers)/multi-hosts world, to share a unique source of truth.
### nb
Not fully/concurrency tested. Use at own risk ;-)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for redys-0.9.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 409d69e0fa4d558c17646362d17e4924ad64398c172749919980b650860bd355 |
|
MD5 | f256f3aa0b4e2cf963a061751d00d573 |
|
BLAKE2b-256 | 515995f53cf6c6602dc0978d94664d9823d856916379accbfbe881f779a5f358 |