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.2b10.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.2b10.tar.gz.
File metadata
- Download URL: queus-0.0.2b10.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 |
88e581fad23c409a6493c00e4e0d5966e973020ba540a0cc702a3c82fc27f9df
|
|
| MD5 |
dcf8c21e32df204191946e98ef8646f3
|
|
| BLAKE2b-256 |
d8686a3f36db188c7d296df69d7480059a68c7bd66a8a178be3d800fbeea3d0c
|
File details
Details for the file queus-0.0.2b10-py3-none-any.whl.
File metadata
- Download URL: queus-0.0.2b10-py3-none-any.whl
- Upload date:
- Size: 4.1 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 |
d69c9a7f89fd7d44cc8cd9ba4ed5a57acad6953eb195e35e60dfe0c44c902ec4
|
|
| MD5 |
a08829397e33c8add06cdce299160a1c
|
|
| BLAKE2b-256 |
6103118a66db5c81c8081602338436279025d996e36042b2f8af8e4299666b1d
|