Skip to main content

Python queue

Project description

📦 QUEUE

telegram badge telegram badge telegram badge

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


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.2b9.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

queus-0.0.2b9-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file queus-0.0.2b9.tar.gz.

File metadata

  • Download URL: queus-0.0.2b9.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

Hashes for queus-0.0.2b9.tar.gz
Algorithm Hash digest
SHA256 e70b0bf91d51404112be8ab82edef317a644c8dc07d1abe70a6ed00a32deb493
MD5 f6563ad79f3aec484aa18dcf4c445020
BLAKE2b-256 552454947915636f7b575cf7ace37a2778d99f3325d8b425048383fadc5f0a2a

See more details on using hashes here.

File details

Details for the file queus-0.0.2b9-py3-none-any.whl.

File metadata

  • Download URL: queus-0.0.2b9-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

Hashes for queus-0.0.2b9-py3-none-any.whl
Algorithm Hash digest
SHA256 f180eb53fafae63d3ec70f7bb76c7e73a7d7892cc43d7ad2c83d87783aa3b9d3
MD5 b2d8447ef4d5dca99e592ebc14f5ee26
BLAKE2b-256 5200f81c8b6f59cbd2e238e6e91028609d39fbe1f95ca7c85baa1340b6ef8abb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page