Module for working with redis
Project description
Redis plugin for aioworkers.
Features
Usage
Add this to aioworkers config.yaml:
redis:
cls: aioworkers_redis.base.Connector
prefix: app
connection:
host: localhost
port: 6379
maxsize: 20
queue:
cls: aioworkers_redis.queue.Queue
connection: .redis
format: json
key: queue
You can work with redis queue like this:
await context.queue.put({'a': 1})
d = await context.queue.get()
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
aioworkers-redis-0.8.tar.gz
(6.4 kB
view details)
Built Distribution
File details
Details for the file aioworkers-redis-0.8.tar.gz
.
File metadata
- Download URL: aioworkers-redis-0.8.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dd5b51c7d7e5af34ec10e77b3fd4442f2dd83bea3f24708e1bda5050d2fdabb |
|
MD5 | f3d7b5562d486aadcac0d9fc0eaac2c3 |
|
BLAKE2b-256 | e6d48bc68529b08c31df2e0e730e8e637767e16a017092df5a9ef48a5a5bf04e |
File details
Details for the file aioworkers_redis-0.8-py3-none-any.whl
.
File metadata
- Download URL: aioworkers_redis-0.8-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f32eb97dfbc6d1a962f42399ddd33ec11a93a248e332d7c05d985b9e95c3a78 |
|
MD5 | ca6509888069aee16e50b56c2a997f8e |
|
BLAKE2b-256 | 8da328c6cfd25c051144d785d96c7fc9793658c81c21a72a9529941a76a2c33a |