Skip to content

A redis queue with asyncio implemented on top of aioredis

License

Notifications You must be signed in to change notification settings

suraj-arya/async_redis_queue

Repository files navigation

async_redis_queue

An asynchronous Redis Queue implemented using asyncio

installation

$ pip install async_redis_queue

use

import asyncio
from async_redis_queue import create_async_redis_queue, AsyncRedisQueue


async def test1():
    q = await AsyncRedisQueue.from_cls_async('<queue-name>')
    return await q.get()

async def test2():
    q = await create_async_redis_queue('<queue-name>')
    await q.put('test')

loop = asyncio.get_event_loop()
loop.run_until_complete(test())
  • Free software: MIT license

Features

  • TODO

About

A redis queue with asyncio implemented on top of aioredis

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages