Python queue
Project description
📦 QUEUE
USAGE
Installation
pip install queus
Usage example
import asyncio
from Queue.functions import Queue
from Queue.functions import Queues
async def runtask():
print("Processing....")
await asyncio.sleep(10)
async def main():
await Queue.add("task01")
await Queue.add("task02")
await Queue.queue("task01", maximum=1)
await runtask()
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
queus-0.0.2b11.tar.gz
(3.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file queus-0.0.2b11.tar.gz.
File metadata
- Download URL: queus-0.0.2b11.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e26b210d66016215a2f7ec9810e8016a6f7b42f1b60192fdec7cafda7031a0ec
|
|
| MD5 |
48bbc052f77e7b434c4ca26248a62082
|
|
| BLAKE2b-256 |
c77720ee74a7b8b6295cd818f4dff5bd5c83565eabc3925e482a91f5622319d3
|
File details
Details for the file queus-0.0.2b11-py3-none-any.whl.
File metadata
- Download URL: queus-0.0.2b11-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e35b03b396976993b47c3424dfa32dbf0e509bdeff4a485613d776632bec4f7f
|
|
| MD5 |
802cfbc932596862547aaaa0d52b5a80
|
|
| BLAKE2b-256 |
47562ac1b189d3c7190583aadf598f579deb73adda9056f3300c28291006eb03
|