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.3

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ratelimitedqueues-0.0.3.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.tar.gz
Algorithm Hash digest
SHA256 bf10abd457e862958dd1866c916d17fa648188249eb9c5a138f83f15677ffb25
MD5 9166a4780664942422fede7f136e661c
BLAKE2b-256 9e8247578c395de466ae6d21d8610fabc86ed83552c17b835891ca03e6d52307

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rateLimitedQueues-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c82eb9c8d4ac0dff3093068f5afc6f427863cb89902ef5b83753a3fdd67fd08a
MD5 afff83b412640b5e39743e1a1e9574c1
BLAKE2b-256 9e54173e5e8ad4867958f4e9a999f44921fdafe0239f3beac913b41f003af608

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