Skip to main content

A well maintained program to execute functions in queue as if only 1 worker is executing them one by one (High priority first). Works wonders when a series of time consuming tasks has to be performed but they need to be in sequence.

Project description

rateLimitedQueues v0.0.3rev1

pip install rateLimitedQueues --upgrade


A well maintained program to execute functions in queue as if only 1 worker is executing them one by one (High priority first). Works wonders when a series of time consuming tasks has to be performed but they need to be in sequence.


To install:

pip install rateLimitedQueues --upgrade
pip3 install rateLimitedQueues --upgrade
python -m pip install rateLimitedQueues --upgrade
python3 -m pip install rateLimitedQueues --upgrade



Using this program is as simple as:

from rateLimitedQueues import RateLimitedQueues

rateLimiter = RateLimitedQueues()

def mainFunction(n, *args, **kwargs):
    sleep(1)
    print(args, kwargs)

def postFunction(*args, **kwargs):
    sleep(1)
    print(args, kwargs)

for i in range(10):
    rateLimiter.queueAction(mainFunction=mainFunction, executeMainInThread=True, executePostInThread=True, 
    postFunction=postFunction, postArgs=(i,), postKwArgs={i: i**2}, n=i)


This project is always open to suggestions and feature requests.

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

ratelimitedqueues-0.0.3.post1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

rateLimitedQueues-0.0.3.post1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file ratelimitedqueues-0.0.3.post1.tar.gz.

File metadata

  • Download URL: ratelimitedqueues-0.0.3.post1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for ratelimitedqueues-0.0.3.post1.tar.gz
Algorithm Hash digest
SHA256 708a5d641dfad8641dd842896946ed048430a627271f69449471cc1b280b1d65
MD5 04e848cfd0d470b9fd80aad4671bc07b
BLAKE2b-256 399a501156097c3a89ce9ee3fb96b06b65d9bc5e3e3b5506fc044c44c7aa555c

See more details on using hashes here.

File details

Details for the file rateLimitedQueues-0.0.3.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for rateLimitedQueues-0.0.3.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 de3889fb303e20dcbcd09dbc01130f90d1b772972aca57d79ecf4fb5e1325ca6
MD5 8703d3f2039a704f8272d5a8963f739e
BLAKE2b-256 12f50da4b6a4da177b6b7e0a21fe26e3fcd272dd422c4558aecf0cac98652c2e

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