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

Uploaded Python 3

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

Hashes for queus-0.0.2b10.tar.gz
Algorithm Hash digest
SHA256 88e581fad23c409a6493c00e4e0d5966e973020ba540a0cc702a3c82fc27f9df
MD5 dcf8c21e32df204191946e98ef8646f3
BLAKE2b-256 d8686a3f36db188c7d296df69d7480059a68c7bd66a8a178be3d800fbeea3d0c

See more details on using hashes here.

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

Hashes for queus-0.0.2b10-py3-none-any.whl
Algorithm Hash digest
SHA256 d69c9a7f89fd7d44cc8cd9ba4ed5a57acad6953eb195e35e60dfe0c44c902ec4
MD5 a08829397e33c8add06cdce299160a1c
BLAKE2b-256 6103118a66db5c81c8081602338436279025d996e36042b2f8af8e4299666b1d

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