📦 QUEUE
USAGE
Installation
pip install queus
Usage example
import asyncio
from Queue.functions import Queue
from Queue.functions import Queues
queue = Queue(workers=1)
async def runtask():
print("Processing....")
await asyncio.sleep(10)
async def main():
tasks = ["Task01", "Task02"]
for task in tasks:
await queue.add(task)
await queue.queue(task)
await runtask()
"""
await queue.remove(task)
OR
await Queue.remove(task)
"""
asyncio.run(main())
Metadata
Release files for queus 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| queus-0.0.5.tar.gz | 3.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| queus-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.6 kB
Release files / queus-0.0.5.tar.gz
| Download URL | queus-0.0.5.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42aadf18ff53ea7e88062830e8ab19a3880e21e19f2ca1005a064e7c741fd8a4
|
|
BLAKE2b-256 checksum How to use checksums |
0307b80323a3443f6d5b195441c088b5aacb93be790ab2014b05522038b723a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / queus-0.0.5-py3-none-any.whl
| Download URL | queus-0.0.5-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
22be70d3c1761dc3b9cff57c2fac1e03fcd530b2a6cef8e9a73af6dca83bd16f
|
|
BLAKE2b-256 checksum How to use checksums |
d762abb2471d3d169f94e8b2d479235a655dfb01e3760e098926c60cfbc2714d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for queus 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.