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.2b8.tar.gz
(2.8 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.2b8.tar.gz.
File metadata
- Download URL: queus-0.0.2b8.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01f20370fa32c93df29033b65370b0eb6b244802c1acaec78b56a336d37ab3f7
|
|
| MD5 |
eb6050d9afed8ca062b2838b53b7b31d
|
|
| BLAKE2b-256 |
939bc5e6035b8332aaa5418bee97b44bc26439966546d72bb80cbcb3b10e2744
|
File details
Details for the file queus-0.0.2b8-py3-none-any.whl.
File metadata
- Download URL: queus-0.0.2b8-py3-none-any.whl
- Upload date:
- Size: 3.9 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 |
e89f56614f447f9840e22d7306ca20843af875d35425c88a04f437424a831be6
|
|
| MD5 |
df428f6f7519761b769126aa6bd80634
|
|
| BLAKE2b-256 |
963b66be62c30b8b09e68fb4507524738d6349060c4313e18244d110bb63addd
|