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 details)
Built Distribution
File details
Details for the file aiodiskqueue-0.1.0a1.tar.gz
.
File metadata
- Download URL: aiodiskqueue-0.1.0a1.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc5168e8d7428a697087cd08faef7cb5b4b3c4e42b447a9d2e0443d4ec933751 |
|
MD5 | c4875d8dd2ffbf46e0480983677d4b85 |
|
BLAKE2b-256 | ffa240b5df5a7b7702ebbbd75f636f434a5b57d18930755dd12d7dd9ca2af58c |
File details
Details for the file aiodiskqueue-0.1.0a1-py3-none-any.whl
.
File metadata
- Download URL: aiodiskqueue-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ed03256d6aea26d709a6a58e2ee264762184e493d2f56f44e19f455103ac1b3 |
|
MD5 | 0c349a8b47222cc331b6bde664a12b73 |
|
BLAKE2b-256 | 1085eb1f6731cac9a7799ca0e23d432cc7b5475ddf45c457a47d384e90427f24 |