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.2.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.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: queus-0.0.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for queus-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6ab732beaa31aa046e98cd64041b0f48dbb0f7dc52936cebe0551000b10d8bec
MD5 e9b6e1c71d4edd7f42faa1d404edaafc
BLAKE2b-256 9a4d8807562bc5538ac77bd46a3282b14fe49a5221d3a3d0735fef5d882a4ae2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for queus-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 436f937bb81ff29e2f4e89a550b5cb82d0dd2815b1c67cf23dda28ccdfd2e2ff
MD5 161bbca2ddda28f9bf51e4772dda98f8
BLAKE2b-256 c8a17c545f50993ab75a3458f6104af32525d2ddacf288725a270ad0af38a345

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