Persistent queues for Python AsyncIO.
Project description
Persistent queues for Python AsyncIO.
Description
This library for Python AsyncIO provides queues, which persist their content on disk. Their main advantage is that they their content will survive a normal process restart and potentially even a process crash.
Usage
Here is a basic example on how to use the queue
import asyncio
from aiodiskqueue import Queue
async def main():
q = await Queue.create("example_queue.sqlite")
await q.put("some item")
item = await q.get()
print(item)
asyncio.run(main())
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
aiodiskqueue-0.1.0a1.tar.gz
(8.7 kB
view hashes)
Built Distribution
Close
Hashes for aiodiskqueue-0.1.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ed03256d6aea26d709a6a58e2ee264762184e493d2f56f44e19f455103ac1b3 |
|
MD5 | 0c349a8b47222cc331b6bde664a12b73 |
|
BLAKE2b-256 | 1085eb1f6731cac9a7799ca0e23d432cc7b5475ddf45c457a47d384e90427f24 |