redis-async
A simple redis async wrapper for python3
NOTE:
Not all redis command are covered yet. Please use it after release 0.1.0.
Setup & Install
Via pip
pip install redis_async
From source
python setup.py build && python setup.py install
Example
from redis_async import RedisHash, Redis
# Initialize redis store
Redis.initialize(url='redis://redis:port', prefix='application')
class Store:
# actual redis key will be like: "application:user:1"
User = RedisHash(tpl="user:{id}")
def process_user(id):
# preprocess code ...
user = Store.User.hgetall(id)
# process user block
# ...
async def process_user_async(id):
# preprocess code ...
user = await Store.User.hgetallAsync(id)
# process user block
# ...
Metadata
Release files for redis-async 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| redis_async-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for redis_async-0.0.1-py3-none-any.whl |
Release files / redis_async-0.0.1-py3-none-any.whl
| Download URL | redis_async-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ce565a930f3b1d1c86a9ac0e6c44cd4bf53a9008eb37d910d6f0aed15979457
|
|
BLAKE2b-256 checksum How to use checksums |
2f8c43e2a870e8fd85ca836be828f396641f4a2b8528b33d51fac720de9ca382
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Security for redis-async 0.0.1
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.